Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rmmod ndiswrapper crashes whole usb subsystem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Lawless
l33t
l33t


Joined: 03 Nov 2003
Posts: 638
Location: Germany

PostPosted: Sat Apr 28, 2007 3:15 pm    Post subject: rmmod ndiswrapper crashes whole usb subsystem Reply with quote

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
View user's profile Send private message
Lawless
l33t
l33t


Joined: 03 Nov 2003
Posts: 638
Location: Germany

PostPosted: Fri May 04, 2007 4:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum