From owner-freebsd-questions Thu May 28 06:30:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13202 for freebsd-questions-outgoing; Thu, 28 May 1998 06:30:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pop.asahi-net.or.jp (pop.asahi-net.or.jp [202.224.39.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13051; Thu, 28 May 1998 06:30:03 -0700 (PDT) (envelope-from tfuruya@dilemma.tf.or.jp@ppp129166.asahi-net.or.jp) Received: from galois.tf.or.jp (ppp129166.asahi-net.or.jp [202.213.129.166]) by pop.asahi-net.or.jp (8.8.8/3.6W) with ESMTP id WAA09854; Thu, 28 May 1998 22:34:45 +0900 Received: from dilemma.tf.or.jp (dilemma.tf.or.jp [192.168.1.3]) by galois.tf.or.jp (8.8.8/3.6W-ht5t-fry@asahi-net-98042218) with ESMTP id WAA04632; Thu, 28 May 1998 22:29:23 +0900 (JST) Received: from dilemma.tf.or.jp (localhost [127.0.0.1]) by dilemma.tf.or.jp (8.8.8/3.6W-CF3.6W-dilemma-tf.or.jp-9805) with ESMTP id WAA00669; Thu, 28 May 1998 22:24:13 +0900 (JST) Message-Id: <199805281324.WAA00669@dilemma.tf.or.jp> To: robinson@public.bta.net.cn, Mike Smith Cc: freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG, Tetsuro FURUYA Subject: Re: Bug in wd driver From: Tetsuro FURUYA Reply-To: Tetsuro FURUYA In-Reply-To: Your message of "Tue, 26 May 1998 11:42:26 +0800 (GMT)" References: <199805260342.LAA02975@public.bta.net.cn> X-Mailer: Mew version 1.54 on Emacs 19.28.1, Mule 2.3 X-fingerprint: F1 BA 5F C1 C2 48 1D C7 AE 5F 16 ED 12 17 75 38 X-URL: http://sodan.komaba.ecc.u-tokyo.ac.jp/~tfuruya/ Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 28 May 1998 22:24:07 +0900 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My mail does not reach mailing lists. So, this is a resend. In Message-ID: <199805260342.LAA02975@public.bta.net.cn> Michael Robinson wrote: >I wrote a message related to this problem to freebsd-questions >yesterday, but upon further investigation, I have decided this is >a bug, not a feature. >I have a Tecra 510CDT (running 2.2.6-RELEASE) that suffered a >corrupted disk when the battery power failed as it was trying to >halt. > > 1. Any I/O access to the affected sectors will cause the following > message: > > wd0: interrupt timeout > wd0: status 58 error 0 > > followed by seeking noises, and the following message: > > wd0: interrupt timeout > wd0: status 50 error 1 > > 2. After this, the process requesting the I/O will be completely > locked, but the disk will continue to make seeking noises > continuously until the system is powered off. > Other processes are able to access the affected slice/partition > (ls, cat, etc.) without any difficulty, as long as they avoid > the 7 affected sectors. Any process which requires privileged > kernel calls (halt, ps, etc.) will lock immediately and > completely. > > 3. Other than the two messages above, wd produces no error messages. > > 4. Hard reset is the only way to recover. > > I tried to work around this problem with bad144, but rapidly discovered > that bad144 is something of a bad joke in FreeBSD. Does anyone have > any recommendations for how to fix the wd driver or otherwise recover > from this fault? > > -Michael Robinson I have been encountered at the same defaults in using Panasonic AL-N1, and FreeBSD-2.2.2. And bad144 was hangupped. But I have found out how to manipulate bad144, or fsck , or badsect. My kernel has kernel-debugger ddb(4) installed in it. ^^^^^^ So, listening to the hamming sound of wd0 drive, and when wd drive is hangupped, invoke kernel-debugger by typing ctrl-alt-ESC keys. ^^^^^^^^^^^^ A while after stopping of disk access, type 'c' or 'continue', and go back to bad144 or fsck. Several attempts may complete the identification of bad clusters. As for my machine, this was worked. ======================================================================== TEL: 048-852-3520 FAX: 048-858-1597 E-Mail: ht5t-fry@asahi-net.or.jp tfu@ff.iij4u.or.jp pgp-fingerprint: pub Tetsuro FURUYA Key fingerprint = F1 BA 5F C1 C2 48 1D C7 AE 5F 16 ED 12 17 75 38 ========================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message