From owner-freebsd-stable@FreeBSD.ORG Sun Mar 19 17:12:50 2006 Return-Path: X-Original-To: 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 BFEA616A401 for ; Sun, 19 Mar 2006 17:12:50 +0000 (UTC) (envelope-from loader@freebsdmall.com) Received: from mail.freebsdmall.com (69.50.233.168.ip.nectartech.com [69.50.233.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82D7843D45 for ; Sun, 19 Mar 2006 17:12:50 +0000 (GMT) (envelope-from loader@freebsdmall.com) Received: by mail.freebsdmall.com (Postfix, from userid 2136) id 4925B1D98894; Sun, 19 Mar 2006 09:12:50 -0800 (PST) X-Mailer: emacs 22.0.50.1 (via feedmail 8 I) From: loader To: "Rong-En Fan" References: <6eb82e0603160732p4bb85504w7d3ef2baec8dd26f@mail.gmail.com> User-Agent: Emacs 22.0.50.1 on i386-unknown-freebsd6.0 X-GPG-Public-Key: http://www.freebsdmall.com/~loader/loader.asc X-GPG-Key-ID: 1024D/0277E075 X-GPG-Key-Fingerprint: F8A0 A354 5D97 B175 7FC9 15DC 0771 07CF 0277 E075 Date: Mon, 20 Mar 2006 01:12:40 +0800 In-Reply-To: <6eb82e0603160732p4bb85504w7d3ef2baec8dd26f@mail.gmail.com> (Rong-En Fan's message of "Thu, 16 Mar 2006 10:32:27 -0500") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: stable@freebsd.org Subject: Re: 6.1 ata panic if dma enabled 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: Sun, 19 Mar 2006 17:12:50 -0000 "Rong-En Fan" wrote: > The ata controller and ad0 is > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on > pci0 > atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0 > ata0: on atapci0 > atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 > atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 > ata0: reset tp1 mask=03 ostat0=50 ostat1=00 > ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 > ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 > ata0: reset tp2 stat0=50 stat1=00 devices=0x1 > ata0: [MPSAFE] > ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire > ad0: setting PIO4 on 82C686B chip > ad0: setting UDMA100 on 82C686B chip > ad0: 38166MB at ata0-master UDMA100 > ad0: 78165360 sectors [19158C/16H/255S] 16 sectors/interrupt 1 depth queue > > I'm pretty sure this HD is capable of UDMA100 (by the specification on Seagate > website). > > The console messages are: > /dev/ad0s1e: clean, 823031 free (447 frags, 102823 blocks, 0.0% fragmentation) > ad0: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=191 > ad0: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=191 > ad0: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=131647 > ad0: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=131647 > ad0: FAILURE - WRITE_DMA status=51 > error=84 LBA=131647 > g_vfs_done():ad0s1a[WRITE(offset=67371008, length=16384)]error = 5 I got a similar problem when I connect my HDD with a DMA33 cable last time when I was trying to install 6.0-PRERELEASE: ad0: 190782MB at ata0-master UDMA100 Trying to mount root from ufs:/dev/ad0s1a ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA = 12623 ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA = 12623 ad0: FAILURE - READ_DMA status = 51 < READ, DSC, ERROR> error = 84 LBA = 12623 g_vfs_done():ad0s1a[READ(offset = 6430720, length = 4096)] error = 5 vnode_pager_getpages: I/O read error vm_fault: pager read_error, pid 1 (swapper) init died (signal 6, exit 0) panic: Going nowhere without my init ! Uptime: 2s Cannot dump, No dump device defined I also tried to disable DMA to make that disk work, but later I found it was caused by a DMA33 cable. That disk worked fined after I replaced that cable. Regards, loader