Subject: Re: problem with wd error handling?
To: None <M.Drochner@fz-juelich.de>
From: Charles M. Hannum <abuse@spamalicious.com>
List: tech-kern
Date: 08/15/2004 14:48:51
On Sunday 15 August 2004 12:56, Matthias Drochner wrote:
> ... 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.

Many modern drives still use the AMNF bit.  I always thought putting 
"obsolete" in that message was a mistake.

> If this is really a hard sector failure: Can I assume that
> the block is already remapped internally by the drive?

You can hope.

> "dkctl wd0 badsector list" shows nothing.

It doesn't show you the drive's remapping table.  There is no general way to 
get that.

> 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.)

There is always the old badsect(8).  :-)