wired eth0 keeps on disconnecting

Bug #379557 reported by Mike Kovacevich
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Initially installed 8.10 on my HP e-PC and upgraded to 9.04. Found that the inbuilt 3Com ethernet card was not working. Network Manager seemed to try to connect to my router for an IP addr but is unable to get an assignment. Tried then to set a static addr but this still didn't resolve the issue - the system merely sent a notification that the wired eth0 was connected and then seconds later reported that the interface was disconnected, and so on and so on...

Thought this issue may have been due to the upgrade so downloaded an ISO about 2 hours ago, burned it to CD and tried a fresh install. Same problem.

Syslog reports:

May 22 23:29:59 khoxlx00250 NetworkManager: <info> (eth0): carrier now OFF (device state 3)
May 22 23:29:59 khoxlx00250 NetworkManager: <info> (eth0): device state change: 3 -> 2
May 22 23:29:59 khoxlx00250 NetworkManager: <info> (eth0): deactivating device (reason: 40).
May 22 23:29:59 khoxlx00250 NetworkManager: <info> Policy set 'Auto KayHarris' (wlan0) as default for routing and DNS.
May 22 23:30:02 khoxlx00250 /USR/SBIN/CRON[6303]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 22 23:30:09 khoxlx00250 NetworkManager: <info> (eth0): carrier now ON (device state 2)
May 22 23:30:09 khoxlx00250 NetworkManager: <info> (eth0): device state change: 2 -> 3
May 22 23:33:45 khoxlx00250 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
May 22 23:33:48 khoxlx00250 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
May 22 23:33:55 khoxlx00250 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
May 22 23:34:09 khoxlx00250 NetworkManager: <info> (eth0): carrier now OFF (device state 3)
May 22 23:34:09 khoxlx00250 NetworkManager: <info> (eth0): device state change: 3 -> 2
May 22 23:34:09 khoxlx00250 NetworkManager: <info> (eth0): deactivating device (reason: 40).
May 22 23:34:09 khoxlx00250 NetworkManager: <info> Policy set 'Auto KayHarris' (wlan0) as default for routing and DNS.
May 22 23:34:16 khoxlx00250 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
May 22 23:34:24 khoxlx00250 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
May 22 23:34:34 khoxlx00250 NetworkManager: <info> (eth0): carrier now ON (device state 2)
May 22 23:34:34 khoxlx00250 NetworkManager: <info> (eth0): device state change: 2 -> 3
May 22 23:34:42 khoxlx00250 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
May 22 23:34:46 khoxlx00250 dhclient: No DHCPOFFERS received.
May 22 23:34:46 khoxlx00250 dhclient: No working leases in persistent database - sleeping.
May 22 23:35:34 khoxlx00250 NetworkManager: <info> (eth0): carrier now OFF (device state 3)
May 22 23:35:34 khoxlx00250 NetworkManager: <info> (eth0): device state change: 3 -> 2
May 22 23:35:34 khoxlx00250 NetworkManager: <info> (eth0): deactivating device (reason: 40).
May 22 23:35:34 khoxlx00250 NetworkManager: <info> Policy set 'Auto KayHarris' (wlan0) as default for routing and DNS.
May 22 23:35:44 khoxlx00250 NetworkManager: <info> (eth0): carrier now ON (device state 2)
May 22 23:35:44 khoxlx00250 NetworkManager: <info> (eth0): device state change: 2 -> 3
May 22 23:36:44 khoxlx00250 NetworkManager: <info> (eth0): carrier now OFF (device state 3)
May 22 23:36:44 khoxlx00250 NetworkManager: <info> (eth0): device state change: 3 -> 2
May 22 23:36:44 khoxlx00250 NetworkManager: <info> (eth0): deactivating device (reason: 40).
May 22 23:36:44 khoxlx00250 NetworkManager: <info> Policy set 'Auto KayHarris' (wlan0) as default for routing and DNS.
May 22 23:37:14 khoxlx00250 NetworkManager: <info> (eth0): carrier now ON (device state 2)
May 22 23:37:14 khoxlx00250 NetworkManager: <info> (eth0): device state change: 2 -> 3

lsb_release -rd:

Description: Ubuntu 9.04
Release: 9.04

lspci -nnvv:

00:00.0 Host bridge [0600]: Intel Corporation 82810E DC-133 (GMCH) Graphics Memory Controller Hub [8086:7124] (rev 03)
 Subsystem: Intel Corporation 82810E DC-133 (GMCH) Graphics Memory Controller Hub [8086:7124]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
 Latency: 0
 Kernel driver in use: agpgart-intel
 Kernel modules: intel-agp

00:01.0 VGA compatible controller [0300]: Intel Corporation 82810E DC-133 (CGC) Chipset Graphics Controller [8086:7125] (rev 03)
 Subsystem: Hewlett-Packard Company Device [103c:1243]
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin A routed to IRQ 10
 Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
 Region 1: Memory at eff80000 (32-bit, non-prefetchable) [size=512K]
 Capabilities: [dc] Power Management version 1
  Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1e.0 PCI bridge [0604]: Intel Corporation 82801AA PCI Bridge [8086:2418] (rev 02)
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
 I/O behind bridge: 0000b000-0000bfff
 Memory behind bridge: efd00000-efdfffff
 Prefetchable memory behind bridge: e7b00000-e7bfffff
 Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
 BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
  PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
 Kernel modules: shpchp

00:1f.0 ISA bridge [0601]: Intel Corporation 82801AA ISA Bridge (LPC) [8086:2410] (rev 02)
 Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Kernel modules: iTCO_wdt, intel-rng

00:1f.1 IDE interface [0101]: Intel Corporation 82801AA IDE Controller [8086:2411] (rev 02) (prog-if 80 [Master])
 Subsystem: Intel Corporation 82801AA IDE Controller [8086:2411]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
 Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
 Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
 Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
 Region 4: I/O ports at ffa0 [size=16]
 Kernel driver in use: ata_piix

00:1f.2 USB Controller [0c03]: Intel Corporation 82801AA USB Controller [8086:2412] (rev 02)
 Subsystem: Intel Corporation 82801AA USB Controller [8086:2412]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin D routed to IRQ 9
 Region 4: I/O ports at d400 [size=32]
 Kernel driver in use: uhci_hcd

00:1f.3 SMBus [0c05]: Intel Corporation 82801AA SMBus Controller [8086:2413] (rev 02)
 Subsystem: Intel Corporation 82801AA SMBus Controller [8086:2413]
 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Interrupt: pin B routed to IRQ 0
 Region 4: I/O ports at 0540 [size=16]
 Kernel modules: i2c-i801

00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801AA AC'97 Audio Controller [8086:2415] (rev 02)
 Subsystem: Hewlett-Packard Company Device [103c:1250]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin B routed to IRQ 5
 Region 0: I/O ports at dc00 [size=256]
 Region 1: I/O ports at d800 [size=64]
 Kernel driver in use: Intel ICH
 Kernel modules: snd-intel8x0

01:02.0 Ethernet controller [0200]: 3Com Corporation 3c905C-TX/TX-M [Tornado] [10b7:9200] (rev 78)
 Subsystem: Hewlett-Packard Company Device [103c:1247]
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 64 (2500ns min, 2500ns max), Cache Line Size: 32 bytes
 Interrupt: pin A routed to IRQ 3
 Region 0: I/O ports at bc00 [size=128]
 Region 1: Memory at efdfff80 (32-bit, non-prefetchable) [size=128]
 Expansion ROM at e7b00000 [disabled] [size=128K]
 Capabilities: [dc] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=2 PME-
 Kernel driver in use: 3c59x
 Kernel modules: 3c59x

lshw -C network:

  *-network
       description: Ethernet interface
       product: 3c905C-TX/TX-M [Tornado]
       vendor: 3Com Corporation
       physical id: 2
       bus info: pci@0000:01:02.0
       logical name: eth0
       version: 78
       serial: 00:01:02:04:98:61
       size: 10MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=3c59x duplex=half latency=64 link=yes maxlatency=10 mingnt=10 module=3c59x multicast=yes port=MII speed=10MB/s
  *-network:0 DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: pan0
       serial: 66:91:68:48:d3:4f
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
  *-network:1
       description: Wireless interface
       physical id: 2
       logical name: wlan0
       serial: 00:19:5b:6f:41:b9
       capabilities: ethernet physical wireless
       configuration: broadcast=yes ip=192.168.168.2 multicast=yes wireless=IEEE 802.11bg

dmesg | grep eth:

[ 3.028777] Driver 'sd' needs updating - please use bus_type methods
[ 3.028805] Driver 'sr' needs updating - please use bus_type methods
[ 33.981196] eth0: setting full-duplex.
[ 44.340087] eth0: no IPv6 routers present
[ 7556.980506] eth0: setting full-duplex.

Revision history for this message
Kurt Wall (kwall) wrote :

Thanks for taking the time to report this bug and for helping to improve Ubuntu. Is IPv6 enabled? If so, does the problem persist if you diable IPv6?

affects: ubuntu → network-manager (Ubuntu)
Revision history for this message
Mike Kovacevich (mikek) wrote :

Kurt, looks like to old way of editing the modprobe.d aliases file is no longer an option??? What is the recommended way to disable ipv6 in Jaunty?

Revision history for this message
Kurt Wall (kwall) wrote :

From the command-line, I use "sudo sysctl net.ipv6.conf.all.disable_ipv6=1". Add "net.ipv6.conf.all.disable_ipv6=1" to /etc/sysctl.conf to make it permanent.

Revision history for this message
Mike Kovacevich (mikek) wrote :
Download full text (3.5 KiB)

Right, added the line to /etc/sysctl.conf and restarted. Still no joy getting the eth0 link up. Syslog reports:

May 25 19:56:31 khoxlx00250 kernel: [ 2716.300005] wlan0: disassociating by local choice (reason=3)
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) starting connection 'Auto eth0'
May 25 19:56:34 khoxlx00250 NetworkManager: <info> (eth0): device state change: 3 -> 4
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
May 25 19:56:34 khoxlx00250 NetworkManager: <info> (eth0): device state change: 4 -> 5
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
May 25 19:56:34 khoxlx00250 NetworkManager: <info> (eth0): device state change: 5 -> 7
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) Beginning DHCP transaction.
May 25 19:56:34 khoxlx00250 dhclient: Internet Systems Consortium DHCP Client V3.1.1
May 25 19:56:34 khoxlx00250 dhclient: Copyright 2004-2008 Internet Systems Consortium.
May 25 19:56:34 khoxlx00250 dhclient: All rights reserved.
May 25 19:56:34 khoxlx00250 dhclient: For info, please visit http://www.isc.org/sw/dhcp/
May 25 19:56:34 khoxlx00250 dhclient:
May 25 19:56:34 khoxlx00250 dhclient: wmaster0: unknown hardware address type 801
May 25 19:56:34 khoxlx00250 NetworkManager: <info> dhclient started with pid 3715
May 25 19:56:34 khoxlx00250 NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
May 25 19:56:34 khoxlx00250 NetworkManager: <info> DHCP: device eth0 state changed normal exit -> preinit
May 25 19:56:34 khoxlx00250 dhclient: wmaster0: unknown hardware address type 801
May 25 19:56:34 khoxlx00250 dhclient: Listening on LPF/eth0/00:01:02:04:98:61
May 25 19:56:34 khoxlx00250 dhclient: Sending on LPF/eth0/00:01:02:04:98:61
May 25 19:56:34 khoxlx00250 dhclient: Sending on Socket/fallback
May 25 19:56:37 khoxlx00250 NetworkManager: <info> (eth0): carrier now OFF (device state 7)
May 25 19:56:37 khoxlx00250 NetworkManager: <info> (eth0): device state change: 7 -> 2
May 25 19:56:37 khoxlx00250 NetworkManager: <info> (eth0): deactivating device (reason: 40).
May 25 19:56:37 khoxlx00250 NetworkManager: <info> eth0: canceled DHCP transaction, dhcp client pid 3715
May 25 19:57:07 khoxlx00250 NetworkManager: <info> (eth0): carrier now ON...

Read more...

Revision history for this message
Mike Kovacevich (mikek) wrote :

Anyone have any more feedback on this?

Revision history for this message
Alexander Sack (asac) wrote :

please attach complete syslog after reproducing. also output of lshal. Thanks. Also, please use static IP configuration again (so that dhcp is not run) and reproduce a few times. attach syslog parts capturing these steps too. Thanks.

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in network-manager (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
kira (kyrandesa) wrote :

I attached the syslog and lshal. However, I can't really try with a static IP.

Changed in network-manager (Ubuntu):
status: Invalid → New
Revision history for this message
kira (kyrandesa) wrote :
Revision history for this message
kingtiger01 (mnovick1988) wrote :

Same thing is occuring on 9.10 and 10.04. r8169

Timing 3minutes~or less apart, IPv6 set to ignore in Network-manager.

Statically assigned IPv4

Revision history for this message
Thomas Hood (jdthood) wrote :

@Mike, is this fixed in Precise?

Thomas Hood (jdthood)
Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Mike Kovacevich (mikek) wrote :

Doesn't seem to be a problem anymore. Thanks.

Thomas Hood (jdthood)
Changed in network-manager (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.