Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2006 01:12:40 +0800
From:      loader <loader@freebsdmall.com>
To:        "Rong-En Fan" <grafan@gmail.com>
Cc:        stable@freebsd.org
Subject:   Re: 6.1 ata panic if dma enabled
Message-ID:  <giek0ypddj.fsf@observer.unknown.com>
In-Reply-To: <6eb82e0603160732p4bb85504w7d3ef2baec8dd26f@mail.gmail.com> (Rong-En Fan's message of "Thu, 16 Mar 2006 10:32:27 -0500")
References:  <6eb82e0603160732p4bb85504w7d3ef2baec8dd26f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Rong-En Fan" <grafan@gmail.com> wrote:

> The ata controller and ad0 is
> atapci0: <VIA 82C686B UDMA100 controller> 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: <ATA channel 0> 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<ATA_MASTER>
> 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 <Seagate ST340016A 3.10> 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<READY,DSC,ERROR>
> error=84<ICRC,ABORTED> 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 <Seagate ST3200826A 3.03> 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<ICRC,
     ABORTED> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?giek0ypddj.fsf>