Isaac Whatever

I'm making this up.

Thursday, February 15, 2007

 

Gentoo linux and tulip network card problem

Gentoo linux forms the base of my "networked inventory control appliance", so I've been installing Gentoo on a number of older PCs we have lying around.

Older PCs are great for this project because it doesn't require much in the way of computing power, and they're cheap and generally well-supported in linux.

I expected that installing Gentoo on an old Dell Dimension 2100 would be a simple process, but this dell has a network card that has been causing me some trouble.

Lspci reports the card as "Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)". The Gentoo boot disc loads both the tulip and dmfe modules, and seems to work perfectly fine.

When configuring the kernel myself I chose the driver which corresponded to the tulip module, listed in menuconfig as "DECchip Tulip (dc2114x) PCI support". I thought that since the lspci showed the card as 21x4x that "2114x" would probably work, and the Gentoo boot/install disc is usually spot on in its driver choices.

And it did, for about 30 seconds after a reboot. Then it quit. I could get it working for another 30 second spurt by unplugging the LAN cable and plugging it back in.

I started the Google-Fu and found this thread on the ubuntu forums where they advised blacklisting the tulip module and loading only the dmfe.

Going back through menuconfig I turned off my earlier option (DECchip Tulip (dc2114x) PCI support) and instead picked "Davicom DM910x/DM980x support". This choice corresponds to the dmfe module. Then I recompiled the kernel and rebooted.

Did it work? Well, partially. I lost my connection for a bit after a reboot, but it does work fine most of the time now. I suppose I'll use it as a testing machine and keep my eye out for a salvageable NIC.

To recap, for anyone who finds this site looking for the solution to the same problem...
System:
Problem:
Solution (for those like me, who want the driver in the kernel, not a module):
  1. In menuconfig, deselect the other tulip related drivers.
  2. Use the option for "Davicom DM910x/DM980x support".
  3. make && make modules_install
  4. cp arch/i386/boot/bzimage to /boot/{your kernel}
  5. adjust grub if necessary
  6. reboot
Of course, if you'd like it as a module, use the excellent howto on the ubuntu forums . And remember, you might need to unload and reload that module twice for it to work.

Really, you should probably just go get a new NIC.

Labels: , , ,






<< Home

Archives

May 2004   June 2004   July 2004   September 2004   October 2004   November 2004   February 2005   March 2005   April 2005   May 2005   June 2005   August 2005   September 2005   October 2005   November 2005   December 2005   January 2006   April 2006   July 2006   September 2006   October 2006   February 2007   March 2007   April 2007   May 2007   November 2007   December 2007   January 2008   February 2008   March 2008   April 2008   May 2008   June 2008   July 2008   August 2008   October 2008   November 2008   December 2008   April 2009   January 2010   December 2010   January 2012   February 2012   March 2012   May 2012   September 2012   October 2013   January 2014   December 2014   April 2022  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]