Re: Device removal not detected



On 19.01.2011 07:42, toabctl wrote:
> Hi,
> 
> i use networ-manager 0.8.1 (from debian squeeze) and when i remove a usb
> wlan stick, the device removal is not shown in the nm-applet. any ideas why?

Hm, seem like I can reproduce that.
If I run rmmod 8139cp, NM doesn't recognize the hotplug device removal.
When restarting NM it correctly sees the device as removed.
The only hint I found in the logs is:

# rmmod 8139cp
Jan 20 10:53:10 pluto NetworkManager[755]:    SCPlugin-Ifupdown: devices removed
(path: /sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0/net/eth0, iface: eth0)

# modprobe 8139cp
Jan 20 10:54:11 pluto NetworkManager[755]: <info> (eth0): carrier is OFF

Jan 20 10:54:11 pluto NetworkManager[755]:    SCPlugin-Ifupdown: devices added
(path: /sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0/net/eth0, iface: eth0)
Jan 20 10:54:11 pluto NetworkManager[755]:    SCPlugin-Ifupdown: device added
(path: /sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0/net/eth0, iface: eth0):
no ifupdown configuration found.
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]