Unloading USB driver while device is attached.
Doug White
dwhite at gumbysoft.com
Mon Jul 19 10:23:17 PDT 2004
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
More information about the freebsd-current
mailing list