LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   eth0 does not start (neither startup nor ifup...) (https://www.linuxquestions.org/questions/linux-newbie-8/eth0-does-not-start-neither-startup-nor-ifup-885438/)

danndp 06-09-2011 10:58 AM

eth0 does not start (neither startup nor ifup...)
 
hello,

I'm having a weird problem, eth0 does not start neither on bootup nor ifup...not even issuing /etc/init.d/networking restart...

i will show you some info just to check if you can help

Quote:

dmesg | grep eth
eth0: (PCI Express:2.5GB/s:Width x4) 00:26:55:e6:15:45
eth0: Intel(R) PRO/1000 Network Connection
eth0: MAC: 0, PHY: 4, PBA No: d98771-008
eth1: (PCI Express:2.5GB/s:Width x4) 00:26:55:e6:15:44
eth1: Intel(R) PRO/1000 Network Connection
eth1: MAC: 0, PHY: 4, PBA No: d98771-008
eth2: (PCI Express:2.5GB/s:Width x4) 00:26:55:e6:15:47
eth2: Intel(R) PRO/1000 Network Connection
eth2: MAC: 0, PHY: 4, PBA No: d98771-008
eth3: (PCI Express:2.5GB/s:Width x4) 00:26:55:e6:15:46
eth3: Intel(R) PRO/1000 Network Connection
eth3: MAC: 0, PHY: 4, PBA No: d98771-008
eth4: Tigon3 [partno(BCM95754) rev 5784100 PHY(5784)] (PCI Express) 10/100/1000Base-T Ethernet 78:ac:c0:b3:77:d4
eth4: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
eth4: dma_rwctrl[76180000] dma_mask[64-bit]
ADDRCONF(NETDEV_UP): eth1: link is not ready
ADDRCONF(NETDEV_UP): eth2: link is not ready
ADDRCONF(NETDEV_UP): eth3: link is not ready
ADDRCONF(NETDEV_UP): eth4: link is not ready
Quote:

# ifup eth0
e1000e device eth0 does not seem to be present, delaying initialization.
Quote:

# /etc/init.d/network restart
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: e1000e device eth0 does not seem to be present, delaying initialization.
[FAILED]
Quote:

# cat /etc/modprobe.conf
alias eth0 e1000e
alias eth1 e1000e
alias eth2 e1000e
alias eth3 e1000e
alias eth4 e1000e
alias scsi_hostadapter ahci
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel
alias dev24760 tg3
Hope you can help!

flakblas 06-09-2011 01:48 PM

What distro and version are you using? Can you post the contents of /etc/sysconfig/network-scripts/ifcfg-eth0 (if your system has that file?) Thanks.

mesiol 06-09-2011 03:02 PM

First you should check why you load e1000e driver on eth4 which is not an intel card, possibly this creates some wired problems in device names.

danndp 06-10-2011 02:58 AM

Quote:

Originally Posted by flakblas (Post 4381227)
What distro and version are you using? Can you post the contents of /etc/sysconfig/network-scripts/ifcfg-eth0 (if your system has that file?) Thanks.

Hi, thanks for the answer, following the content of my /etc/sysconfig/network-scripts/ifcfg-eth0

Quote:

# Broadcom Corporation NetXtreme BCM5764M Gigabit Ethernet PCIe
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=no


---------- Post added 06-10-11 at 02:59 AM ----------

Quote:

Originally Posted by mesiol (Post 4381279)
First you should check why you load e1000e driver on eth4 which is not an intel card, possibly this creates some wired problems in device names.

I'm not sure why is this, i never changed the contents of modprobe.conf...so i've no idea how to check this...

mesiol 06-10-2011 12:21 PM

Possibly the device order has changed for some reason(changing PCI slot of a card or replacing a card by another model). The first line of your ifcfg-eth0 states "Broadcom ....." which is not an e1000 card. This comment was added during installation,so it seems something has changed.

Check /etc/modprobe.conf and edit the file as required. Load the drivers for the devices as required. Recheck if network works.

whk 06-11-2011 11:50 AM

Also, try this:

modprobe -r tg3
modprobe broadcom
modprobe tg3

Then: dmesg | grep eth

At the tail see if you receive this:

tg3: eth0: Link is down.
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is on for TX and on for RX.

Though eth0 might be ethX.

I have this:

/etc/init.d/network.sh restart
ifconfig eth0 up

You might have a different file.

BTW, You should first clear all the other junky configs. And heed what the gurus above said.

Finally, I like to try it out on a live CD.
hth && gl

danndp 06-13-2011 09:56 AM

Quote:

Originally Posted by whk (Post 4382736)
Also, try this:

modprobe -r tg3
modprobe broadcom
modprobe tg3

Then: dmesg | grep eth

At the tail see if you receive this:

tg3: eth0: Link is down.
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is on for TX and on for RX.

Though eth0 might be ethX.

I have this:

/etc/init.d/network.sh restart
ifconfig eth0 up

You might have a different file.

BTW, You should first clear all the other junky configs. And heed what the gurus above said.

Finally, I like to try it out on a live CD.
hth && gl

Thanks Whk, finally i reinstall the hole system

Best Regards!


All times are GMT -5. The time now is 06:57 AM.