[Pkg-utopia-maintainers] Bug#542712: [network-manager] NM fails to detect eth0 on multiple network cards system

Abou Al Montacir abou.almontacir at sfr.fr
Thu Aug 20 22:43:19 UTC 2009


Package: network-manager
Version: 0.7.1-2
Severity: serious

--- Please enter the report below this line. ---

I have two network cards eth0 and eth1 and NM, which used to work perfectly, stopped working after an upgrade. It no more detects the eth0 interface, but only the eth1.

Please find attached different configuration files and log messages.

A workaround to make NM work is :

aziz:~# modprobe -r ne2k_pci
aziz:~# modprobe -r b44
aziz:~# modprobe b44

but as you see, this require root privilege which make it not a really acceptable workaround.

This bug is considered as critical as it make network not useable on my machine without having root access.


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.30-1-686

Debian Release: squeeze/sid
  500 unstable        ftp.fr.debian.org 

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-==============
libc6                     (>= 2.4) | 2.9-25
libdbus-1-3             (>= 1.0.2) | 1.2.16-2
libdbus-glib-1-2         (>= 0.78) | 0.82-1
libgcrypt11             (>= 1.4.2) | 1.4.4-3
libglib2.0-0           (>= 2.16.0) | 2.20.4-1
libgnutls26          (>= 2.7.14-0) | 2.8.3-1
libgpg-error0           (>= 1.6-1) | 1.6-1
libhal1               (>= 0.5.8.1) | 0.5.13-3
libnl1                    (>= 1.1) | 1.1-5
libnm-glib0             (>= 0.7.0) | 0.7.1-2
libnm-util1          (>= 0.7.0.97) | 0.7.1-2
libpolkit-dbus2           (>= 0.7) | 0.9-4
libpolkit2                (>= 0.7) | 0.9-4
libtasn1-3              (>= 1.6-0) | 2.3-1
libudev0                (>= 0.140) | 0.141-2
libuuid1                 (>= 2.16) | 2.16-3
zlib1g                (>= 1:1.1.4) | 1:1.2.3.3.dfsg-15
lsb-base               (>= 3.2-14) | 3.2-23
wpasupplicant         (>= 0.6.2-1) | 0.6.9-3
dbus                    (>= 1.1.2) | 1.2.16-2
hal                   (>= 0.5.7.1) | 0.5.13-3
ifupdown                           | 0.6.8+nmu1
adduser                            | 3.110
dhcp3-client                       | 3.1.2p1-1


Recommends                 (Version) | Installed
====================================-+-===========
network-manager-gnome                | 0.7.1-1
 OR network-manager-kde              | 
policykit                            | 0.9-4
ppp                                  | 2.4.4rel-10.1
dnsmasq-base                         | 2.49-1
iptables                             | 1.4.4-2


Suggests           (Version) | Installed
============================-+-===========
avahi-autoipd                | 




-------------- next part --------------
A non-text attachment was scrubbed...
Name: daemon.log
Type: text/x-log
Size: 9457 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20090821/44749c82/attachment-0001.bin>
-------------- next part --------------
aziz:~# grep 'Aug 20.*eth' /var/log/messages
Aug 20 22:11:04 aziz kernel: [    1.666614] eth0: RealTek RTL-8029 found at 0xb400, IRQ 23, 00:20:18:56:ad:9f.
Aug 20 22:11:04 aziz kernel: [    2.045222] eth1: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:e0:18:b9:7d:16
Aug 20 22:11:04 aziz kernel: [    2.187172] udev: renamed network interface eth1 to eth0
Aug 20 22:11:04 aziz kernel: [    2.232627] udev: renamed network interface eth0_rename to eth1
Aug 20 22:13:05 aziz kernel: [  137.145407] eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:e0:18:b9:7d:16
Aug 20 22:13:10 aziz kernel: [  141.508299] ADDRCONF(NETDEV_UP): eth0: link is not ready
Aug 20 22:13:13 aziz kernel: [  144.816172] b44: eth0: Link is up at 100 Mbps, full duplex.
Aug 20 22:13:13 aziz kernel: [  144.816180] b44: eth0: Flow control is off for TX and off for RX.
Aug 20 22:13:13 aziz kernel: [  144.816480] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Aug 20 23:00:39 aziz kernel: [ 2990.617256] b44: eth0: powering down PHY
Aug 20 23:00:44 aziz kernel: [ 2995.509043] ADDRCONF(NETDEV_UP): eth0: link is not ready
Aug 20 23:00:48 aziz kernel: [ 3000.000205] b44: eth0: Link is up at 100 Mbps, full duplex.
Aug 20 23:00:48 aziz kernel: [ 3000.000213] b44: eth0: Flow control is off for TX and off for RX.
Aug 20 23:00:48 aziz kernel: [ 3000.000525] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
-------------- next part --------------
aziz:~# cat /etc/udev/rules.d/70-persistent-net.rules 
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 0x14e4:0x4401 (b44)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:18:b9:7d:16", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10ec:0x8029 (ne2k-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:20:18:56:ad:9f", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

