From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 29 16:44:47 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D5FE16A4CE for ; Fri, 29 Oct 2004 16:44:47 +0000 (GMT) Received: from cydem.org (S0106000103ce4c9c.ed.shawcable.net [68.149.254.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3322943D45 for ; Fri, 29 Oct 2004 16:44:47 +0000 (GMT) (envelope-from soralx@cydem.org) Received: from S01060020ed3972ba.ed.shawcable.net (S01060020ed3972ba.ed.shawcable.net [68.149.254.42]) by cydem.org (Postfix/FreeBSD) with ESMTP id 62C3138A84 for ; Fri, 29 Oct 2004 10:44:46 -0600 (MDT) From: To: freebsd-hackers@freebsd.org Date: Fri, 29 Oct 2004 10:44:34 -0600 User-Agent: KMail/1.5.4 References: <200410081937.15068.miha@ghuug.org> <4168F9E7.9040408@DeepCore.dk> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Message-Id: <200410291044.34973.soralx@cydem.org> Subject: Re: ad0: FAILURE - WRITE_DMA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2004 16:44:47 -0000 > This sounds very possible to me. I have been experiencing the same > error, on a system that I've been trying to set up using 5.3-RC1 and > a new 160Gbyte SATA drives My hardware is: > > atapci0: port > 0xb000-0xb00f,0xac00-0xac03,0xa800-0xa807,0xa400-0xa403,0xa000-0xa007 mem > 0xdf081000-0xdf0811ff irq 18 at device 11.0 on pci1 ad4: 152627MB > [310101/16/63] at ata2-master SATA150 > > (I notice that Michail and I both have Seagate drives ...). > > I had problems with a filesystem on a partition which crossed the > LBA=268435455 threshold. After googling and reading this thread and > Søren's posting, I tried removing the filesystem and making a little > 1000 sector partition which straddled the lba48 transition sector - I was > able to get read and write failure messages of the above form > reproducibly, by dd-ing between the test partition and /dev/zero. The same problem with similar IDE Seagate HDD: ad0: ATA-6 disk at ata0-master ad0: 152627MB (312581808 sectors), 310101 C, 16 H, 63 S, 512 B [...] ad0: FAILURE - READ_DMA status=51 error=10 LBA=268435455 It had 312581808 sectors, but failed at >= 268435455 : bash-2.05b# dd if=/dev/ad0 of=/dev/null bs=512 skip=268435453 dd: /dev/ad0: Input/output error 2+0 records in 2+0 records out 1024 bytes transferred in 0.163827 secs (6250 bytes/sec) bash-2.05b# dd if=/dev/ad0 of=/dev/null bs=512 skip=268435454 dd: /dev/ad0: Input/output error 1+0 records in 1+0 records out 512 bytes transferred in 0.156888 secs (3263 bytes/sec) bash-2.05b# dd if=/dev/ad0 of=/dev/null bs=512 skip=268435455 dd: /dev/ad0: Input/output error 0+0 records in 0+0 records out 0 bytes transferred in 0.149888 secs (0 bytes/sec) Decreasing the 48-bit LBA threshold by 1 really helped: bash-2.05b# dd if=/dev/ad0 bs=512 skip=312581808 0+0 records in 0+0 records out 0 bytes transferred in 0.000088 secs (0 bytes/sec) bash-2.05b# dd if=/dev/ad0 bs=512 skip=312581807 1+0 records in 1+0 records out 512 bytes transferred in 0.019809 secs (25847 bytes/sec) Timestamp: 0x41826DE9 [SorAlx] http://cydem.org.ua/ ridin' VN1500-B2