Fwd: Re: [PATCH] ugen detach race

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Sat Apr 29 13:00:34 UTC 2006


On Mon, 24 Apr 2006 10:27:44 -0400
Anish Mistry <mistry.7 at osu.edu> wrote:

> I added another panic fix.  An error was introduced in rev 1.94 on
> ugen.c in the USB_SET_CONFIG ioctl case that calls
> ugen_make_devnodes.  This causes a panic since this logic was moved
> to ugen_set_config a while ago.  Removing the ugen_make_devnodes()
> call from ugen_do_ioctl fixes the problem.  This bug made it trivial
> to cause a panic when there was access to any ugen device.
> 
> http://am-productions.biz/docs/ugen-detach-race.patch

FWIW, the patch applied cleanly to
root at kg-work# uname -a
FreeBSD kg-work.kg4.no 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #6: Sat
Mar 11 18:50:33 CET 2006
root at kg-work.kg4.no:/usr/obj/usr/src/sys/SS51G  i386

and buildkernel / installkernel worked. Now I'm goning to boot the new
kernel. Wish me luck. .-)
-- 
Regards,
Torfinn Ingolfsen,
Norway



More information about the freebsd-usb mailing list