LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-11-2004, 10:37 AM   #1
crowl
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Rep: Reputation: 0
notwork card do not work after updating kernel


I have installed debian woody (kernel 2.2-20) and all work fine.

In order to get iptables work, I have update my kernel to 2.4.18-bf2.4.

Now, my networkkart do not work :-(

with kernel 2.2-20 ifconfig shows:

eth0 Link encap:Ethernet HWaddr 00:50:BF:9C:E7:4B
inet addr:172.19.2.1 Bcast:172.19.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4156 errors:0 dropped:0 overruns:0 frame:0
TX packets:3545 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5638476 (5.3 MiB) TX bytes:275636 (269.1 KiB)
Interrupt:11 Base address:0xb800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

With the new kernel eth0 is missing. Is this a driver issue? How can I get this to work?

Please bear with me, I am not familiar with kernel an compiling. But I hope I can learn from you. Thanks for your assistance.
 
Old 06-13-2004, 06:10 AM   #2
crowl
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Original Poster
Rep: Reputation: 0
Nobody can help me?

I'm using debian, and I assume this is a basic linux question. Hope that someone can assistance me.

Thanks in advance.
 
Old 06-13-2004, 07:23 AM   #3
eccles23
Member
 
Registered: Jun 2003
Location: Australia
Distribution: Gentoo/kernel 2.6.2
Posts: 45

Rep: Reputation: 15
My suggestion is this...

if you still have your old kernel set up as "Linux.old" which is the default when you have compiled a new kernel...
do:

grep eth0 /etc/modules.conf.old

this *should* give you a line like:

alias eth0 <module name>

so you should get to see the name of the module the old kernel was loading for the network card (which it called eth0).

once you know that you can do:

grep <module name> /usr/src/<old kernel source dir>/drivers/net/Makefile

and the *easiest* way in the world for you to fix this up is to simply copy that line into the Makefile in your new kernel source. (but make sure that the line does exist and is just one single line first)

ie:

grep <module name> /usr/src/<old kernel source dir>/drivers/net/Makefile >> /usr/src/<new kernel source dir>/drivers/net/Makefile

NOTE THAT THE REDIRECTION IS ">>" AND NOT ">". the first one tells it to APPEND to the file, the second tells it to clobber (overwrite) it!!!

alternatively, just do a 'make menuconfig' and pick the module under network cards (10/100)

so there you go, you should be ok with that I think, unless the module isn't aliased in your modules.conf or whatever.
in that case just use dmesg, or else boot into the old kernel and try 'lsmod' to see a module listing.

good luck

(and P.S. please don't flame me for telling someone to mess with their kernel source files like that - if he/she does it properly it should be fine.)

Last edited by eccles23; 06-13-2004 at 07:24 AM.
 
Old 06-14-2004, 06:30 AM   #4
crowl
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Original Poster
Rep: Reputation: 0
eccles23,

thank for your assistance.

No case work for me. But I figured out that it seems that is not only a network problem. So, I assume it is not depended on hardware, therefore I will ask for help in a new thread.
 
  


Reply


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
Modem doesn't work after updating the kernel Hungry ghost Linux - Hardware 5 04-25-2005 02:29 PM
notwork card is not working with kernel 2.4.18-bf2.4 crowl Linux - Networking 3 06-15-2004 06:50 AM
how to compile 2.6.5 kernel to get 3com 3crwe154a72 wlan pc card to work c0smo Linux - Wireless Networking 2 05-03-2004 08:01 AM
Network card unable to work after compling kernel! daren Linux - Networking 16 05-13-2003 06:47 PM
Some programs don't work after updating the kernel via up2date ferrantepunto Linux - General 2 12-24-2002 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:19 AM.

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