Re: Unloading USB driver while device is attached.

From: Doug White <dwhite_at_gumbysoft.com>
Date: Mon, 19 Jul 2004 10:23:16 -0700 (PDT)
On Mon, 19 Jul 2004, Pawel Jakub Dawidek wrote:

> Hello.
>
> Could someone investigate what's going on for the situation from the
> subject? This panic is trivial to reproduce:
>
> 	# kldload umass.ko
> 	<plug in your USB bar>
> 	# kldunload umass
> 	# kldload umass
> 	<panic>
>
> It is not umass related! I think this problem is in our USB implementation.

Theres a discussion going on in -arch about making kldunload a bit more
careful about cleaning up before detaching.  In the interim adding a
method that just vetos any unload request would prevent this from
occuring, but also preclude unloading the driver. :)

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite_at_gumbysoft.com          |  www.FreeBSD.org
Received on Mon Jul 19 2004 - 15:23:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:02 UTC