Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need sungem to use eth0, no luck
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
kingLatency
n00b
n00b


Joined: 28 Sep 2002
Posts: 61
Location: Amherst, MA

PostPosted: Wed Jul 14, 2004 4:21 am    Post subject: Need sungem to use eth0, no luck Reply with quote

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.
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Wed Jul 14, 2004 7:00 am    Post subject: Reply with quote

go to /usr/src/linux and do:

Code:
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/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
kingLatency
n00b
n00b


Joined: 28 Sep 2002
Posts: 61
Location: Amherst, MA

PostPosted: Wed Jul 14, 2004 2:04 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
kingLatency
n00b
n00b


Joined: 28 Sep 2002
Posts: 61
Location: Amherst, MA

PostPosted: Wed Jul 14, 2004 3:04 pm    Post subject: Reply with quote

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)?
Back to top
View user's profile Send private message
kingLatency
n00b
n00b


Joined: 28 Sep 2002
Posts: 61
Location: Amherst, MA

PostPosted: Wed Jul 14, 2004 4:00 pm    Post subject: Reply with quote

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:
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
SIOCSIFBRDADDR: No such device
eth0: unknown interface: No such device
SIOCSIFNETMASK: No such device
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Wed Jul 14, 2004 8:08 pm    Post subject: Reply with quote

Before getting newer kernel sources, try that with eth1
Back to top
View user's profile Send private message
billbrasky
n00b
n00b


Joined: 21 May 2004
Posts: 12

PostPosted: Wed Jul 14, 2004 8:41 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
kingLatency
n00b
n00b


Joined: 28 Sep 2002
Posts: 61
Location: Amherst, MA

PostPosted: Thu Jul 15, 2004 12:42 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
billbrasky
n00b
n00b


Joined: 21 May 2004
Posts: 12

PostPosted: Thu Jul 15, 2004 2:12 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
billbrasky
n00b
n00b


Joined: 21 May 2004
Posts: 12

PostPosted: Thu Jul 15, 2004 2:41 am    Post subject: Reply with quote

Aha, someone opened a bug on this:

https://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
Back to top
View user's profile Send private message
billbrasky
n00b
n00b


Joined: 21 May 2004
Posts: 12

PostPosted: Thu Jul 15, 2004 2:47 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
kingLatency
n00b
n00b


Joined: 28 Sep 2002
Posts: 61
Location: Amherst, MA

PostPosted: Thu Jul 15, 2004 12:43 pm    Post subject: Reply with quote

I've got 3.3.3, so I guess that bug is what's affecting me. I'm going to try gentoo-dev-sources.
Back to top
View user's profile Send private message
billbrasky
n00b
n00b


Joined: 21 May 2004
Posts: 12

PostPosted: Thu Jul 15, 2004 9:21 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum