From owner-freebsd-stable@FreeBSD.ORG Thu Jul 19 15:38:19 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 5EAA016A404 for ; Thu, 19 Jul 2007 15:38:19 +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 64E7213C467 for ; Thu, 19 Jul 2007 15:38:18 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 19 Jul 2007 15:38:16 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp004) with SMTP; 19 Jul 2007 17:38:16 +0200 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX1+NaxUwZ9qN31F+AmDVw5BMjVEEAP51M7Pd27hBmc SMCPkjHm8pJCCd Message-ID: <469F8566.7030905@gmx.de> Date: Thu, 19 Jul 2007 17:38:14 +0200 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.4 (X11/20070616) MIME-Version: 1.0 To: "M. Warner Losh" References: <200707181142.27240.idiotbg@gmail.com> <200707180839.50113.josh@tcbug.org> <20070718145954.GX36311@gremlin.foo.is> <20070719.084336.-749249732.imp@bsdimp.com> In-Reply-To: <20070719.084336.-749249732.imp@bsdimp.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: baldur@foo.is, freebsd-stable@freebsd.org 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: Thu, 19 Jul 2007 15:38:19 -0000 M. Warner Losh wrote: > In message: <20070718145954.GX36311@gremlin.foo.is> > Baldur Gislason writes: > : I vaguely remember being able to yank out USB drives in 5.x and just make > : usbd execute a forced umount without any problems. FAT32 drives mind you. > : On 6.2 I haven't even been able to unplug a USB drive even if I unmount it > : first, always results in a kernel panic. > > This has never worked. Not even on 5.x. Or 4.10. I've tested these > both recently accidentally... > > Warner As I mentioned earlier I remember it working during the 5.3 era on Stable, at some point it worked. I even remember removing my CD-Rom drive from my Thinkpad without running atacontrol detach. The system just took it and the drive just continued working after I put it back in. Anyway, is there a way to convince the kernel that removable devices are NFS mounts? I suppose there'd be an additional layer required that clusters file operations to consistent atomic operations similar to NFS.