Subject: problem with wd error handling?
To: None <tech-kern@netbsd.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-kern
Date: 08/15/2004 14:56:42
... or is my disk really dying?

Hi -
with -current I now get a hard disk error - output appended.
Is there (besides the formatting problems) perhaps just a bug
in error handling causing this? -- The "(obsolete)" makes it
look so.
If this is really a hard sector failure: Can I assume that
the block is already remapped internally by the drive?
"dkctl wd0 badsector list" shows nothing.
If the drive didn't remap it: What is the recommended procedure
to avoid touching that block in the future? (Strange that
"dkctl" doesn't let me add bad blocks manually.)

The read doesn't appear to be behind the disk -- I'l append the
probe messages too for reference.

best regards
Matthias


wd0e: error reading fsbn 36553968 of 36553968-36553979 (wd0 bn 58
346928; cn 57883 tn 13 sn 45), retrying
wd0: (obsolete (address mark not found))
wd0e: error reading fsbn 36553968 of 36553968-36553979 (wd0 bn 58
346928; cn 57883 tn 13 sn 45), retrying
wd0: (obsolete (address mark not found))
wd0e: error reading fsbn 36553968 of 36553968-36553979 (wd0 bn 58
346928; cn 57883 tn 13 sn 45), retrying
wd0: (obsolete (address mark not found))
wd0e: error reading fsbn 36553968 of 36553968-36553979 (wd0 bn 58
346928; cn 57883 tn 13 sn 45), retrying
wd0: (obsolete (address mark not found))
wd0e: error reading fsbn 36553977 of 36553968-36553979 (wd0 bn 58
346937; cn 57883 tn 13 sn 54), retrying
wd0: (obsolete (address mark not found))
wd0e: error reading fsbn 36553977 of 36553968-36553979 (wd0 bn 58
346937; cn 57883 tn 13 sn 54)wd0: (obsolete (address mark not fou
nd))

wd0e: channel reset writing fsbn 36173210 of 36173210-36173215 (w
d0 bn 57966170; cn 57506 tn 1 sn 59), retrying
wd0: soft error (corrected)



wd0 at atabus0 drive 0: <HITACHI_DK23EA-30>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 28615 MB, 58140 cyl, 16 head, 63 sec, 512 bytes/sect x 58605120 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA d
ata transfers)