From owner-freebsd-current@FreeBSD.ORG Wed May 11 19:38:33 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25AD116A4CE; Wed, 11 May 2005 19:38:33 +0000 (GMT) Received: from pne-smtpout2-sn1.fre.skanova.net (pne-smtpout2-sn1.fre.skanova.net [81.228.11.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC9AE43D5F; Wed, 11 May 2005 19:38:32 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: from sentinel (195.198.193.104) by pne-smtpout2-sn1.fre.skanova.net (7.1.026.7) id 42687F20005589FF; Wed, 11 May 2005 21:38:31 +0200 From: "Daniel Eriksson" To: Date: Wed, 11 May 2005 21:38:29 +0200 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: Thread-Index: AcVWLODM4tlpdOBRT2a+ivYa8R5DYwAF6EUgAAbltSA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 cc: 'Ruslan Ermilov' cc: 'Soren Schmidt' Subject: RE: Accessing IDE disk with bad sectors freezes the box X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2005 19:38:33 -0000 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 error=40 LBA=478486335 g_vfs_done():ad4s1d[READ(offset=244984971264, length=16384)]error = 5 ad4: FAILURE - READ_DMA status=51 error=40 LBA=478507071 g_vfs_done():ad4s1d[READ(offset=244995522560, length=131072)]error = 5 ata2: SATA connect ready time=1480ms ata2: sata_connect devices=0x1 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