You are not logged in.

#1 2010-06-12 10:33:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

eth0 won't come up anymore - eth0: no link during initialization

Arch i686 has been running fine for months on my old Athlon nForce2 board.  Today, I booted and found that eth0 can't come up.  If I look at my router, there isn't a link light on for that box/same is true on the back of the box.  I know that the cable is good (tested it with my laptop). I also replaced the NIC in the box with one that I know works in another box and I get the same story.  Finally, I booted with a live Ubuntu CD and got the same problem where it couldn't use the network.

I have tried both dhcp and static modes with no change in the behavior.

When I restart the network (/etc/rc.d/network restart) I get the following two lines In /var/log/dmesg I get:

eth0: no link during initialization.
ADDRCONF(NETDEV_UP): eth0: link is not ready

Link to full /var/log/dmesg is here

$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:6E:60:D4:54  
          inet addr:192.168.0.5  Bcast:192.168.0.255  Mask:255.255.255.0
          UP 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:22 Base address:0x4000 

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:47 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3902 (3.8 Kb)  TX bytes:3902 (3.8 Kb)
$ cat /etc/rc.conf
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="US/Eastern"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(!snd_pcsp !pcspkr asb100 lirc_streamzap lirc_dev)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

HOSTNAME="lightning"

# Static IP
#eth0="eth0 192.168.0.5 netmask 255.255.255.0 broadcast 192.168.0.255"
#INTERFACES=(eth0)
#gateway="default gw 192.168.0.1"
#ROUTES=(gateway)

# DHCP
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
DAEMONS=(syslog-ng network netfs lircd @crond @sshd @alsa @openntpd @athcool @hal @lighttpd sensors @monitorix @samba slim)
# ethtool eth0
Settings for eth0:
    Supported ports: [ MII ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
    Advertised auto-negotiation: Yes
    Speed: Unknown! (65535)
    Duplex: Unknown! (255)
    Port: MII
    PHYAD: 1
    Transceiver: external
    Auto-negotiation: on
    Supports Wake-on: g
    Wake-on: d
    Link detected: no

Offline

#2 2010-06-13 17:40:41

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: eth0 won't come up anymore - eth0: no link during initialization

have you tried pluggin the wire to different ports of the router, also, did u try changing the pci slot for the nic card.

Offline

#3 2010-06-14 20:00:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: eth0 won't come up anymore - eth0: no link during initialization

Can't explain it... the Mac laptop works just fine but the Arch box doesn't work at all.  The only way it works is to hit the uplink button on the back of the router.  Crazy.

Offline

Board footer

Powered by FluxBB