LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-21-2004, 09:53 AM   #1
MaciekGoesLinux
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Rep: Reputation: 0
eth0 not working after kernel update


Hello out there,

after kernel update on my Fedora Core 3 machine, my eth0 is not working anymore (when bootinh with the old kernel - everything works fine).
On booting with the new one I get the following error (kernel update from kernel-2.6.9-1.667 to kernel-2.6.9-1.681_FC3):

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Bringing up interface eth0:
Determining IP information for eth0...PING 192.168.178.1 (192.168.178.1)
56(84) bytes of data.

--- 192.168.178.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time
2999ms
, pipe 4
PING 192.168.178.1 (192.168.178.1) 56(84) bytes of data.

--- 192.168.178.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time
2999ms
, pipe 4
failed.
[FAILED]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

My network card is ...

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

ifconfig command output is ...

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3343 errors:0 dropped:0 overruns:0 frame:0
TX packets:3343 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4174142 (3.9 MiB) TX bytes:4174142 (3.9 MiB)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

route command output ...

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
169.254.0.0 * 255.255.0.0 U 0 0 0
lo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

ifcfg-eth0 file output ...

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=yes
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
DEVICE=eth0
HWADDR=00:c0:9f:42:33:e6
BOOTPROTO=dhcp
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Any ideas how I can solve this one?
 
Old 12-21-2004, 11:57 AM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
if you type ( as root ) " #dhcpcd ", won't eth0 start-up ?
and look at " #lsmod " to see if the module for your eth-chip is loaded.

egag
 
Old 12-21-2004, 12:24 PM   #3
MaciekGoesLinux
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Hi,

sorry I am completelly new to Linux. If I try to execute dhcpcd after logging in as root I get command not found (I switched with 'su -'). Nevertheless the output of 'lsmod' is the following (I cannot see in this output whether my eth-chip is loaded, can you?):

Module Size Used by
parport_pc 24705 1
lp 11565 0
parport 41737 2 parport_pc,lp
autofs4 24005 0
i2c_dev 10433 0
i2c_core 22081 1 i2c_dev
sunrpc 160421 1
ds 16965 2
ipt_REJECT 6465 1
ipt_state 1857 2
ip_conntrack 40693 1 ipt_state
iptable_filter 2753 1
ip_tables 16193 3 ipt_REJECT,ipt_state,iptable_filter
dm_mod 54741 0
button 6481 0
battery 8517 0
ac 4805 0
md5 4033 1
ipv6 232705 8
sd_mod 16961 0
usb_storage 61321 0
scsi_mod 118417 2 sd_mod,usb_storage
joydev 8705 0
ohci1394 35033 0
ieee1394 302869 1 ohci1394
yenta_socket 18881 0
pcmcia_core 59913 2 ds,yenta_socket
uhci_hcd 31449 0
ehci_hcd 31685 0
snd_via82xx 27237 2
snd_ac97_codec 64401 1 snd_via82xx
snd_pcm_oss 47608 0
snd_mixer_oss 17217 2 snd_pcm_oss
snd_pcm 97993 2 snd_via82xx,snd_pcm_oss
snd_timer 29765 1 snd_pcm
snd_page_alloc 9673 2 snd_via82xx,snd_pcm
gameport 4801 1 snd_via82xx
snd_mpu401_uart 8769 1 snd_via82xx
snd_rawmidi 26725 1 snd_mpu401_uart
snd_seq_device 8137 1 snd_rawmidi
snd 54053 11 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,s nd_seq_device
soundcore 9889 2 snd
tg3 85573 0
ext3 116809 1
jbd 74969 1 ext3
 
Old 12-21-2004, 12:39 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
well... look at the output of " #lspci " to see how it's recognized ? ( the type...)

egag
 
Old 12-21-2004, 12:59 PM   #5
MaciekGoesLinux
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Original Poster
Rep: Reputation: 0
00:0b.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)

Is the output of 'lspci' for my network card (it is the same as under the old kernel).
 
Old 12-21-2004, 04:11 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
well...i think tg3 is your eth.-module and it's loaded.
the only thing you need is a proper dhcp-response. ( then eth0 will be configured )

that's when the command " # dhcpcd " comes in.
are you sure there's no file " /sbin/dhcpcd " ( as it stated " command not found " )
( maybe try " su " instead of " su - " )

egag
 
Old 12-22-2004, 03:21 AM   #7
MaciekGoesLinux
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Original Poster
Rep: Reputation: 0
[root@mobile2 ~]# dhcpcd
-bash: dhcpcd: command not found
[root@mobile2 ~]# /sbin/dhcpcd
-bash: /sbin/dhcpcd: No such file or directory
[root@mobile2 ~]# find /sbin -name *dhcp*
/sbin/dhcp6c
[root@mobile2 ~]# dhcp6c
usage: dhcpc [-c configfile] [-r all or (ipv6address ipv6address...)]
[-R (ipv6 address ipv6address...) [-dDIf] interface
[root@mobile2 ~]#
 
Old 12-22-2004, 03:25 AM   #8
MaciekGoesLinux
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Even if I enter static IP and the IP of my DHCP Server it is not working under the new kernel :-]
 
Old 12-22-2004, 03:55 AM   #9
MaciekGoesLinux
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I found s.th. else, that is dhclient, which reports:

[root@localhost ~]# dhclient
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/sit0/
Sending on LPF/sit0/
Listening on LPF/eth0/00:c0:9f:42:33:e6
Sending on LPF/eth0/00:c0:9f:42:33:e6
Listening on LPF/lo/
Sending on LPF/lo/
Sending on Socket/fallback
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
 
Old 12-22-2004, 06:58 AM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
well...it's rather strange that the dhcp-request gets no response with the new kernel,
but works ok with the old one ?
the config-file that's used is the same in both cases. ( as is the hardware )

when you give it a static-ip, can you ping your router or anything ?

egag
 
Old 12-22-2004, 08:48 AM   #11
MaciekGoesLinux
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Even with static IP I cannot ping anything. My router does not respond. With the old kernel everything works just fine ;-) Maybe I have to wait for new kernel release.
 
Old 12-22-2004, 08:57 AM   #12
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
yip, if the other kernel is running ok, just use that one.

btw; they are both 2.6.9-kernels, so it will not even be a real upgrade at all.

just wait for 2.6.10

egag
 
  


Reply



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
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
Intel 537 modem, not working after new kernel update (2.6.10-1.770_FC3) suro Linux - Hardware 69 06-24-2005 07:56 PM
After Online update: Hard drive working and working dacosta SUSE / openSUSE 6 11-06-2004 12:14 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
mouse wheel not working with kernel update... questionasker Linux - General 5 06-29-2004 05:20 PM

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

All times are GMT -5. The time now is 07:28 PM.

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