From owner-freebsd-stable@FreeBSD.ORG Thu Aug 17 07:31:04 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12FB416A4DD for ; Thu, 17 Aug 2006 07:31:04 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A725443D60 for ; Thu, 17 Aug 2006 07:30:56 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.25]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k7H7UpUC016447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 Aug 2006 17:00:51 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Thu, 17 Aug 2006 17:00:40 +0930 User-Agent: KMail/1.9.3 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12428980.a2kdz4Qfjm"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200608171700.48376.doconnor@gsoft.com.au> X-Spam-Score: -1.36 () ALL_TRUSTED,UPPERCASE_25_50 X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Subject: SATA timeouts with 6.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 07:31:04 -0000 --nextPart12428980.a2kdz4Qfjm Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I have an Asus A8V with AMD64 3200+, and a Promise TX2300 RAID card and I h= ave configured two WD 320Gb disks in RAID 1. I have been testing RAID recov= ery and have noticed that I get timeouts when rebuilding the array (but not= if I just read /dev/ar0 normally). Here's part of dmesg.. =2E.. atapci0: port 0xa400-0xa47f,0xa000-0x= a0ff mem 0xfab00000-0xfab00fff,0xfaa00000-0xfaa1ffff irq 16 at device 11.0 = on pci0 ata2: on atapci0 ata3: on atapci0 ata4: on atapci0 =2E.. ad4: 305245MB at ata2-master SATA150 ad6: 305245MB at ata3-master SATA150 ar0: 305175MB status: READY ar0: disk0 READY (master) using ad6 at ata3-master ar0: disk1 READY (mirror) using ad4 at ata2-master =2E.. I pull the plug.. ar0: WARNING - mirror protection lost. RAID1 array in DEGRADED mode subdisk4: detached ad4: detached And reconnect it.. ad4: 305245MB at ata2-master SATA150 ad4: inserted into ar0 disk1 as spare And then start my rebuild.. ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SET_MULTI taskqueue timeout - completing request directly ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D5481728 ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D16812032 ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SET_MULTI taskqueue timeout - completing request directly ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D18238720 ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D25063680 ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SET_MULTI taskqueue timeout - completing request directly ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D27414272 ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D32437760 ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SET_MULTI taskqueue timeout - completing request directly ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D37649408 ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D45399808 ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SET_MULTI taskqueue timeout - completing request directly ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D56254208 ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D58566912 ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing= request directly ad6: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing req= uest directly ad6: WARNING - SET_MULTI taskqueue timeout - completing request directly ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D89094912 I believe these drives are compatible with the controller - a very similar model is listed in the test sheet (different capacity). I have tried 4 sets of SATA cables with no change in behaviour. I have also seen the array 'split' where the code sees 2 arrays (one on each disk) when I plug the drive back in. I would have expected the ATA code to= =20 notice it had the same ID number (I am assuming that when the array is crea= ted it gets a moderately unique ID) but the new disk has an older generation number and so not add it. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart12428980.a2kdz4Qfjm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBE5Bso5ZPcIHs/zowRAqWgAJ9SwNpTvJeij1VhXPSjVrxVtX4wWwCePTL8 LXPL/Y1lfdQ9v8HI3IacznA= =MLh/ -----END PGP SIGNATURE----- --nextPart12428980.a2kdz4Qfjm--