From owner-freebsd-geom@FreeBSD.ORG Sat May 8 09:22:30 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 835D816A4CF; Sat, 8 May 2004 09:22:30 -0700 (PDT) Received: from pasmtp.tele.dk (pasmtp.tele.dk [193.162.159.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id A282F43D5C; Sat, 8 May 2004 09:22:29 -0700 (PDT) (envelope-from xride@x12.dk) Received: from x12.dk (xforce.dk [80.164.11.218]) by pasmtp.tele.dk (Postfix) with ESMTP id 327501EC318; Sat, 8 May 2004 18:22:27 +0200 (CEST) Received: by x12.dk (Postfix, from userid 666) id 8244556; Sat, 8 May 2004 18:22:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by x12.dk (Postfix) with ESMTP id 64C4F26; Sat, 8 May 2004 18:22:27 +0200 (CEST) Date: Sat, 8 May 2004 18:22:27 +0200 (CEST) From: Soeren Straarup To: Pawel Jakub Dawidek In-Reply-To: <20040506061226.GP24376@darkness.comp.waw.pl> Message-ID: <20040508182149.R52883-100000@x12.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Gordon Tetlow cc: freebsd-geom@freebsd.org Subject: Re: USB fash devices and dd X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2004 16:22:30 -0000 On Thu, 6 May 2004, Pawel Jakub Dawidek wrote: > On Wed, May 05, 2004 at 06:16:10PM -0700, Gordon Tetlow wrote: > +> On Wed, May 05, 2004 at 09:15:17AM -0700, Gordon Tetlow wrote: > +> > On Tue, May 04, 2004 at 12:04:26PM +0200, Soeren Straarup wrote: > +> > > > +> > > Hi > +> > > > +> > > I was reading the vol_msdosfs thread and this is what i've seen IRL > +> > > > +> > > When dd'ing from a usb dongle to a file and then remove the dongle during > +> > > this operation, then a kernel panic might ocour. I can't tell where the > +> > > chain breaks. All this has been taken place on a 5.1-R box. > +> > > +> > Only "might occur"? I would have thought it would panic 100%! The correct > +> > solution to this problem is "Don't do that" > +> > +> Despite my flippant response, this is a FAQ. I have heard some rumblings > +> that this may be fixed One Day (tm), but I wouldn't hold my breath. The > +> problem is deep in the kernel and is non-trivial to fix (from what I've > +> been told anyway). > > AFAIR I was having simlar problem with gbde on usb bar (da0) when file > system from this device was mounted. I was able to fix panic in gbde, > I was able to fix cam(4), but I wasn't able to fix UFS (maybe I should > try harder). Anyway, without mounted file system it should be possible > to fix this quite easy. My problem is, is it the usb code that panic or is it from the geom layer? > > -- > Pawel Jakub Dawidek http://www.FreeBSD.org > pjd@FreeBSD.org http://garage.freebsd.pl > FreeBSD committer Am I Evil? Yes, I Am! > Soeren Straarup | aka OZ2DAK aka Xride FreeBSD wannabe | FreeBSD since 2.2.6-R Don't let your brain be in idle to long it might get stuck there