now, the NM, which used to work perfectly, stopped working after an upgrade. It no more detects the eth0 interface, but only the eth1.

-------------- next part --------------
aziz:~# cat /etc/NetworkManager/nm-system-settings.conf 

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

-------------- next part --------------
aziz:~# cat /etc/NetworkManager/system-connections/eth0

[connection]
id=eth0
uuid=c78a3d37-32ea-469b-afa9-2ddb53653e96
type=802-3-ethernet
autoconnect=true
timestamp=0

[ipv4]
method=manual
dns=192.168.1.1;
dns-search=mydomain.dom;
addresses1=192.168.1.2;24;192.168.1.1;
ignore-auto-routes=false
ignore-auto-dns=false
never-default=false

[802-3-ethernet]
speed=0
duplex=full
auto-negotiate=true
mac-address=0:e0:18:b9:7d:16
mtu=0
-------------- next part --------------
aziz:~# cat /etc/NetworkManager/system-connections/eth1

[connection]
id=eth1
uuid=96be5032-151f-4387-95d0-b6e964670e29
type=802-3-ethernet
autoconnect=false
timestamp=0

[ipv4]
method=auto
ignore-auto-routes=false
ignore-auto-dns=false
never-default=false

[802-3-ethernet]
speed=0
duplex=full
auto-negotiate=true
mac-address=0:20:18:56:ad:9f
mtu=0

