On Mon, Feb 24, 2003 at 12:26:30PM +0100, Duncan Sands wrote:
> 
> Hi Greg, I went and got a new one for your debugging pleasure!  It is
> the dev->bus->op->deallocate(dev) that kills things.  What happens
> seems to be this: disconnect is called on the speedtch driver, then
> uhci is unloaded, then speedtch drops its reference to the usb device,
> which causes havoc.

Heh, I bet.  uhci shouldn't be able to be unloaded in that case, I think
usb_get_bus() should increment the bus's module reference count.  But
then that would piss off all of the people who like unloading their bus
driver without unloading the device driver first :)

Other than preventing that case, I don't see an easy way of fixing it.
Oh yeah, here's the easy way:
        # CONFIG_MODULE_UNLOAD is not set
in the .config file...

thanks,

greg k-h


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to