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>
next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote: > Hi Soren, >=20 > 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. >=20 > 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=20 implemented the behavior on fatal errors can be unpredictable,=20 especially when DMA is involved (some controllers just lock the bus=20 completely so our timeout code wont get a chance). If you switch the disk to PIO mode, does that help any ? --=20 -S=F8ren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?428207EA.6090703>