The following bug is reproducible with linux-image-3.13.0-53-generic, but not with linux-image-3.13.0-52-generic.
When I unplug the Ethernet cable from my laptop, I get the following messages in /var/log/kern.log after a few seconds (~20s):
May 22 13:59:36 host kernel: [ 5498.465626] pciehp 0000:00:1c.5:pcie04: Card not present on Slot(5)
May 22 13:59:36 host kernel: [ 5498.478755] pciehp 0000:00:1c.5:pcie04: Card present on Slot(5)
May 22 13:59:36 host kernel: [ 5498.598744] pciehp 0000:00:1c.5:pcie04: Device 0000:06:00.0 already exists at 0000:06:00, cannot hot-add
May 22 13:59:36 host kernel: [ 5498.598755] pciehp 0000:00:1c.5:pcie04: Cannot add device at 0000:06:00
May 22 13:59:36 host kernel: [ 5498.718646] atl1c 0000:06:00.0: MAC state machine can't be idle since disabled for 10ms second
Then, when I re-plug the cable, eth0 does not appear in network manager; there is no message in kern.log.
eth0 does not appear in ifconfig -a
The following bug is reproducible with linux-image- 3.13.0- 53-generic, but not with linux-image- 3.13.0- 52-generic.
When I unplug the Ethernet cable from my laptop, I get the following messages in /var/log/kern.log after a few seconds (~20s): 1c.5:pcie04: Card not present on Slot(5) 1c.5:pcie04: Card present on Slot(5) 1c.5:pcie04: Device 0000:06:00.0 already exists at 0000:06:00, cannot hot-add 1c.5:pcie04: Cannot add device at 0000:06:00
May 22 13:59:36 host kernel: [ 5498.465626] pciehp 0000:00:
May 22 13:59:36 host kernel: [ 5498.478755] pciehp 0000:00:
May 22 13:59:36 host kernel: [ 5498.598744] pciehp 0000:00:
May 22 13:59:36 host kernel: [ 5498.598755] pciehp 0000:00:
May 22 13:59:36 host kernel: [ 5498.718646] atl1c 0000:06:00.0: MAC state machine can't be idle since disabled for 10ms second
Then, when I re-plug the cable, eth0 does not appear in network manager; there is no message in kern.log.
eth0 does not appear in ifconfig -a
$ ifconfig -a
collisions: 0 txqueuelen:0
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:65536 Metric:1
RX packets:11586 errors:0 dropped:0 overruns:0 frame:0
TX packets:11586 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:16392353 (16.3 MB) TX bytes:16392353 (16.3 MB)
wlan0 Link encap:Ethernet HWaddr 48:5d:xx:xx:xx:xx xxxx:xxxx: xxxx/64 Scope:Link
collisions: 0 txqueuelen:1000
inet addr:192.168.xx.xx Bcast:192.168.xx.xx Mask:255.255.255.0
inet6 addr: fe80::xxxx:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2651 (2.6 KB) TX bytes:12364 (12.3 KB)
I tried to reinitialize networking with the following:
sudo modprobe -r atl1c
sudo modprobe atl1c
Still no eth0 and no message in kern.log
I tried
$ sudo ifup eth0
Ignoring unknown interface eth0=eth0.
Same symptoms occur when I reboot my router, and its Ethernet interface becomes temporarily unavailable.
Only way I found to restore eth0 was rebooting.