Date: Thu, 21 Aug 2008 18:45:04 +0200 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: freebsd-current@freebsd.org Subject: Re: usb/46176: Let's save the horse! [was: HEADSUP new usb code coming in.] Message-ID: <20080821184504.4c0bf845@fabiankeil.de> In-Reply-To: <20080821100215.GA24076@wep4017.physik.uni-wuerzburg.de> References: <200808192244.24034.hselasky@c2i.net> <20080819211814.6CD685B4D@mail.bitblocks.com> <20080819.160510.104119134.imp@bsdimp.com> <20080820234335.7c82b26a@fabiankeil.de> <20080821100215.GA24076@wep4017.physik.uni-wuerzburg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/vE3zfQE..MkVtQuVaoP0Yn/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de> wrote: > On Wed, Aug 20, 2008 at 11:43:35PM +0200, Fabian Keil wrote: > > Warner Losh <imp@bsdimp.com> wrote: > >=20 > > > From: Bakul Shah <bakul@bitblocks.com> > > > > Accidentally unplugging a mounted USB disk (without > > > > unmounting it) resulted in a hang or a crash. Is this fixed? > > >=20 > > > That's fixed in -current right now with the old stack. It isn't a usb > > > issue at all, but a buffer cache issue. > >=20 > > I can't confirm this for either msdosfs or geli (with ZFS). > >=20 > > 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. > >=20 > It was discussed now and then on freebsd-usb mailing list. I'm not subscribed to freebsd-usb so I'm not sure what was or wasn't discussed there, but I also don't see how it's relevant here. All I'm saying is that unplugging a mounted USB disk is very likely to panic my system running FreeBSD 8.0-CURRENT #2: Fri Aug 15 23:35:09 CEST 2008 eventually and thus I wouldn't call the problem fixed just yet. > Have a look at http://www.gulbra.net/freebsd-usb/ It seems to be mainly about patches against FreeBSD 7.0-BETA1.5, I'm talking about CURRENT without additional patches. > 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). That's besides the point. Fabian --Sig_/vE3zfQE..MkVtQuVaoP0Yn/ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkitm5EACgkQBYqIVf93VJ30owCgjHMoicGUZK+YVuVA5Yr8fcc6 q7EAni3n1d/hVDjTyp8J2lSb27nzbFbc =aEQe -----END PGP SIGNATURE----- --Sig_/vE3zfQE..MkVtQuVaoP0Yn/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080821184504.4c0bf845>