[rt2x00-users] [PATCH 04/17] rt2x00: fix hang when unplugging USB device in use

Johannes Stezenbach js at sig21.net
Sat Dec 18 02:02:06 EST 2010


On Fri, Dec 17, 2010 at 03:56:05AM -0800, Walter Goldens wrote:
>  
> > Odd I have been testing this while stresstesting the card,
> > and either
> > unplugging, rmmod or ifdown, and I couldn't
> > reproduce any crashes. Has the stacktrace changed after
> > these patches?
> 
> I can confirm when the rt2800usb is loaded and an rt3070 chip is connected to
> a network, running 'rmmod rt2800usb rt2x00lib rt2x00usb rt2800lib' causes
> immediate system hang (and hard-reset).

FWIW, I did not test this case.  I only tested hot-unplug of the
USB device.  However, I think usually when the network interface
is up the module use count should be incremented so that you
cannot unload the module.

Johannes



More information about the users mailing list