Date: Thu, 28 May 1998 22:24:07 +0900 From: Tetsuro FURUYA <ht5t-fry@asahi-net.or.jp> To: robinson@public.bta.net.cn, Mike Smith <mike@smith.net.au> Cc: freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG, Tetsuro FURUYA <ht5t-fry@asahi-net.or.jp> Subject: Re: Bug in wd driver Message-ID: <199805281324.WAA00669@dilemma.tf.or.jp> In-Reply-To: Your message of "Tue, 26 May 1998 11:42:26 %2B0800 (GMT)" References: <199805260342.LAA02975@public.bta.net.cn>
next in thread | previous in thread | raw e-mail | index | archive | help
My mail does not reach mailing lists. So, this is a resend. In Message-ID: <199805260342.LAA02975@public.bta.net.cn> Michael Robinson <robinson@public.bta.net.cn> 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<rdy,seekdone,drq> error 0 > > followed by seeking noises, and the following message: > > wd0: interrupt timeout > wd0: status 50<rdy,seekdone> error 1<no_dam> > > 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 <ht5t-fry@asahi-net.or.jp> 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-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805281324.WAA00669>