From owner-freebsd-stable@FreeBSD.ORG Thu Aug 16 13:33:59 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 896F616A419 for ; Thu, 16 Aug 2007 13:33:59 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7D10413C469 for ; Thu, 16 Aug 2007 13:33:59 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 6B0361CC066; Thu, 16 Aug 2007 06:33:59 -0700 (PDT) Date: Thu, 16 Aug 2007 06:33:59 -0700 From: Jeremy Chadwick To: Artem Kuchin Message-ID: <20070816133359.GA14620@eos.sc1.parodius.com> Mail-Followup-To: Artem Kuchin , freebsd-stable@freebsd.org References: <022b01c7e001$09f04980$0c00a8c0@Artem> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <022b01c7e001$09f04980$0c00a8c0@Artem> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-stable@freebsd.org Subject: Re: panic after removing usb flash disk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2007 13:33:59 -0000 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 |