Re: Device removal not detected



On Thu, 2011-01-20 at 10:55 +0100, Michael Biebl wrote:
> 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.

I think you want:

http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=608783c5b773a30139158ef3b00c211dcc255ee8

if you don't already have it backported.

Dan




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