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

2009-08-21 Thread Michael Biebl
Abou Al Montacir wrote:
> Le vendredi 21 août 2009 à 10:03 +0200, Michael Biebl a écrit :
>> severity 5427212 important
>> thanks
>>
>> Abou Al Montacir wrote:
>>> 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.
>> Which version was the last working version?
> 
> I really can't tell you but it was max 3 weeks, However I'm sure that
> 0.7.1-1 doesn't work. I also had new kernel installed by the next
> weeks : I'm using sid with at least one update per week.
> 
>>> It no more detects the eth0 interface, but only the eth1.
>> According to the log, but eth0 and eth1 are detected, only eth0 (ne2k-pci) 
>> does
>> not seem to support carrier detection.
> 
> The real issue I think is that udev is instructed to rename interfaces :
> b44 --> eth0 and ne2k-pci --> eth1. However, according to logs, I see
> that ne2k-pci is loaded first and thus assigned eth0, then b44 is
> loaded. After some time, the udev will renames the interfaces, but NM
> seems to get disturbed by renaming interfaces.
> 
>>> Please find attached different configuration files and log messages.
>> If I check the logs, eth1 (b44) does seem to be correctly recognized and
>> activated. You are using a Broadcom card, for which there was a fix in 
>> 0.7.1-2.
> 
> See above, but eth1 is not b44. Following lines from /var/log/messages
> 
> Aug 20 22:11:04 aziz kernel: [1.14] 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
> 
> 
>> Are you certain that your problem still exists?
> 
> Of course, I've got the issue yesterday as you can see in the logs (Aug
> 20 22:11:04)
> 

Maybe your issue is related to udev:
What's the content of /etc/udev/rules.d/70-persistent-net.rules, does it help
when you remove that file and reboot.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


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

2009-08-21 Thread Abou Al Montacir
Le vendredi 21 août 2009 à 10:03 +0200, Michael Biebl a écrit :
> severity 5427212 important
> thanks
> 
> Abou Al Montacir wrote:
> > 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.
> 
> Which version was the last working version?

I really can't tell you but it was max 3 weeks, However I'm sure that
0.7.1-1 doesn't work. I also had new kernel installed by the next
weeks : I'm using sid with at least one update per week.

> > It no more detects the eth0 interface, but only the eth1.
> 
> According to the log, but eth0 and eth1 are detected, only eth0 (ne2k-pci) 
> does
> not seem to support carrier detection.

The real issue I think is that udev is instructed to rename interfaces :
b44 --> eth0 and ne2k-pci --> eth1. However, according to logs, I see
that ne2k-pci is loaded first and thus assigned eth0, then b44 is
loaded. After some time, the udev will renames the interfaces, but NM
seems to get disturbed by renaming interfaces.

> > Please find attached different configuration files and log messages.
> 
> If I check the logs, eth1 (b44) does seem to be correctly recognized and
> activated. You are using a Broadcom card, for which there was a fix in 
> 0.7.1-2.

See above, but eth1 is not b44. Following lines from /var/log/messages

Aug 20 22:11:04 aziz kernel: [1.14] 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


> Are you certain that your problem still exists?

Of course, I've got the issue yesterday as you can see in the logs (Aug
20 22:11:04)

> Could you send me a lshal dump in that case.

I'll try to do it this evening as I don't have physical access to the
machine today.

Cheers,
Abou Al Montacir




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2009-08-21 Thread Michael Biebl
severity 5427212 important
thanks

Abou Al Montacir wrote:
> 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.

Which version was the last working version?

> It no more detects the eth0 interface, but only the eth1.

According to the log, but eth0 and eth1 are detected, only eth0 (ne2k-pci) does
not seem to support carrier detection.

> Please find attached different configuration files and log messages.

If I check the logs, eth1 (b44) does seem to be correctly recognized and
activated. You are using a Broadcom card, for which there was a fix in 0.7.1-2.

Are you certain that your problem still exists?

Could you send me a lshal dump in that case.

Thanks,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


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

2009-08-20 Thread Abou Al Montacir
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 unstableftp.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| 




aziz:~# grep 'Aug 20.*NetworkManager' /var/log/daemon.log
Aug 20 22:11:27 aziz NetworkManager:   starting... 
Aug 20 22:11:27 aziz NetworkManager:   (eth1): driver 'ne2k-pci' does not support carrier detection. ^IYou must switch to it manually. 
Aug 20 22:11:27 aziz NetworkManager:   (eth1): new Ethernet device (driver: 'ne2k-pci') 
Aug 20 22:11:27 aziz NetworkManager:   (eth1): exported as /org/freedesktop/Hal/devices/net_00_20_18_56_ad_9f 
Aug 20 22:11:27 aziz NetworkManager: nm_device_ethernet_new: assertion `driver != NULL' failed
Aug 20 22:11:27 aziz NetworkManager:   (ttyS1): ignoring due to lack of mobile broadband capabilties 
Aug 20 22:11:27 aziz NetworkManager:   (ttyS0): ignoring due to lack of mobile broadband capabilties 
Aug 20 22:11:27 aziz NetworkManager:   Trying to start the supplicant... 
Aug 20 22:11:27 aziz NetworkManager:   Trying to start the system settings daemon... 
Aug 20 22:11:28 aziz nm-system-settings: Loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To report bugs please use the NetworkManager mailing list.
Aug 20 22:11:28 aziz nm-system-settings: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Aug 20 22:11:32 aziz NetworkManager:   (eth1): device state change: 1 -> 2 
Aug 20 22:11:32 aziz NetworkManager:   (eth1): bringing up device. 
Aug 20 22:11:32 aziz NetworkManager:   (eth1): preparing device. 
Aug 20 22:11:32 aziz NetworkManager:   (eth1): deactivating device (reason: 2). 
Aug 20 22:11:32 aziz NetworkManager:   (eth1): device state change: 2 -> 3 
Aug 20 22:12:49 aziz NetworkManager:   (eth1): now unmanaged 
Aug 20 22:12:49 aziz NetworkManager:   (eth1): device state change: 3 -> 1 
Aug 20 22:12:49 aziz NetworkManager:   (eth1): cleaning up... 
Aug 20 22:13:05 aziz NetworkManager:   (eth0): new Ethernet device (driver: 'b44') 
Aug 20 22:13:05 aziz NetworkManager:   (eth0): exported as /org/freedesktop/Hal/devices/net_00_e0_18_b9_7d_16 
Aug 20 22:13:10 aziz NetworkManager:   (eth0): device state change: 1 -> 2 
Aug 20 22:13:10 aziz NetworkManager:   (eth0): bringing up device. 
Aug 20 22:13:10 aziz NetworkManager:   (eth0): preparing device. 
Aug 20 22:13:10 aziz NetworkManager:   (eth0): deactivating device (reason: 2). 
Aug 20 22:13:13 aziz NetworkManager:   (eth0): carrier now ON (device state 2) 
Aug 20 22:13:13 aziz NetworkManager:   (eth0): device state change: 2 -> 3 
Aug 20 22:13:13 aziz NetworkManager:   Activat