From owner-freebsd-current@FreeBSD.ORG Tue Jan 11 20:54:34 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A817106564A for ; Tue, 11 Jan 2011 20:54:34 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id EF9F88FC08 for ; Tue, 11 Jan 2011 20:54:33 +0000 (UTC) Received: by qwj9 with SMTP id 9so20541811qwj.13 for ; Tue, 11 Jan 2011 12:54:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.28.149 with SMTP id m21mr65027qcc.203.1294779272511; Tue, 11 Jan 2011 12:54:32 -0800 (PST) Received: by 10.229.102.19 with HTTP; Tue, 11 Jan 2011 12:54:32 -0800 (PST) X-Originating-IP: [93.221.179.70] In-Reply-To: <4D2CC27F.7040206@acm.poly.edu> References: <4D2CBE45.90209@delphij.net> <4D2CC27F.7040206@acm.poly.edu> Date: Tue, 11 Jan 2011 21:54:32 +0100 Message-ID: From: "C. P. Ghost" To: Boris Kochergin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, d@delphij.net Subject: Re: why panic(9) ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 20:54:34 -0000 On Tue, Jan 11, 2011 at 9:50 PM, Boris Kochergin wrote: >> Exactly. One area where the kernel should be made more robust >> is UFS with disappearing disks (e.g. USB mounted file systems, >> or, as recently happened here with a loose external SATA cable). >> Panicing here is REALLY annoying. ;-) > > Getting slightly off-topic here, but... there was progress made on this > front a while ago. You can reliably detach at least USB storage with a > mounted MSDOSFS or UFS filesystem without soft updates and not risk a system > panic. There will be a panic if soft updates are enabled on UFS, however, at > least as of my last test in 2010. Hmmm... yes, you're absolutely right: every time I had those panics was with softupdates enabled. No recent panic with UFS without softupdates that I remember, nor with msdosfs btw. > -Boris -cpghost. -- Cordula's Web. http://www.cordula.ws/