LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   'eth0 does not seem to be present" : RHEL 5 suddenly fails to recognize eth0 (https://www.linuxquestions.org/questions/linux-networking-3/eth0-does-not-seem-to-be-present-rhel-5-suddenly-fails-to-recognize-eth0-626550/)

linaru 03-08-2008 01:45 AM

'eth0 does not seem to be present" : RHEL 5 suddenly fails to recognize eth0
 
Hello,
I've been facing a weird problem lately. one of my lan machines - RHEL server 5- which was doing fine til yesterday-being able to ping, connect and internet- suddenly does not recognize any ethernet card, after one shutdown. no ping is possible. i checked my network - configurn files; everything seems properly configured. whenever i try
# service network restart
the following error comes up:
Bringing up interface eth0: e100 device eth0 does not seem to be present, delaying initialization. [FAILED]

i tried ifup eth0, but the same message again appears.
Any help will be highly appreciated.
thanks.

Peacedog 03-08-2008 08:51 AM

Hi linaru, Welcome to lq. Have you checked to see if the modules are loaded?
Good luck. ;-)

linaru 03-10-2008 03:09 AM

Thanks Peacedog! Regarding the command to check the modules, which one was it? I'm still not familiar with all the networking commands.

Peacedog 03-10-2008 06:59 AM

Post the output from the following please.

Code:

/sbin/lspci -v
/sbin/lsmod
/sbin/ifconfig -a
/sbin/route -n
dmesg | grep eth

Good luck. ;-)

linaru 03-13-2008 04:22 AM

lspci output
00:00.0 Host bridge: Broadcom CNB20LE Host Bridge (rev 06)
Flags: bus master, medium devsel, latency 64

00:00.1 Host bridge: Broadcom CNB20LE Host Bridge (rev 06)
Flags: bus master, medium devsel, latency 64

00:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Compex FN22-3(A) LinxPRO Ethernet Adapter
Flags: bus master, medium devsel, latency 64, IRQ 177
I/O ports at 2400 [size=256]
Memory at c6ffff00 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 20160000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2

00:02.0 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)
Subsystem: Compaq Computer Corporation Compaq 64-Bit/66MHz Dual Channel Wide Ultra3 SCSI Adapter
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 169
BIST result: 00
I/O ports at 2800 [disabled] [size=256]
Memory at c6ffe000 (64-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at 20100000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2

00:02.1 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)
Subsystem: Compaq Computer Corporation Compaq 64-Bit/66MHz Dual Channel Wide Ultra3 SCSI Adapter
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 169
BIST result: 00
I/O ports at 2c00 [disabled] [size=256]
Memory at c6ffd000 (64-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at 20120000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2

00:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
Subsystem: Compaq Computer Corporation NC3163 Fast Ethernet NIC (embedded, WOL)
Flags: bus master, medium devsel, latency 64, IRQ 185
Memory at c6ffc000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 3000 [size=64]
Memory at c6e00000 (32-bit, non-prefetchable) [size=1M]
[virtual] Expansion ROM at 20000000 [disabled] [size=1M]
Capabilities: [dc] Power Management version 2

00:05.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) (prog-if 00 [VGA])
Subsystem: Compaq Computer Corporation Proliant Rage XL
Flags: bus master, stepping, medium devsel, latency 64, IRQ 15
Memory at c5000000 (32-bit, non-prefetchable) [size=16M]
I/O ports at 3400 [size=256]
Memory at c4fff000 (32-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at 20140000 [disabled] [size=128K]
Capabilities: [5c] Power Management version 2

00:06.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller
Subsystem: Compaq Computer Corporation Unknown device b0f3
Flags: medium devsel, IRQ 15
I/O ports at 1800 [size=256]
Memory at c4ffef00 (32-bit, non-prefetchable) [size=256]

00:0f.0 ISA bridge: Broadcom CSB5 South Bridge (rev 92)
Subsystem: Broadcom CSB5 South Bridge
Flags: bus master, medium devsel, latency 32

00:0f.1 IDE interface: Broadcom CSB5 IDE Controller (rev 92) (prog-if 8a [Master SecP PriP])
Subsystem: Broadcom CSB5 IDE Controller
Flags: bus master, medium devsel, latency 64
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at 2000 [size=16]
I/O ports at 0a00 [size=4]

00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 05) (prog-if 10 [OHCI])
Subsystem: Broadcom OSB4/CSB5 OHCI USB Controller
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at c4ffd000 (32-bit, non-prefetchable) [size=4K]

