Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I tell what module for eth0?[solved]
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
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1353

PostPosted: Mon Jan 16, 2006 7:06 am    Post subject: How do I tell what module for eth0?[solved] Reply with quote

Yes it is the dark of winter here in Oregon and I have nothing better to do than to atempt to install gentoo on a Imac (rev B ithink) 233mhz
G3 Machine ID 406, video memory 6mb built in memory 64mb.
FYI When I recieved it the ethernet was not working on OS 8.6 I spent about 20 min trying unsuccessfully to get it to connect to my DHCP server.
FYI I have never used a mac with anything but osX and darwin and I had no idea what to do, other than install gentoo!)
To get it to boot the live cd I booted the computer, inserted the cd, shutdown the computer, rebooted and pressed
Code:
apple + option + o + f

then I got yaboot
at boot:
I entered
Code:
video=ofonly:800x600@95
(like the manual sugests)
It dident like that so I just pressed enter at the boot prompt (should I have specified a kernel?)
It booted nicely with no errors on first try
it is the minimal install cd
No eth0 decteted or set up
running ifconfig just shows local loop back.
I have no idea what chipset they use for the ethernet, and the lights where the imac is pluged in on my router are blinking?
I searched apples specifications website and found no info on the chip set used for ethernet.
the ethernet ID is 0005029f34c8
I did a
Code:
ls /lib/modules/'uname -r'/kernel/drivers/net
(like the manual says for manual net config) and got file not found errors. after ls ing around I finaly did a
Code:
ls /lib/modules/2.6.12-gentoo-r6-ppc32/kernel/drivers/net
there was also a power book option for a kernel but I think that 2.6.12-gentoo-r6-ppc32 is right, right??
I got a nice list, I crawled all over apples website, the web, google, forums, thoes dam email forums that never have followups, and all elce --to no avail I cannot determine what module to load? well I am bord not frustrated, but i realise there is no searchable database of modules and what they do. -- is there?
Now for fun:
I tried random good seeming modules usiing
Code:
modprobe

an
Code:
lspci
gives me
Code:
 0000:00:00.0 Host Bridge : Motorola mpclor [grackle] rev 40
0000:00:10.0 class ff00: Apple comuter inc. Paddington mac i/o

and it continues with usb and vga but no eth0.
to make things stranger after going modprobe probe happy
I now have these
Code:
lsmod

Code:

Module ......... usedby
pcnet32           0
depca              0
ppp_generic      1 bsd_comp
slhc                 1 ppp_generic
bmac               0
b44                  0
3c509              0
tulip                 0
starfire            0
mii                  3 pcnet32,b44,starfire
sungem           0
sungem           0
sungem_phy    1 sungem

now I
Code:
net-setup eth0

and I
Code:
ifconfig

and I get
Code:
Link encap:Ethernet Hwaddr 00:05;02:4b:28:BD
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 METRIC:1
RX packets: 0 errors: 5 droped: 5 Overruns: 0 frame: 5
TX packets: 20 errors: 0 dropped:0 overruns:0 carrier:0
Collisions: 0 Txquelen:1000
RX bytes: 0 (0.0) TX bytes: 8644 (8.4kb)
interrupt:42 base address:ox4000


any ideas?
thanks for your time


Last edited by turtles on Tue Jan 17, 2006 7:54 am; edited 1 time in total
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1353

PostPosted: Mon Jan 16, 2006 7:36 am    Post subject: Half solved it Reply with quote

Well a lan cable was the culprit for the errors and blinking light on the hub and I seem to be on the net.
Blinking lights on a hub are just soo suspicius.

However my question is how do I determine what module is proper for a mac when it is not auto decteted? Other commands than lspci? am I not getting it from the output above?
Then when I know the device name where can one search for a match becides the ls ing around thing?
I never would have just loaded random modules on a production gentoo box ----or can you?
couldent it crash it or not be the right one?
cheers
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Jan 16, 2006 5:16 pm    Post subject: Reply with quote

Quote:
However my question is how do I determine what module is proper for a mac

Well, you search the forums and use google to find out. Or some friendly person will tell you (just this once) you want the sungem module in this case.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jan 16, 2006 5:32 pm    Post subject: Reply with quote

The correct module for your iMac is bmac, I'll add this to the FAQ.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
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