Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2004 10:23:16 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Unloading USB driver while device is attached.
Message-ID:  <20040719102139.N59702@carver.gumbysoft.com>
In-Reply-To: <20040719145745.GH57678@darkness.comp.waw.pl>
References:  <20040719145745.GH57678@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040719102139.N59702>