Subject: IDE DMA problems (1.4.2)
To: Port-i386 <port-i386@NetBSD.ORG>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: port-i386
Date: 06/24/2000 10:33:03
I installed a new IDE disk (wd1) on my 1.4.2 system and it's working less
than perfectly:

pciide0 at pci0 dev 7 function 1: VIA Technologies VT82C586A IDE Controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <ST34321A>
wd0: drive supports 32-sector pio transfers, lba addressing
wd0: 4103MB, 8894 cyl, 15 head, 63 sec, 512 bytes/sect x 8404830 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd1 at pciide0 channel 0 drive 1: <IBM-DTLA-307030>
wd1: drive supports 16-sector pio transfers, lba addressing
wd1: 29314MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 60036480 sectors
wd1: 32-bits data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)


wd1e:  aborted command, interface CRC error reading fsbn 8723152 of
8723152-8723263 (wd1 bn 8723152; cn 8653 tn 14 sn 46), retrying
wd1: soft error (corrected)
wd1e:  aborted command, interface CRC error reading fsbn 8757680 of
8757680-8757807 (wd1 bn 8757680; cn 8688 tn 2 sn 50), retrying
wd1: soft error (corrected)
wd1e:  aborted command, interface CRC error reading fsbn 8874144 of
8874144-8874159 (wd1 bn 8874144; cn 8803 tn 11 sn 27), retrying
wd1: soft error (corrected)
wd1e:  aborted command, interface CRC error reading fsbn 7732400 of
7732400-7732511 (wd1 bn 7732400; cn 7671 tn 0 sn 32), retrying
wd1: soft error (corrected)
wd1e:  aborted command, interface CRC error reading fsbn 7905536 of
7905536-7905647 (wd1 bn 7905536; cn 7842 tn 12 sn 44), retrying
wd1: soft error (corrected)
wd1e:  aborted command, interface CRC error reading fsbn 8024048 of
8024048-8024175 (wd1 bn 8024048; cn 7960 tn 5 sn 53), retrying
wd1: soft error (corrected)
wd1e:  aborted command, interface CRC error reading fsbn 8024944 of
8024944-8025071 (wd1 bn 8024944; cn 7961 tn 4 sn 4), retrying
wd1: soft error (corrected)
wd1: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 1 (using DMA data
transfers)
wd1e:  aborted command, interface CRC error reading fsbn 8190528 of
8190528-8190639 (wd1 bn 8190528; cn 8125 tn 8 sn 24), retrying
wd1: soft error (corrected)
wd1: transfer error, downgrading to PIO mode 4
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
wd1(pciide0:0:1): using PIO mode 4
wd1e:  aborted command, interface CRC error reading fsbn 9666992 of
9666992-9667103 (wd1 bn 9666992; cn 9590 tn 4 sn 20), retrying
wd1: soft error (corrected)


I see some similar messages for my ATAPI CD-ROM drive as well (on the
secondary IDE interface).

Is this a bug in the 1.4.2 IDE driver (has it been fixed in 1.5) or
a hardware problem?  Can I fix it in 1.4.2 somehow?

Thanks,

  -jm