Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on PPC
  • Search

Need sungem to use eth0, no luck

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
kingLatency
n00b
n00b
User avatar
Posts: 61
Joined: Sat Sep 28, 2002 7:35 pm
Location: Amherst, MA

Need sungem to use eth0, no luck

  • Quote

Post by kingLatency » Wed Jul 14, 2004 4:21 am

When booted from the liveCD 'modprobe sungem' got eth0 up and running. Now, however, booted up from my 2.4.26-r3 system, I can't. I've tried compiling sungem builtin and as a module. When it's builtin I get an error on startup as the system puts up the network. When it's a module, I can't load it because 'modprobe sungem' gives me, "couldn't find the kernel version the module was compiled for.'

I imagine the problem lies in some config files not being updated or some symlinks that should exist but don't. However, I don't know what the actual problem is. How can I get sungem working or get eth0 working by some other method? Thanks in advance.

P.S. It might be useful to know that I get this same error attempting to modprobe any kernel modules that are available.
Top
silian87
Advocate
Advocate
User avatar
Posts: 2318
Joined: Mon Oct 06, 2003 7:12 pm
Location: Treviso, Italy
Contact:
Contact silian87
Website

  • Quote

Post by silian87 » Wed Jul 14, 2004 7:00 am

go to /usr/src/linux and do:

Code: Select all

make dep && make clean vmlinux modules modules_install
Perhaps a clean can solve your problem.
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87 ... 87-faq.txt

GTalk: silian87@gmail.com
Top
kingLatency
n00b
n00b
User avatar
Posts: 61
Joined: Sat Sep 28, 2002 7:35 pm
Location: Amherst, MA

  • Quote

Post by kingLatency » Wed Jul 14, 2004 2:04 pm

Thanks. I was actually going to read up on what each of those arguments to make does--perhaps I would have discovered that one on my own. I'll try that.
Top
kingLatency
n00b
n00b
User avatar
Posts: 61
Joined: Sat Sep 28, 2002 7:35 pm
Location: Amherst, MA

  • Quote

Post by kingLatency » Wed Jul 14, 2004 3:04 pm

I tried making again with the command you recommended. Unfortunately, I still get the same error when trying to use modprobe. Now I'll try with sungem compiled in.

What else could it be? Something about module dependencies (sungem seems to depend on sungem_phy)?
Top
kingLatency
n00b
n00b
User avatar
Posts: 61
Joined: Sat Sep 28, 2002 7:35 pm
Location: Amherst, MA

  • Quote

Post by kingLatency » Wed Jul 14, 2004 4:00 pm

I just booted with sungem compiled in. I was getting this message before, and it might be useful, but I don't know what it means. When we get to the "* Bringing eth0 up..."

Code: Select all

SIOCSIFADDR: No such device
eth0: unknown interface: No such device
SIOCSIFBRDADDR: No such device
eth0: unknown interface: No such device
SIOCSIFNETMASK: No such device
Top
stimuli
Apprentice
Apprentice
Posts: 292
Joined: Mon Dec 16, 2002 10:05 pm
Location: Dartmouth, NS, Canada
Contact:
Contact stimuli
Website

  • Quote

Post by stimuli » Wed Jul 14, 2004 8:08 pm

Before getting newer kernel sources, try that with eth1
Top
billbrasky
n00b
n00b
User avatar
Posts: 12
Joined: Fri May 21, 2004 4:57 pm

  • Quote

Post by billbrasky » Wed Jul 14, 2004 8:41 pm

I just switched my box from 2.6 to 2.4 (emerge'd ppc-sources), rebuilt and I'm getting the same error. I wonder if there's a wrong version number in the kernel source somewhere. I'll do some more digging tonight.
IBM RS/6000 43p-140 604r@233MHz Gentoo PPC32
IBM RS/6000 43p-140 604r@333MHz Gentoo PPC32
Gateway Pentium4@2.0GHz Gentoo x86
Top
kingLatency
n00b
n00b
User avatar
Posts: 61
Joined: Sat Sep 28, 2002 7:35 pm
Location: Amherst, MA

  • Quote

Post by kingLatency » Thu Jul 15, 2004 12:42 am

I may just try a newer kernel version if that'll help me get my network going. Were you also attempting to use sungem? Might I ask which package containing a 2.6 kernel it was you were using? I know there are several options-- gentoo-sources, benh, dev ppc sources, etc.

eth1 didn't work either.
Top
billbrasky
n00b
n00b
User avatar
Posts: 12
Joined: Fri May 21, 2004 4:57 pm

  • Quote

Post by billbrasky » Thu Jul 15, 2004 2:12 am

No, I have two pcnet32 cards in my box. I'm compiling them directly in right now just so I can get some network access. I still have some other modules I'll need to load.

I was using gentoo-dev-sources (2.6.7) before, but there were problems with some of my ISA bus hardware, that's why I'm going back to 2.4.X. Your mileage will vary.

(Yes, strangely enough, old RS/6000s have ISA busses on PPC boxen).
IBM RS/6000 43p-140 604r@233MHz Gentoo PPC32
IBM RS/6000 43p-140 604r@333MHz Gentoo PPC32
Gateway Pentium4@2.0GHz Gentoo x86
Top
billbrasky
n00b
n00b
User avatar
Posts: 12
Joined: Fri May 21, 2004 4:57 pm

  • Quote

Post by billbrasky » Thu Jul 15, 2004 2:41 am

Aha, someone opened a bug on this:

http://bugs.gentoo.org/show_bug.cgi?id=53371

I'm gonna try compiling a stock kernel from kernel.org and see what happens.
IBM RS/6000 43p-140 604r@233MHz Gentoo PPC32
IBM RS/6000 43p-140 604r@333MHz Gentoo PPC32
Gateway Pentium4@2.0GHz Gentoo x86
Top
billbrasky
n00b
n00b
User avatar
Posts: 12
Joined: Fri May 21, 2004 4:57 pm

  • Quote

Post by billbrasky » Thu Jul 15, 2004 2:47 am

Actually, I should read closer. It says to use gcc 3.3.2, not 3.3.3.
IBM RS/6000 43p-140 604r@233MHz Gentoo PPC32
IBM RS/6000 43p-140 604r@333MHz Gentoo PPC32
Gateway Pentium4@2.0GHz Gentoo x86
Top
kingLatency
n00b
n00b
User avatar
Posts: 61
Joined: Sat Sep 28, 2002 7:35 pm
Location: Amherst, MA

  • Quote

Post by kingLatency » Thu Jul 15, 2004 12:43 pm

I've got 3.3.3, so I guess that bug is what's affecting me. I'm going to try gentoo-dev-sources.
Top
billbrasky
n00b
n00b
User avatar
Posts: 12
Joined: Fri May 21, 2004 4:57 pm

  • Quote

Post by billbrasky » Thu Jul 15, 2004 9:21 pm

Good luck. Downgrading GCC worked for me, so if you have problems, just emerge /usr/portage/sys-devel/gcc/gcc-3.3.2-r7.ebuild, make clean in your 2.4 kernel and rebuild it.
IBM RS/6000 43p-140 604r@233MHz Gentoo PPC32
IBM RS/6000 43p-140 604r@333MHz Gentoo PPC32
Gateway Pentium4@2.0GHz Gentoo x86
Top
Post Reply

13 posts • Page 1 of 1

Return to “Gentoo on PPC”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic