Date: Sat, 29 Apr 2006 15:00:32 +0200 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: freebsd-usb@freebsd.org Subject: Re: Fwd: Re: [PATCH] ugen detach race Message-ID: <20060429150032.248c9890.torfinn.ingolfsen@broadpark.no> In-Reply-To: <200604241027.44959.mistry.7@osu.edu> References: <200604241027.44959.mistry.7@osu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Apr 2006 10:27:44 -0400 Anish Mistry <mistry.7@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@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060429150032.248c9890.torfinn.ingolfsen>