Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2007 06:33:59 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Artem Kuchin <matrix@itlegion.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: panic after removing usb flash disk
Message-ID:  <20070816133359.GA14620@eos.sc1.parodius.com>
In-Reply-To: <022b01c7e001$09f04980$0c00a8c0@Artem>
References:  <022b01c7e001$09f04980$0c00a8c0@Artem>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 16, 2007 at 04:28:59PM +0400, Artem Kuchin wrote:
> Hello!
>
> I don't know if it really belongs to this list, since
> i have only tested on 7-CURRENT, but on the other hand
> 7-CURRENT is soon going to be stable.
>
> So here it goes:
>
> 1) insert usb flash disk
> 2)  usbd detected it
> 3) mount it (mount -t msdosfs /dev/da1s1 /mnt)
> 4) simply pull the  pen drive off the usb slot
> 5) /mnt mount pount is left
> 6) try to unmount it (umount /dev)
>
> I don't know to get all those kernel bright white messages in to a file, so
> i just attached a screenshot ;)

This also happens on RELENG_6.  There was a *very* long discussion about
this behaviour and how to solve it.  It's not specific to USB devices
either.  The bottom line is that solving this issue is not easy, and
that administrators should remember to unmount before pulling a device.

That thread (again, reminder: it's very long):

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2007-07/msg00228.html

-- 
| Jeremy Chadwick                                    jdc at parodius.com |
| Parodius Networking                           http://www.parodius.com/ |
| UNIX Systems Administrator                      Mountain View, CA, USA |
| Making life hard for others since 1977.                  PGP: 4BD6C0CB |




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