Kernel upgrade from 2.2 to 2.6.8, lost network card/functionality
Hi there - I have a server box that was running Debian sarge until very recently, until a routine aptitude upgrade accidentally started the upgrade to etch. The upgrade couldn't go through, as my kernel was still 2.2 something, so I downgraded by pinning sources and went back to sarge. However I'd like to move up to etch, so once I was happy the box was running correctly with sarge again, I installed kernel-image-2.6-686. After putting initrd into my lilo.conf, installing the kernel and rebooting, on startup, ifup complained about eth0, and indeed I have no network connectivity any more. The output from ifup eth0 looks like:
Code:
sit0: unknown hardware address type 776 Code:
0000:00:0e.0 Ethernet controller: Macronix, Inc. [MXIC] MX987x5 (rev 25) |
Try to load the driver manually (as root):
modprobe tulip Do you get an error? |
No, in fact once I've run modprobe tulip, the device is detected and I can bring up the network with ifup and dhclient. The vital bits of information I was missing were: 1) tulip is the generic driver which supports my network card, and 2) use modconf to install modules and have them persist when you reboot.
My apologies for posting such a simple question - it's been a long time since my initial installation from CD (the last time I would have run modconf probably - as part of the install), and I haven't had to tinker with it since - which is as it should be! Anyway, I hope this thread proves useful as a quick tip to others like me who run into this while upgrading. To summarise: lost functionality because upgrading the kernel meant that the drivers for the network device were no longer loaded. To fix, use modprobe and/or modconf to select drivers appropriate for the device, then reboot. Simple! |
Adding the driver to /etc/modules.conf should help in this case.
|
All times are GMT -5. The time now is 05:45 AM. |