From owner-freebsd-stable@FreeBSD.ORG Wed Jul 18 14:19:26 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C050D16A401 for ; Wed, 18 Jul 2007 14:19:26 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 19C2813C4B4 for ; Wed, 18 Jul 2007 14:19:25 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 18 Jul 2007 13:52:44 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp045) with SMTP; 18 Jul 2007 15:52:44 +0200 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX189lRNa+6099WbPXk9u5QhU5baUJWFT/uNlz48juE VWJWSKqEsbF974 Message-ID: <469E1B2A.3030901@gmx.de> Date: Wed, 18 Jul 2007 15:52:42 +0200 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.4 (X11/20070616) MIME-Version: 1.0 To: Josh Paetzel References: <200707181142.27240.idiotbg@gmail.com> <200707180839.50113.josh@tcbug.org> In-Reply-To: <200707180839.50113.josh@tcbug.org> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org, Momchil Ivanov Subject: Re: removing external usb hdd without unmounting causes reboot? 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: Wed, 18 Jul 2007 14:19:26 -0000 Josh Paetzel wrote: > On Wednesday 18 July 2007, Momchil Ivanov wrote: >> Hi, >> >> I am running FreeBSD 6.2-STABLE #11: Sat Jul 14 16:27:12 CEST 2007 >> and accidently unplugged the USB hub to which my external hdd >> together with a mouse were connected and this caused my machine to >> freeze for some seconds and then reboot. At that moment the hdd was >> mounted and I was playing music out of it. >> After that I tried to reproduce it :) so just plugged only the hdd >> directly, mounted it and started playing music files from it. When >> I unplugged the USB cable the same thing happened: short freeze, >> and then reboot. Is this expected behaviour? And is there some way >> to avoid the freeze and reboot? >> >> Thanks. > > Yes, it's expected behavior. The workaround is to not unplug mounted > devices. (There's nothing special about USB here, if you unplugged an > IDE drive you'd get the same behavior) > Wouldn't it make some sense not to panic if mounted devices that are in sync get removed? A few applications might get in trouble, but that's hardly a reason to bring a whole system down.