Date: Thu, 21 Aug 2008 12:02:15 +0200 From: "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de> To: Fabian Keil <freebsd-listen@fabiankeil.de> Cc: freebsd-current@freebsd.org Subject: Re: usb/46176: Let's save the horse! [was: HEADSUP new usb code coming in.] Message-ID: <20080821100215.GA24076@wep4017.physik.uni-wuerzburg.de> In-Reply-To: <20080820234335.7c82b26a@fabiankeil.de> References: <200808192244.24034.hselasky@c2i.net> <20080819211814.6CD685B4D@mail.bitblocks.com> <20080819.160510.104119134.imp@bsdimp.com> <20080820234335.7c82b26a@fabiankeil.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 20, 2008 at 11:43:35PM +0200, Fabian Keil wrote: > Warner Losh <imp@bsdimp.com> wrote: > > > From: Bakul Shah <bakul@bitblocks.com> > > Subject: Re: HEADSUP new usb code coming in. > > Date: Tue, 19 Aug 2008 14:18:13 -0700 > > > > > > > > Accidentally unplugging a mounted USB disk (without > > > unmounting it) resulted in a hang or a crash. Is this fixed? > > > > That's fixed in -current right now with the old stack. It isn't a usb > > issue at all, but a buffer cache issue. > > I can't confirm this for either msdosfs or geli (with ZFS). > > In case of msdosfs the situation has been vastly improved > and the panic seems to be no longer guaranteed, but there's > still a fair chance it'll happen eventually. > It was discussed now and then on freebsd-usb mailing list. Have a look at http://www.gulbra.net/freebsd-usb/ As for the non-msdosfs formatted media, I am quite sure it is a really bad idea to unplug media before unmounting it (there is actually no difference between "removable" and "stationary" drives). Just my 0.02$, Alexey.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080821100215.GA24076>