Panics and potential memory corruption when pulling out a uath device

Weongyo Jeong weongyo.jeong at
Tue May 19 05:11:54 UTC 2009

On Tue, May 19, 2009 at 12:08:45AM +0200, Lucius Windschuh wrote:
> 2009/5/18 Hans Petter Selasky <hselasky at>:
> > Regarding the first panic, there seems to be a detach race in both upgt and
> > uath, which is not USB related. Try this patch:
> >
> >
> This fixes not only the first panic.
> I can't provoke any panic by pulling out the active device. Thanks.

Could you please test with this patch that is slightly different with
Hans's patch?  It try to unsetup after stopping the device.

If no problems I'd commit it.

Weongyo Jeong

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_uath_20090519.diff
Type: text/x-diff
Size: 439 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list