Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2007 16:49:57 +0530
From:      "Rahul Siddharthan" <rsidd120@gmail.com>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usb/105361: [panic] Kernel panic during unmounting mass storage (Creative mp3 player)
Message-ID:  <6a506d980708270419v561ad40ap1b73dd73e2bf87c7@mail.gmail.com>
In-Reply-To: <6a506d980708250932q7843f3a0u17240d7fb9033164@mail.gmail.com>
References:  <200708241010.l7OAA7bl066026@freefall.freebsd.org> <20070824.212230.-957833176.imp@bsdimp.com> <6a506d980708242103j6d34449exadf3debc1275656f@mail.gmail.com> <20070825.093151.2040712281.imp@bsdimp.com> <6a506d980708250932q7843f3a0u17240d7fb9033164@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I wrote:
> However, I take back what I said about the problem being fixed by
> commenting out the clear endpoint stall thing.  It's not working any
> more -- and, moreover, the hard disk light stays on after I insert the
> USB stick.  And if I remove it, there's an instant panic.
>
> I have now reverted that change to usb_subr.c.  Now it lets me insert the
> stick and remove it, but if I do that 2-3 times (not in quick succession),
> it panics.  Below is a backtrace.

Let me reiterate that nothing is being mounted here -- the device is not even
being registered as a SCSI drive.

Digging further in the archives, I just came across a long thread on unmount
panics in freebsd-stable in July, including posts from you (Warner)
acknowledging
that it's a serious problem but saying fixing it will be horrendously difficult
because of historical assumptions at all levels in the VM/buffer-cache/etc that
"devices don't go away".

But this doesn't seem to be that problem.  I can't believe I'm the
only one seeing
it.  If you can't reproduce it, I'm happy to mail you the device in question
(which works nicely on linux and windows).

Rahul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a506d980708270419v561ad40ap1b73dd73e2bf87c7>