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.
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.
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)?
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..."
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
SIOCSIFBRDADDR: No such device
eth0: unknown interface: No such device
SIOCSIFNETMASK: No such device
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
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.
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
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