-------------- next part --------------
aziz:~# grep 'Aug 20.*eth' /var/log/syslog
Aug 20 23:00:38 aziz NetworkManager: <info>  (eth0): now unmanaged 
Aug 20 23:00:38 aziz NetworkManager: <info>  (eth0): device state change: 8 -> 1 
Aug 20 23:00:38 aziz NetworkManager: <info>  (eth0): deactivating device (reason: 36). 
Aug 20 23:00:38 aziz NetworkManager: <info>  (eth0): removing resolv.conf from /sbin/resolvconf 
Aug 20 23:00:39 aziz NetworkManager: <WARN>  check_one_route(): (eth0) error -34 returned from rtnl_route_del(): Sucess  
Aug 20 23:00:39 aziz NetworkManager: <info>  (eth0): cleaning up... 
Aug 20 23:00:39 aziz NetworkManager: <info>  (eth0): taking down device. 
Aug 20 23:00:39 aziz kernel: [ 2990.617256] b44: eth0: powering down PHY
Aug 20 23:00:39 aziz avahi-daemon[2185]: Withdrawing address record for 192.168.1.2 on eth0.
Aug 20 23:00:39 aziz avahi-daemon[2185]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.2.
Aug 20 23:00:39 aziz avahi-daemon[2185]: Interface eth0.IPv4 no longer relevant for mDNS.
Aug 20 23:00:39 aziz avahi-daemon[2185]: Interface eth0.IPv6 no longer relevant for mDNS.
Aug 20 23:00:39 aziz avahi-daemon[2185]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::2e0:18ff:feb9:7d16.
Aug 20 23:00:39 aziz avahi-daemon[2185]: Withdrawing address record for fe80::2e0:18ff:feb9:7d16 on eth0.
Aug 20 23:00:39 aziz NetworkManager: <info>  (eth0): new Ethernet device (driver: 'b44') 
Aug 20 23:00:39 aziz NetworkManager: <info>  (eth0): exported as /org/freedesktop/Hal/devices/net_00_e0_18_b9_7d_16 
Aug 20 23:00:44 aziz NetworkManager: <info>  (eth0): device state change: 1 -> 2 
Aug 20 23:00:44 aziz NetworkManager: <info>  (eth0): bringing up device. 
Aug 20 23:00:44 aziz NetworkManager: <info>  (eth0): preparing device. 
Aug 20 23:00:44 aziz NetworkManager: <info>  (eth0): deactivating device (reason: 2). 
Aug 20 23:00:44 aziz kernel: [ 2995.509043] ADDRCONF(NETDEV_UP): eth0: link is not ready
Aug 20 23:00:48 aziz NetworkManager: <info>  (eth0): carrier now ON (device state 2) 
Aug 20 23:00:48 aziz NetworkManager: <info>  (eth0): device state change: 2 -> 3 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) starting connection 'eth0' 
Aug 20 23:00:48 aziz NetworkManager: <info>  (eth0): device state change: 3 -> 4 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled... 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) started... 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) scheduled... 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) complete. 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) starting... 
Aug 20 23:00:48 aziz NetworkManager: <info>  (eth0): device state change: 4 -> 5 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) successful. 
Aug 20 23:00:48 aziz kernel: [ 3000.000205] b44: eth0: Link is up at 100 Mbps, full duplex.
Aug 20 23:00:48 aziz kernel: [ 3000.000213] b44: eth0: Flow control is off for TX and off for RX.
Aug 20 23:00:48 aziz kernel: [ 3000.000525] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled. 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) complete. 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) started... 
Aug 20 23:00:48 aziz NetworkManager: <info>  (eth0): device state change: 5 -> 7 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) scheduled... 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) complete. 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) started... 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled... 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) complete. 
Aug 20 23:00:48 aziz NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) started... 
Aug 20 23:00:48 aziz avahi-daemon[2185]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.2.
Aug 20 23:00:48 aziz avahi-daemon[2185]: New relevant interface eth0.IPv4 for mDNS.
Aug 20 23:00:48 aziz avahi-daemon[2185]: Registering new address record for 192.168.1.2 on eth0.IPv4.
Aug 20 23:00:49 aziz NetworkManager: <info>  (eth0): writing resolv.conf to /sbin/resolvconf 
Aug 20 23:00:50 aziz avahi-daemon[2185]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::2e0:18ff:feb9:7d16.
Aug 20 23:00:50 aziz avahi-daemon[2185]: New relevant interface eth0.IPv6 for mDNS.
Aug 20 23:00:50 aziz avahi-daemon[2185]: Registering new address record for fe80::2e0:18ff:feb9:7d16 on eth0.*.
Aug 20 23:00:50 aziz NetworkManager: <info>  (eth0): device state change: 7 -> 8 
Aug 20 23:00:50 aziz NetworkManager: <info>  (eth0): writing resolv.conf to /sbin/resolvconf 
Aug 20 23:00:50 aziz NetworkManager: <info>  Policy set 'eth0' (eth0) as default for routing and DNS. 
Aug 20 23:00:50 aziz NetworkManager: <info>  Activation (eth0) successful, device activated. 
Aug 20 23:00:50 aziz NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete. 
Aug 20 23:00:59 aziz kernel: [ 3010.580026] eth0: no IPv6 routers present
-------------- next part --------------
aziz:~# cat /etc/network/interfaces 
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo

iface lo inet loopback

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20090821/44749c82/attachment-0001.pgp>


More information about the Pkg-utopia-maintainers mailing list