View previous topic :: View next topic |
Author |
Message |
Lawless l33t
Joined: 03 Nov 2003 Posts: 638 Location: Germany
|
Posted: Sat Apr 28, 2007 3:15 pm Post subject: rmmod ndiswrapper crashes whole usb subsystem |
|
|
Since linux-wlan-ng currently does not work for me I switched over to ndiswrapper.
My usb stick (dwl122) is supported and is working but sometimes - not always - when I plug out the stick (and the hotplug event should remove the module) the complete usb system is crashing.
The ndiswrapper module is still loaded and usb does not recognize any new device that is being plugged in.
There is no hint in dmesg
Code: |
<-- when I plug it in -->
usbcore: registered new interface driver ndiswrapper
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
<-- when I disconnect it -->
usb 2-1: USB disconnect, address 9
|
After that there is no message when I plug in another usb device. Nothing to see in any log file.
When I manually try to remove ndiswrapper I get
Code: |
usbcore: deregistering interface driver ndiswrapper
|
in dmesg but rmmod hangs forever (and can't be killed with -9)
I have to restart the machine to get usb back.
Out of 5 tries this may happen 2 or 3 times... _________________ Kernel panic: I have no root and I want to scream |
|
Back to top |
|
|
Lawless l33t
Joined: 03 Nov 2003 Posts: 638 Location: Germany
|
Posted: Fri May 04, 2007 4:58 pm Post subject: |
|
|
Bump...
I tried to solve it by not removing the module when removing the stick - but it just happened again.
So it seems to me that ndiswrapper closes things uncleanly and blocks itself and the usb system.
As I can not remove the module (rmmod hangs) I cannot use usb as modules and 'restart' it by un- and reloading it - I have to reboot _________________ Kernel panic: I have no root and I want to scream |
|
Back to top |
|
|
|