Subject: Re: hard driver CRC error with RAID 5 under 2.0 release
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Rui-Xiang Guo <rxg@myrealbox.com>
List: port-i386
Date: 12/21/2004 08:46:05
On Thu, Dec 16, 2004 at 05:20:11PM +0800, Rui-Xiang Guo wrote:
> > In the dmesg you posted, wd2 gets errrors too.
> > 
> > ATA electrical specifications assumes 18 inches cables. With longer cables
> > you're out of specs, and all sort of things can happens.
> 
> I re-used the standard cables for all hard drivers.(I fixed the case ;))
> It looks fine with ATA 100 during boot. I'm tring to rebuild the RAID frame.
> I will report the result later...

Unfortunately, it appeared again.
Everything looks  fine during building RAID frame but when I try to
mirror something on the file system. The messages were printed out again.
Here is the part of dmesg -
[...]
cmdide0 at pci0 dev 18 function 0
cmdide0: CMD Technology PCI0649 (rev. 0x02)
cmdide0: bus-master DMA support present
cmdide0: primary channel configured to native-PCI mode
cmdide0: using ioapic0 pin 18 (irq 9) for native-PCI interrupt
atabus2 at cmdide0 channel 0
cmdide0: secondary channel configured to native-PCI mode
atabus3 at cmdide0 channel 1
cmdide1 at pci0 dev 20 function 0
cmdide1: CMD Technology PCI0649 (rev. 0x02)
cmdide1: bus-master DMA support present
cmdide1: primary channel configured to native-PCI mode
cmdide1: using ioapic0 pin 19 (irq 5) for native-PCI interrupt
atabus4 at cmdide1 channel 0
cmdide1: secondary channel configured to native-PCI mode
[...]
wd0 at atabus2 drive 0: <ST380021A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at atabus2 drive 1: <ST380021A>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
 transfers)
wd1(cmdide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
 transfers)
wd2 at atabus3 drive 0: <ST380021A>
wd2: drive supports 16-sector PIO transfers, LBA addressing
wd2: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd3 at atabus3 drive 1: <ST380021A>
wd3: drive supports 16-sector PIO transfers, LBA addressing
wd3: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd3: 32-bit data port
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd2(cmdide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
 transfers)
wd3(cmdide0:1:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
 transfers)
wd4 at atabus4 drive 0: <ST380021A>
wd4: drive supports 16-sector PIO transfers, LBA addressing
wd4: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd4: 32-bit data port
wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd5 at atabus4 drive 1: <ST380021A>
wd5: drive supports 16-sector PIO transfers, LBA addressing
wd5: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd5: 32-bit data port
wd5: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd4(cmdide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
 transfers)
wd5(cmdide1:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
 transfers)
wd6 at atabus5 drive 0: <ST380021A>
wd6: drive supports 16-sector PIO transfers, LBA addressing
wd6: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd6: 32-bit data port
wd6: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd7 at atabus5 drive 1: <ST380021A>
wd7: drive supports 16-sector PIO transfers, LBA addressing
wd7: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd7: 32-bit data port
wd7: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd6(cmdide1:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
 transfers)
wd7(cmdide1:1:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
 transfers)
[...]

And the error messages -
ex0: uplistptr was 0
wd2a: error reading fsbn 4348992 of 4348992-4349023 (wd2 bn 4348992; cn 4314 tn 
7 sn 39), retrying
wd2: (aborted command, interface CRC error)
wd2: soft error (corrected)
cmdide1:0: bogus intr
cmdide1:0: bogus intr

Maybe the hardware was broken...