From owner-freebsd-stable@FreeBSD.ORG Wed Jul 18 17:34:10 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 6DDC516A403 for ; Wed, 18 Jul 2007 17:34:10 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 527F413C4AA for ; Wed, 18 Jul 2007 17:34:10 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id A710BAF5; Wed, 18 Jul 2007 12:34:06 -0500 (CDT) Date: Wed, 18 Jul 2007 12:34:06 -0500 To: Momchil Ivanov , freebsd-stable@freebsd.org, LoN_Kamikaze@gmx.de, josh@tcbug.org Message-ID: <20070718173406.GA16748@soaustin.net> References: <200707181541.l6IFf4ht051775@lurza.secnetix.de> <200707181830.48727.idiotbg@gmail.com> <20070718170559.GA11915@eos.sc1.parodius.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070718170559.GA11915@eos.sc1.parodius.com> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) Cc: 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 17:34:10 -0000 On Wed, Jul 18, 2007 at 10:05:59AM -0700, Jeremy Chadwick wrote: > Bottom line here is that the kernel panics when removing a USB device > that has filesystems mounted. s/USB // > I also have a hard time believing that the reason it hasn't been fixed > is because "there isn't an easy fix". I'm under the impression it > hasn't been fixed because either no one cares enough to fix it (using > the workaround as a scapegoat excuse), or because the majority of people > do not use USB-based storage devices. The reason is not the USB stack; the reason (IIRC) is that the FreeBSD VM was written with the default assumption that Devices Never Go Away. A large rewrite, I'm told, will be needed to fix this, and the code is convoluted and tricky. No one finds the situation acceptable; introducing the "scapegoat" word isn't going to win you any support. The problem is not a weekend's worth of work to fix, nor does it have anything to do with avoidance by one particular maintainer, which you apparently had encountered before. mcl