Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2005 21:38:29 +0200
From:      "Daniel Eriksson" <daniel_k_eriksson@telia.com>
To:        <freebsd-current@FreeBSD.org>
Cc:        'Soren Schmidt' <sos@DeepCore.dk>
Subject:   RE: Accessing IDE disk with bad sectors freezes the box
Message-ID:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAAAX%2B9paGgrkStIJE6uo%2BRLQEAAAAA@telia.com>
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAAK2qOm3PLmk2v7WAC%2BRJVOQEAAAAA@telia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I wrote:

> I have a 6-CURRENT installation on a spare disk that I will 
> hook up to the
> machine later and see how it handles the bad sectors using the same
> controller.

Using a week-old CURRENT to read the disk with the bad sectors when it's
hooked up to a SiL 3112 controller yields the following result:

...
ad4: FAILURE - READ_DMA status=51<READY,DSC,ERROR> error=40<UNCORRECTABLE>
LBA=478486335
g_vfs_done():ad4s1d[READ(offset=244984971264, length=16384)]error = 5
ad4: FAILURE - READ_DMA status=51<READY,DSC,ERROR> error=40<UNCORRECTABLE>
LBA=478507071
g_vfs_done():ad4s1d[READ(offset=244995522560, length=131072)]error = 5
ata2: SATA connect ready time=1480ms
ata2: sata_connect devices=0x1<ATA_MASTER>
ata2: SATA connect ready time=10000ms
ata2: sata_connect devices=0x0
ad4: FAILURE - device detached
subdisk4: detached
ad4: detached
unknown: timeout waiting to issue command
unknown: error issueing SETFEATURES SET TRANSFER MODE command
unknown: req=0xc16e4000 SETFEATURES SET TRANSFER MODE semaphore timeout !!
DANGER Will Robinson !!
unknown: req=0xc16e4000 SETFEATURES SET TRANSFER MODE semaphore timeout !!
DANGER Will Robinson !!

The process reading the disk gets stuck in "getblk D+" status according to
'top' and cannot be killed. Compared to 5.4-RC4 this is a regression imho.

/Daniel Eriksson




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAAAX%2B9paGgrkStIJE6uo%2BRLQEAAAAA>