From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 01:32:06 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F42716A4CE for ; Thu, 8 Jan 2004 01:32:06 -0800 (PST) Received: from raven.ravenbrook.com (raven.ravenbrook.com [193.82.131.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6C6743D5A for ; Thu, 8 Jan 2004 01:32:03 -0800 (PST) (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (thrush.ravenbrook.com [193.112.141.145]) i089W1Wm009810; Thu, 8 Jan 2004 09:32:01 GMT (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (localhost [127.0.0.1]) by thrush.ravenbrook.com (8.12.9/8.12.9) with ESMTP id i089W1lb059907; Thu, 8 Jan 2004 09:32:01 GMT (envelope-from nb@thrush.ravenbrook.com) From: Nick Barnes To: Phil Kernick In-Reply-To: <3FFD120B.4030100@Kernick.org> from Phil Kernick of "Thu, 08 Jan 2004 18:47:15 +1030" Date: Thu, 08 Jan 2004 09:32:01 +0000 Message-ID: <59906.1073554321@thrush.ravenbrook.com> Sender: nb@ravenbrook.com cc: freebsd-stable Subject: Re: Should bad hardware cause a kernel panic? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 08 Jan 2004 09:32:06 -0000 At 2004-01-08 08:17:15+0000, Phil Kernick writes: > I have a dying IDE hard drive that I want to try and recover some > file from - the problem is that with it connected to my box, both > FreeBSD 4.9-RELEASE and 5.2-RC2 kernel panic. > > This can be reliably duplicated by booting the machine with the drive not > connected, then plugging the drive in, and... > > # atacontrol reinit 1 > panic! > > The real problem with this is that I can't use any tools to try and > recover any data. The GEOM code in 5.x is slightly more resiliant > than the 4.x code, but both cause panics. > > On the other hand, it I boot a Knoppix Linux distro, it complains > about the drive, but it *doesn't* panic, crash or otherwise > misbehave. Use Linux to dd the bits onto a clean drive, then try mounting that drive on FreeBSD? Nick B