From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 18 12:50:34 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEBC116A4D1 for ; Thu, 18 Nov 2004 12:50:34 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F8BE43D4C for ; Thu, 18 Nov 2004 12:50:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAICoYBn017494 for ; Thu, 18 Nov 2004 12:50:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAICoYRs017492; Thu, 18 Nov 2004 12:50:34 GMT (envelope-from gnats) Resent-Date: Thu, 18 Nov 2004 12:50:34 GMT Resent-Message-Id: <200411181250.iAICoYRs017492@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tuure Laurinolli Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8236B16A4CE for ; Thu, 18 Nov 2004 12:43:16 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D55043D31 for ; Thu, 18 Nov 2004 12:43:16 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iAIChFFn053206 for ; Thu, 18 Nov 2004 12:43:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id iAIChFFn053205; Thu, 18 Nov 2004 12:43:15 GMT (envelope-from nobody) Message-Id: <200411181243.iAIChFFn053205@www.freebsd.org> Date: Thu, 18 Nov 2004 12:43:15 GMT From: Tuure Laurinolli To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/74070: DMA problwms with large disks and HPT370 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 12:50:35 -0000 >Number: 74070 >Category: kern >Synopsis: DMA problwms with large disks and HPT370 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 18 12:50:34 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Tuure Laurinolli >Release: FreeBSD 5.3-RC1 i386 >Organization: >Environment: FreeBSD vortex.home.lan 5.3-RC1 FreeBSD 5.3-RC1 #6: Thu Oct 21 19:26:48 EEST 2004 root@vortex.home.lan:/usr/obj/usr/src/sys/VORTEX i386 Abit VP6 motherboard with latest BIOS, ie. HPT370 RAID controller two Seagate HDDs, model , ie. 200GB models >Description: I get DMA errors when trying to access sector 268435455, or the 2^28th sector from the beginning of the disk. I guess this is a controller problem, however I don't have any real proof, because this is my only available controller that supports disks as large as those. I will try to find another controller to test with. I think it would be very unlikely for two new disks to both have the same problem on the same sector. With a single disk, the errors of dd if=/dev/ad6 of=/tmp/test6 are: ad6: TIMEOUT - READ_DMA retrying (2 retries left) LBA=268435455 ad6: TIMEOUT - READ_DMA retrying (1 retries left) LBA=268435455 ad6: FAILURE - READ_DMA timed out With a HPT-native RAID1 setup the results are worse. I don't have exact error messages, but there are DMA timeouts on both disks (ad4 and ad6), that result in tearing the array (ar0) apart, and causing a kernel panic (maybe because the array is the root disk too). >How-To-Repeat: [14:30:23][tazle@vortex][/var/run]% sudo dd if=/dev/ad6 of=/tmp/test6 skip=268435450 count=10 dd: /dev/ad6: Input/output error 5+0 records in 5+0 records out 2560 bytes transferred in 15.645115 secs (164 bytes/sec) The system console gives the errors given in full desription. >Fix: >Release-Note: >Audit-Trail: >Unformatted: