Subject: hard driver CRC error with RAID 5 under 2.0 release
To: None <port-i386@netbsd.org>
From: Rui-Xiang Guo <rxg@myrealbox.com>
List: port-i386
Date: 12/15/2004 12:56:36
Hi, all.
I tried to build a RAID 5 system under 2.0 release with 8 hard drivers.
It complained about some CRC error with wd0 druing establishing RAID frame.
Here is the dmesg output -
NetBSD 2.0_BETA (GENERIC.MP) #0: Thu Jul 8 08:06:07 NOVST 2004
ianzag@NBSD1:/usr/build/obj/i386/sys/arch/i386/compile/GENERIC.MP
total memory = 1023 MB
avail memory = 994 MB
BIOS32 rev. 0 found at 0xfdb60
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (INTEL 440BX )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium II (686-class), 400.93 MHz, id 0x652
cpu0: features 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 183fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 183fbff<FXSR>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 512 KB 32B/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: calibrating local timer
cpu0: apic clock running at 100 MHz
cpu0: 32 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel Pentium II (686-class), 400.91 MHz, id 0x652
cpu1: features 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 183fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu1: features 183fbff<FXSR>
cpu1: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu1: L2 cache 512 KB 32B/line 4-way
cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type ISA
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x02)
agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Silicon Integrated System 6326 AGP VGA (rev. 0x0b
)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
piixide0 at pci0 dev 7 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev.
0x01)
uhci0: can't map i/o space
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revisio
n 0x02) at pci0 dev 7 function 3 not configured
ahc1 at pci0 dev 14 function 0: Adaptec aic7895 Ultra SCSI adapter
ahc1: interrupting at ioapic0 pin 16 (irq 10)
ahc1: aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc1: 16 targets, 8 luns per target
ahc2 at pci0 dev 14 function 1: Adaptec aic7895 Ultra SCSI adapter
ahc2: interrupting at ioapic0 pin 16 (irq 10)
ahc2: aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs
scsibus1 at ahc2: 16 targets, 8 luns per target
ex0 at pci0 dev 15 function 0: 3Com 3c905C-TX 10/100 Ethernet with mngmt (rev. 0
x6c)
ex0: interrupting at ioapic0 pin 16 (irq 10)
ex0: MAC address 00:50:da:87:e3:d3
bmtphy0 at ex0 phy 24: Broadcom 3c905C internal PHY, rev. 4
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
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
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
ioapic0: enabling
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: density unknown
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
wd0 at atabus0 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 atabus0 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(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
wd1(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
wd2 at atabus1 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 atabus1 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(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
wd3(piixide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
wd4 at atabus2 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 atabus2 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(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
wd5(cmdide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
wd6 at atabus3 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 atabus3 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(cmdide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
wd7(cmdide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
sd0 at scsibus0 target 0 lun 0: <IBM, DDRS-39130D, DC1B> disk fixed
sd0: 8715 MB, 8387 cyl, 10 head, 212 sec, 512 bytes/sect x 17850000 sectors
sd0: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
cpu1: CPU 1 running
raid0: Component /dev/wd0a being configured at col: 0
Column: 0 Num Columns: 7
Version: 2 Serial Number: 2004121401 Mod Counter: 86
Clean: Yes Status: 0
raid0: Component /dev/wd1a being configured at col: 1
Column: 1 Num Columns: 7
Version: 2 Serial Number: 2004121401 Mod Counter: 86
Clean: Yes Status: 0
raid0: Component /dev/wd2a being configured at col: 2
Column: 2 Num Columns: 7
Version: 2 Serial Number: 2004121401 Mod Counter: 86
Clean: Yes Status: 0
raid0: Component /dev/wd3a being configured at col: 3
Column: 3 Num Columns: 7
Version: 2 Serial Number: 2004121401 Mod Counter: 86
Clean: Yes Status: 0
raid0: Component /dev/wd4a being configured at col: 4
Column: 4 Num Columns: 7
Version: 2 Serial Number: 2004121401 Mod Counter: 86
Clean: Yes Status: 0
raid0: Component /dev/wd5a being configured at col: 5
Column: 5 Num Columns: 7
Version: 2 Serial Number: 2004121401 Mod Counter: 86
Clean: Yes Status: 0
raid0: Component /dev/wd6a being configured at col: 6
Column: 6 Num Columns: 7
Version: 2 Serial Number: 2004121401 Mod Counter: 86
Clean: Yes Status: 0
raid0: RAID Level 5
raid0: Components: /dev/wd0a /dev/wd1a /dev/wd2a /dev/wd3a /dev/wd4a /dev/wd5a /
dev/wd6a
raid0: Total Sectors: 937808448 (457914 MB)
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wd2a: error reading fsbn 108398816 of 108398816-108398847 (wd2 bn 108398816; cn
107538 tn 8 sn 8), retrying
wd2: (aborted command, interface CRC error)
wd2a: error reading fsbn 108398816 of 108398816-108398847 (wd2 bn 108398816; cn
107538 tn 8 sn 8), retrying
wd2: (aborted command, interface CRC error)
wd2a: error reading fsbn 108398816 of 108398816-108398847 (wd2 bn 108398816; cn
107538 tn 8 sn 8), retrying
wd2: (aborted command, interface CRC error)
wd2: transfer error, downgrading to Ultra-DMA mode 1
wd2(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
wd3(piixide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
wd2a: error reading fsbn 108398816 of 108398816-108398847 (wd2 bn 108398816; cn
107538 tn 8 sn 8), retrying
wd2: (aborted command, interface CRC error)
wd2: soft error (corrected)
wd0a: error reading fsbn 80 of 80-83 (wd0 bn 80; cn 0 tn 1 sn 17), retrying
wd0: (aborted command, interface CRC error)
wd0: soft error (corrected)
wd0a: error reading fsbn 80 of 80-83 (wd0 bn 80; cn 0 tn 1 sn 17), retrying
wd0: (aborted command, interface CRC error)
wd0a: error reading fsbn 80 of 80-83 (wd0 bn 80; cn 0 tn 1 sn 17), retrying
wd0: (aborted command, interface CRC error)
wd0: soft error (corrected)
wd0a: error reading fsbn 110349408 of 110349408-110349439 (wd0 bn 110349408; cn 109473 tn 9 sn 57), retrying
wd0: (aborted command, interface CRC error)
wd0a: error reading fsbn 110349408 of 110349408-110349439 (wd0 bn 110349408; cn
109473 tn 9 sn 57), retrying
wd0: (aborted command, interface CRC error)
wd0a: error reading fsbn 110349408 of 110349408-110349439 (wd0 bn 110349408; cn
109473 tn 9 sn 57), retrying
wd0: (aborted command, interface CRC error)
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
wd1(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
wd0a: error reading fsbn 110349408 of 110349408-110349439 (wd0 bn 110349408; cn
109473 tn 9 sn 57), retrying
wd0: (aborted command, interface CRC error)
wd0: soft error (corrected)
Here is the raid0.conf -
START array
1 7 1
START disks
/dev/wd0a
/dev/wd1a
/dev/wd2a
/dev/wd3a
/dev/wd4a
/dev/wd5a
/dev/wd6a
START spare
/dev/wd7a
START layout
32 1 1 5
START queue
fifo 100
---END---
What's wrong?
I am testing the raid0a file system to see if it is stable...