From owner-freebsd-current@FreeBSD.ORG Thu Aug 21 16:38:02 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01D70106566C for ; Thu, 21 Aug 2008 16:38:02 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal4.es.net [198.124.252.66]) by mx1.freebsd.org (Postfix) with ESMTP id 9CEA58FC1B for ; Thu, 21 Aug 2008 16:38:01 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id BYW76505; Thu, 21 Aug 2008 09:27:05 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 1F8F74500F; Thu, 21 Aug 2008 09:27:05 -0700 (PDT) To: "Alexey Shuvaev" In-Reply-To: Your message of "Thu, 21 Aug 2008 12:02:15 +0200." <20080821100215.GA24076@wep4017.physik.uni-wuerzburg.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1219336025_92123P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 21 Aug 2008 09:27:05 -0700 From: "Kevin Oberman" Message-Id: <20080821162705.1F8F74500F@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ; ; ; X-Sender: X-To_Name: Alexey Shuvaev X-To_Domain: physik.uni-wuerzburg.de X-To: "Alexey Shuvaev" X-To_Email: shuvaev@physik.uni-wuerzburg.de X-To_Alias: shuvaev Cc: freebsd-current@freebsd.org Subject: Re: usb/46176: Let's save the horse! [was: HEADSUP new usb code coming in.] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2008 16:38:02 -0000 --==_Exmh_1219336025_92123P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > From: "Alexey Shuvaev" > Date: Thu, 21 Aug 2008 12:02:15 +0200 > Sender: owner-freebsd-current@freebsd.org > > On Wed, Aug 20, 2008 at 11:43:35PM +0200, Fabian Keil wrote: > > Warner Losh wrote: > > > > > From: Bakul Shah > > > 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). Today most pluggable media tends to be FAT32, but I suspect that we will see growing use of NTFS and that may be a bigger issue. The last portable drive I bought (SimpleTech 120 GB 2.5 inch) came NTFS formatted.I imagine that ntfs-3g/fuse will be used much more widely and the problem will get worse, again. Any idea if there is a hope of making ntfs-3g tolerant of this in a reasonable manner? -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1219336025_92123P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFIrZdZkn3rs5h7N1ERArV1AJ0QDvRXqX3vO9YlxoeGQgC75Fz5zgCeNd/z 5F+UWoEBqEyyLrihgnAIXFo= =aobY -----END PGP SIGNATURE----- --==_Exmh_1219336025_92123P--