Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-07-2004, 11:36 AM   #1
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Rep: Reputation: 30
Please help to troubleshoot network problem after a kernel upgrade

I did a kernel upgrade from Debian 3.0 default kernel to 2.4.25. I have included the NIC driver as modules during make xconfig. However, I've included EtherExpress Pro100 driver during kernel customization.

1) When I did a ifconfig, only the lo (loopback device) is shown.

2) When I did a 'ifconfig eth0 up', it says:
eth0: ERROR while getting interface flag: No such device

3) No entry is shown when I did 'dmesg |grep eth0'

All the network settings are correct in /etc/network/interfaces file. IP address, mask, gateway are still there.

Please advise...

Thank you very much !
Old 04-07-2004, 12:23 PM   #2
Registered: Mar 2004
Location: Australia
Distribution: Debian, Ubuntu
Posts: 55

Rep: Reputation: 15
try: "modprobe <nicmodule>"
then: "ifconfig -a"
if eth0 pops up, run: "/etc/init.d/networking restart"
"echo <nicmodule> >> /etc/modules" to load module on boot.

Last edited by sims; 04-07-2004 at 12:25 PM.
Old 04-07-2004, 06:50 PM   #3
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Original Poster
Rep: Reputation: 30
Thanks, that works perfectly

I post this in another thread, but thought that it is relevant to what we're discussing.

During the kernel customisation (make xconfig), I have Kernel Module Loader installed, which should load modules automatically as and when they are needed. I have a NIC that requires pcnet32.o to work and this driver is compiled as a module to the kernel. However, on bootup, this required module is not automatically loaded.

Although it does work after I manually added the module to /etc/modules, I'm curious as to why it wasn't automatically loaded by the Kernel Module Loader during bootup.

Thanks again !

Originally posted by sims
try: "modprobe <nicmodule>"
then: "ifconfig -a"
if eth0 pops up, run: "/etc/init.d/networking restart"
"echo <nicmodule> >> /etc/modules" to load module on boot.
Old 04-07-2004, 06:53 PM   #4
Registered: Mar 2004
Location: Canada. The Great white north.
Distribution: Debian Sid
Posts: 183

Rep: Reputation: 30
Networking is usually one of those things you make statically into the kernel, unless its PCMCIA or somthing. Of course, thats not a hard and fast rule, just a rule of thumb for newbies. (Remember that all these threads are searchable, so makes sure to give solutions. I've been seeing people who are saying "Got it. " and leaving it at that.)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
troubleshoot kernel freeze michal017 Linux - Software 6 11-01-2005 10:34 AM
How to troubleshoot this? Unable to handle kernel paging request black hole sun Linux - Software 1 08-17-2004 12:51 AM
Kernel 2.6.6 upgrade - network connectivity problem Moonman Linux - General 5 06-19-2004 11:41 AM
Kernel upgrade, still no network Ook Slackware 2 04-10-2004 12:05 PM
Network Card problem after Kernel Upgrade oulevon Linux - General 2 11-20-2002 05:44 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration