Public bug reported:

Steps to reproduce:

1.) Start Ubuntu, with LAN plugged in, login
2.) Verify Network Manager detects the Wired Connection
3.) stop Network manager
4.) unplug LAN cable
5.) start Network manager
Result: Network manager doesn't detect that eth0 is not in RUNNING state

Plugging in LAN cable doesn't change state either, i.e. eth0 remains
unconfigured.

-----

root@thinkpad:~# service network-manager stop
network-manager stop/waiting
root@thinkpad:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
          inet addr:10.201.4.52  Bcast:10.201.7.255  Mask:255.255.252.0
          inet6 addr: fe80::226:2dff:fef6:68b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17695 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14813 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17180328 (17.1 MB)  TX bytes:3811166 (3.8 MB)
          Interrupt:20 Memory:f2500000-f2520000 

## unplug network cable

root@thinkpad:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
          inet addr:10.201.4.52  Bcast:10.201.7.255  Mask:255.255.252.0
          inet6 addr: fe80::226:2dff:fef6:68b/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:17695 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14813 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17180328 (17.1 MB)  TX bytes:3811166 (3.8 MB)
          Interrupt:20 Memory:f2500000-f2520000 

## dmesg:

[  894.264179] init: network-manager main process (6194) killed by KILL signal
[  899.925268] e1000e: eth0 NIC Link is Down

root@thinkpad:~# service network-manager start
network-manager start/running, process 7702
# nm-tool
[...]
- Device: eth0  [Wired connection 1] -------------------------------------------
  Type:              Wired
  Driver:            e1000e
  State:             connecting (getting IP configuration)
  Default:           no
  HW Address:        00:26:2D:F6:06:8B

  Capabilities:

  Wired Properties
    Carrier:         on

# dmesg:
[ 1043.488154] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1046.290181] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1046.290428] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

root@thinkpad:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:17695 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14813 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17180328 (17.1 MB)  TX bytes:3811166 (3.8 MB)
          Interrupt:20 Memory:f2500000-f2520000 


## plug in network cable

root@thinkpad:~# service network-manager stop
network-manager stop/waiting
root@thinkpad:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
          inet addr:10.201.4.52  Bcast:10.201.7.255  Mask:255.255.252.0
          inet6 addr: fe80::226:2dff:fef6:68b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17695 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14813 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17180328 (17.1 MB)  TX bytes:3811166 (3.8 MB)
          Interrupt:20 Memory:f2500000-f2520000 
## unplug network cable
root@thinkpad:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
          inet addr:10.201.4.52  Bcast:10.201.7.255  Mask:255.255.252.0
          inet6 addr: fe80::226:2dff:fef6:68b/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:17695 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14813 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17180328 (17.1 MB)  TX bytes:3811166 (3.8 MB)
          Interrupt:20 Memory:f2500000-f2520000 

## dmesg:

[  894.264179] init: network-manager main process (6194) killed by KILL signal
[  899.925268] e1000e: eth0 NIC Link is Down

root@thinkpad:~# service network-manager start
network-manager start/running, process 7702
# nm-tool
[...]
- Device: eth0  [Wired connection 1] -------------------------------------------
  Type:              Wired
  Driver:            e1000e
  State:             connecting (getting IP configuration)
  Default:           no
  HW Address:        00:26:2D:F6:06:8B

  Capabilities:

  Wired Properties
    Carrier:         on

# dmesg:
[ 1043.488154] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1046.290181] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1046.290428] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

## plug in network cable
[ 1142.125629] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1187.240780] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1248.621854] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
[ 1248.624418] e1000e 0000:00:19.0: eth0: PHY Wakeup cause - Link Status Change
[ 1251.846511] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: 
None
[ 1251.848190] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

root@thinkpad:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
          inet6 addr: fe80::226:2dff:fef6:68b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17755 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14829 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17186538 (17.1 MB)  TX bytes:3814930 (3.8 MB)
          Interrupt:20 Memory:f2500000-f2520000

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: network-manager 0.9.6.0-0ubuntu7
ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
Uname: Linux 3.5.0-21-generic x86_64
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Thu Jan 10 19:05:48 2013
InstallationDate: Installed on 2012-11-17 (54 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
 DEVICE     TYPE              STATE         DBUS-PATH                           
       
 wlan0      802-11-wireless   connected     
/org/freedesktop/NetworkManager/Devices/1  
 eth0       802-3-ethernet    connected     
/org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   WIFI  
     WWAN-HARDWARE   WWAN      
 running         0.9.6.0    connected       enabled       enabled         
enabled    enabled         disabled

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal running-unity

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1098298

Title:
  network-manager fails to detect link status change

Status in “network-manager” package in Ubuntu:
  New

Bug description:
  Steps to reproduce:

  1.) Start Ubuntu, with LAN plugged in, login
  2.) Verify Network Manager detects the Wired Connection
  3.) stop Network manager
  4.) unplug LAN cable
  5.) start Network manager
  Result: Network manager doesn't detect that eth0 is not in RUNNING state

  Plugging in LAN cable doesn't change state either, i.e. eth0 remains
  unconfigured.

  -----

  root@thinkpad:~# service network-manager stop
  network-manager stop/waiting
  root@thinkpad:~# ifconfig eth0
  eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
            inet addr:10.201.4.52  Bcast:10.201.7.255  Mask:255.255.252.0
            inet6 addr: fe80::226:2dff:fef6:68b/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:17695 errors:0 dropped:0 overruns:0 frame:0
            TX packets:14813 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:17180328 (17.1 MB)  TX bytes:3811166 (3.8 MB)
            Interrupt:20 Memory:f2500000-f2520000 

  ## unplug network cable

  root@thinkpad:~# ifconfig eth0
  eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
            inet addr:10.201.4.52  Bcast:10.201.7.255  Mask:255.255.252.0
            inet6 addr: fe80::226:2dff:fef6:68b/64 Scope:Link
            UP BROADCAST MULTICAST  MTU:1500  Metric:1
            RX packets:17695 errors:0 dropped:0 overruns:0 frame:0
            TX packets:14813 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:17180328 (17.1 MB)  TX bytes:3811166 (3.8 MB)
            Interrupt:20 Memory:f2500000-f2520000 

  ## dmesg:

  [  894.264179] init: network-manager main process (6194) killed by KILL signal
  [  899.925268] e1000e: eth0 NIC Link is Down

  root@thinkpad:~# service network-manager start
  network-manager start/running, process 7702
  # nm-tool
  [...]
  - Device: eth0  [Wired connection 1] 
