Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2005 15:26:02 +0200
From:      =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: Accessing IDE disk with bad sectors freezes the box
Message-ID:  <428207EA.6090703@DeepCore.dk>
In-Reply-To: <20050511132427.GA64084@ip.net.ua>
References:  <20050511132427.GA64084@ip.net.ua>

index | next in thread | previous in thread | raw e-mail

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



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?428207EA.6090703>