00:0f.3 Host bridge: Broadcom CSB5 LPC bridge
Subsystem: Broadcom CSB5 LPC bridge
Flags: bus master, medium devsel, latency 0

lsmod

Module Size Used by
vfat 15809 1
fat 51037 1 vfat
nls_utf8 6209 0
hfsplus 76101 0
autofs4 23749 2
hidp 23105 2
rfcomm 42457 0
l2cap 29505 10 hidp,rfcomm
bluetooth 53925 5 hidp,rfcomm,l2cap
sunrpc 142973 1
ip6t_REJECT 9409 1
xt_tcpudp 7105 6
ip6table_filter 6849 1
ip6_tables 18181 1 ip6table_filter
x_tables 17349 3 ip6t_REJECT,xt_tcpudp,ip6_tables
video 19269 0
sbs 18533 0
i2c_ec 9025 1 sbs
button 10705 0
battery 13637 0
asus_acpi 19289 0
ac 9157 0
ipv6 251137 15 ip6t_REJECT
lp 15849 0
floppy 57125 1
sg 35933 0
e100 36809 0
8139cp 26305 0
8139too 28737 0
mii 9409 3 e100,8139cp,8139too
pcspkr 7105 0
i2c_piix4 12109 0
i2c_core 23745 2 i2c_ec,i2c_piix4
cfi_probe 10817 0
gen_probe 7617 1 cfi_probe
scb2_flash 8525 0
mtdcore 9989 1 scb2_flash
chipreg 7361 2 cfi_probe,scb2_flash
serio_raw 10693 0
parport_pc 29157 1
parport 37513 2 lp,parport_pc
ide_cd 40033 0
cdrom 36705 1 ide_cd
dm_snapshot 20581 0
dm_zero 6209 0
dm_mirror 29713 0
dm_mod 56537 8 dm_snapshot,dm_zero,dm_mirror
aic7xxx 133109 2
scsi_transport_spi 26177 1 aic7xxx
sd_mod 22977 3
scsi_mod 130637 4 sg,aic7xxx,scsi_transport_spi,sd_mod
ext3 123081 2
jbd 56553 1 ext3
ehci_hcd 32845 0
ohci_hcd 23261 0
uhci_hcd 25421 0

ifconfig -a

__tmp133754880 Link encap:Ethernet HWaddr 00:02:A5:EA:88:F8
BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

eth1 Link encap:Ethernet HWaddr 00:C1:26:0F:9A:D6
BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0xaf00

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:1519 errors:0 dropped:0 overruns:0 frame:0
TX packets:1519 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2298036 (2.1 MiB) TX bytes:2298036 (2.1 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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)


route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

dmesg | grep eth

eth0: RealTek RTL8139 at 0xd088af00, 00:c1:26:0f:9a:d6, IRQ 177
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
e100: eth1: e100_probe: addr 0xc6ffc000, irq 185, MAC addr 00:02:A5:EA:88:F8

kvamc 03-13-2008 09:57 AM

Hi Linaru,

Can you please paste the output of the following command

cat /etc/sysconfig/network-scripts/ifcfg-eth0

Cheers
Vamsi

Peacedog 03-13-2008 05:18 PM

May have found a workaround here. After some reading/googling it appears to be a bug. I'd check the Redhat/Fedora bugzillas to see if it's been resolved. Until then the above post in the Fedora forums seems to be working for some.
Good luck. ;-)

linaru 03-14-2008 03:42 AM

Quote:

Originally Posted by kvamc (Post 3087391)

Can you please paste the output of the following command

cat /etc/sysconfig/network-scripts/ifcfg-eth0

the output from that caommand is:

# Broadcom Corporation NetXtreme BCM5702X Gigabit Ethernet
DEVICE=eth0
BOOTPROTO=static
IPADDR=125.20.82.35
NETMASK=255.255.255.240
HWADDR=00:0B:CD:1B:9B:C4
ONBOOT=yes
GATEWAY=125.20.82.33

Peacedog 03-14-2008 07:01 AM

linaru, You should edit that to remove the ip's and mac.
Good luck. ;-)


All times are GMT -5. The time now is 12:39 AM.