Date: Sat, 8 May 2004 18:22:27 +0200 (CEST) From: Soeren Straarup <xride@x12.dk> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: freebsd-geom@freebsd.org Subject: Re: USB fash devices and dd Message-ID: <20040508182149.R52883-100000@x12.dk> In-Reply-To: <20040506061226.GP24376@darkness.comp.waw.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040508182149.R52883-100000>