-------------------------------------------
    Type:              Wired
    Driver:            e1000e
    State:             connecting (getting IP configuration)
    Default:           no
    HW Address:        00:26:2D:F6:06:8B

    Capabilities:

    Wired Properties
      Carrier:         on

  # dmesg:
  [ 1043.488154] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  [ 1046.290181] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  [ 1046.290428] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

  root@thinkpad:~# ifconfig eth0
  eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
            UP BROADCAST MULTICAST  MTU:1500  Metric:1
            RX packets:17695 errors:0 dropped:0 overruns:0 frame:0
            TX packets:14813 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:17180328 (17.1 MB)  TX bytes:3811166 (3.8 MB)
            Interrupt:20 Memory:f2500000-f2520000 

  
  ## plug in network cable

  root@thinkpad:~# service network-manager stop
  network-manager stop/waiting
  root@thinkpad:~# ifconfig eth0
  eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
            inet addr:10.201.4.52  Bcast:10.201.7.255  Mask:255.255.252.0
            inet6 addr: fe80::226:2dff:fef6:68b/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:17695 errors:0 dropped:0 overruns:0 frame:0
            TX packets:14813 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:17180328 (17.1 MB)  TX bytes:3811166 (3.8 MB)
            Interrupt:20 Memory:f2500000-f2520000 
  ## unplug network cable
  root@thinkpad:~# ifconfig eth0
  eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
            inet addr:10.201.4.52  Bcast:10.201.7.255  Mask:255.255.252.0
            inet6 addr: fe80::226:2dff:fef6:68b/64 Scope:Link
            UP BROADCAST MULTICAST  MTU:1500  Metric:1
            RX packets:17695 errors:0 dropped:0 overruns:0 frame:0
            TX packets:14813 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:17180328 (17.1 MB)  TX bytes:3811166 (3.8 MB)
            Interrupt:20 Memory:f2500000-f2520000 

  ## dmesg:

  [  894.264179] init: network-manager main process (6194) killed by KILL signal
  [  899.925268] e1000e: eth0 NIC Link is Down

  root@thinkpad:~# service network-manager start
  network-manager start/running, process 7702
  # nm-tool
  [...]
  - Device: eth0  [Wired connection 1] 
-------------------------------------------
    Type:              Wired
    Driver:            e1000e
    State:             connecting (getting IP configuration)
    Default:           no
    HW Address:        00:26:2D:F6:06:8B

    Capabilities:

    Wired Properties
      Carrier:         on

  # dmesg:
  [ 1043.488154] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  [ 1046.290181] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  [ 1046.290428] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

  ## plug in network cable
  [ 1142.125629] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  [ 1187.240780] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  [ 1248.621854] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
  [ 1248.624418] e1000e 0000:00:19.0: eth0: PHY Wakeup cause - Link Status 
Change
  [ 1251.846511] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow 
Control: None
  [ 1251.848190] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

  root@thinkpad:~# ifconfig eth0
  eth0      Link encap:Ethernet  HWaddr 00:26:2d:f6:06:8b  
            inet6 addr: fe80::226:2dff:fef6:68b/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:17755 errors:0 dropped:0 overruns:0 frame:0
            TX packets:14829 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:17186538 (17.1 MB)  TX bytes:3814930 (3.8 MB)
            Interrupt:20 Memory:f2500000-f2520000

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: network-manager 0.9.6.0-0ubuntu7
  ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
  Uname: Linux 3.5.0-21-generic x86_64
  ApportVersion: 2.6.1-0ubuntu9
  Architecture: amd64
  Date: Thu Jan 10 19:05:48 2013
  InstallationDate: Installed on 2012-11-17 (54 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-dev:
   DEVICE     TYPE              STATE         DBUS-PATH                         
         
   wlan0      802-11-wireless   connected     
/org/freedesktop/NetworkManager/Devices/1  
   eth0       802-3-ethernet    connected     
/org/freedesktop/NetworkManager/Devices/0
  nmcli-nm:
   RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   
WIFI       WWAN-HARDWARE   WWAN      
   running         0.9.6.0    connected       enabled       enabled         
enabled    enabled         disabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1098298/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to