Re: Accessing IDE disk with bad sectors freezes the box

From: Søren Schmidt <sos_at_DeepCore.dk>
Date: Wed, 11 May 2005 15:26:02 +0200
Ruslan Ermilov wrote:
> Hi Soren,
> 
> I have a disk with lot of bad sectors.  When working with it on
> an AMD64 box running 6-CURRENT, accessing bad areas just freezes
> the box completely, without any diagnostics.  The same disk when
> plugged into another i386 box running 4-STABLE works properly by
> issuing errors from the kernel, and reporting EIO to userland.
> 
> Is there something I can do to try to mitigate this issue?

Hmm, depending on the problem the disk has and how the controller is 
implemented the behavior on fatal errors can be unpredictable, 
especially when DMA is involved (some controllers just lock the bus 
completely so our timeout code wont get a chance).
If you switch the disk to PIO mode, does that help any ?


-- 

-Søren
Received on Wed May 11 2005 - 11:28:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:34 UTC