networking/detect failed with the inconsistency of the number of devices found by udev/nm

Bug #1194071 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Committed
Undecided
Unassigned

Bug Description

CID: 201202-10527 Dell Vostro 3460

With this submission: https://certification.canonical.com/hardware/201202-10527/submission/92234/

This system is equipped with 3G Modem, thus causing some error while running network/detect

Error message:
---------------------------[ Devices found by udev ]----------------------------
Category: WIRELESS
Interface: wlan0
Product: Centrino Wireless-N 2230
Vendor: Intel Corporation
Driver: iwlwifi (ver: 3.5.0-34-generic)
Path: /devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/wlan0

Category: NETWORK
Interface: eth0
Product: AR8161 Gigabit Ethernet
Vendor: Atheros Communications Inc.
Driver: alx (ver: 1.2.3)
Path: /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/net/eth0

Category: NETWORK
Interface: usb0
Vendor: Dell Computer Corp.
Driver: cdc_ncm (ver: 3.5.0-34-generic)
Path: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.6/net/usb0

----------------------[ Devices found by Network Manager ]----------------------
Category: WiFi
Interface: wlan0
IP: 10.101.46.252
Driver: iwlwifi (ver: 3.5.0-34-generic)
State: Disconnected

Category: Ethernet
Interface: eth0
IP: 0.0.0.0
Driver: alx (ver: 1.2.3)
State: Unavailable

ERROR: Ethernet devices missing: udev showed 2 devices, but NetworkManager saw 1 devices

And here comes another problem, the number of devices here in the last line is different form the number devices listed above.
According to scripts/network_device_info script, the "number of devices" from network manager and from udev were set to nm_type_devices and udev_type_devices instead of nm_devices and udev_devices, which seems to be the cause of this problem.

Also, the Modem is not detected here by the Network Manager.

Related branches

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Additional information:

On another laptop with 3G Modem, there is no such problem.
But the interface of it was eth1, not usb0 as the problematic one

---------------------------[ Devices found by udev ]----------------------------
Category: NETWORK
Interface: eth0
Product: 82579LM Gigabit Network Connection
Vendor: Intel Corporation
Driver: e1000e (ver: 2.1.4-k)
Path: /devices/pci0000:00/0000:00:19.0/net/eth0

Category: WIRELESS
Interface: wlan0
Product: Centrino Advanced-N 6205 [Taylor Peak]
Vendor: Intel Corporation
Driver: iwlwifi (ver: 3.8.0-25-generic)
Path: /devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlan0

Category: NETWORK
Interface: eth1
Vendor: Dell Computer Corp.
Driver: cdc_ether (ver: 3.8.0-25-generic)
Path: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.6/net/eth1

----------------------[ Devices found by Network Manager ]----------------------
Category: Ethernet
Interface: eth0
IP: 10.101.46.250
Driver: e1000e (ver: 2.1.4-k)
State: Unavailable

Category: WiFi
Interface: wlan0
IP: 192.168.0.41
Driver: iwlwifi (ver: 3.8.0-25-generic)
State: Activated

Category: Ethernet
Interface: eth1
IP: 0.0.0.0
Driver: cdc_ether (ver: 3.8.0-25-generic)
State: Disconnected

Daniel Manrique (roadmr)
Changed in checkbox:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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