Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935 - Installation cd kernel hangs when loading module 3c575_cb
Summary: Installation cd kernel hangs when loading module 3c575_cb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-03 03:27 UTC by Pieter Van den Abeele
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pieter Van den Abeele 2002-03-03 03:27:10 UTC
This problem can be reproduced by:
1) boot gentoo cd (with 3com 3c575 cardbus card inserted)
2) modprobe i83**** (modprobes pcmcia_core)
   modprobe ds
3) cardmgr 
   modprobes 3c575_cb correctly, card gets recognized successfully but when 
network start eth0 is called by cardmgr the installation cd hangs.
I also tried the above with the card not inserted.
I also have a DLink DE-660 pcmcia card, this works correctly (modules 
(pcnet_cs, 8390) get loaded correctly and I can set an IP for this interface 
without any problems)
The problem is I cannot use the DE-660 for installing Gentoo because the 
ethernet connector of the card has been damaged.

I've successfully used the 3com card on Slackware Linux 8 using kernels 2.4.17 
and up (the last one I tried out was 2.4.18-pre1, which also worked fine.)

I think a possible solution might be to upgrade cardmgr to a higher version
Comment 1 Pieter Van den Abeele 2002-03-03 03:57:34 UTC
I traced down the problem to the following:
when I reproduced the problem:
1) modprobe i82365 && modprobe ds
2) cardmgr
the system would hang.
I changed the file /etc/pcmcia/network by changing the line after #!/bin/sh to 
exit 0;

When I ran step1 and step2, execution of cardmgr did not fail. However when 
running plain 'ifconfig' the system hang.

So What I did to solve the problem was: 
1) modprobe 82365
2) modprobe ds
3) change /etc/pcmcia/network as described above
4) run cardmgr
5) do not run ifconfig without args of with eth0 as arg!
6) perform the following two steps (if you're using a static IP):
   /sbin/ifconfig eth0 <your_ip> broadcast <your_broadcast> netmask <255.0.0.0>
   /sbin/route add -net default gw <yourgateway> netmask <your_netmask> metric 1
   If you are using a dynamic IP, run: dhcpcd eth0
7) and continue the installation by setting up /etc/resolv.conf 

happy gentoo :-)

Note to system maintainers: Are those files (/etc/pcmcia/network and 
network.opts) realy necessary? Won't it be better to replace them with files 
containing just the following:

#!/bin/sh
exit 0;

Regards Pieter Van den Abeele