Subject: Re: UDMA 100 probelm
To: None <port-i386@netbsd.org>
From: Kazushi (Jam) Marukawa <jam@pobox.com>
List: port-i386
Date: 03/18/2001 19:22:27
   On Mar 18, 13:29, Kazushi (Jam) Marukawa wrote:
   > Subject: Re: UDMA 100 probelm
   > I'll try to specify 0x0c00 to prohibit UDMA 5.  I don't have

I specified like:

   wd*     at pciide? channel ? drive ? flags 0x0c00

then, I got errors while recent kernel is using the HDD in
UDMA4 mode like below.  Could you please check the codes
recently added?  Thanks.


pciide1 at pci0 dev 10 function 0: Promise Ultra100/ATA Bus Master IDE Accelerator (rev. 0x02)
pciide1: bus-master DMA support present
pciide1: primary channel configured to native-PCI mode
pciide1: using irq 12 for native-PCI interrupt
wd1 at pciide1 channel 0 drive 0: <Maxtor 96147U8>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 58623 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 120060864 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)

...

Kernelized RAIDframe activated
pciide1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
pciide1:0:0: bus-master DMA error: missing interrupt, status=0x21
wd1d: DMA error reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
pciide1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
pciide1:0:0: bus-master DMA error: missing interrupt, status=0x21
wd1d: DMA error reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
pciide1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
pciide1:0:0: bus-master DMA error: missing interrupt, status=0x21
wd1d: DMA error reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
wd1d: aborted command, interface CRC error reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
wd1: soft error (corrected)
pciide1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
pciide1:0:0: bus-master DMA error: missing interrupt, status=0x21
wd1d: DMA error reading fsbn 1 (wd1 bn 1; cn 0 tn 0 sn 1), retrying
pciide1:0:0: lost interrupt
        type: a tc_bcount: 512 tc_skip: 0
pciide1:0:0: bus-master DMA error: missing interrupt, status=0x21
wd1d: DMA error reading fsbn 1 (wd1 bn 1; cn 0 tn 0 sn 1), retrying
wd1d: aborted command, interface CRC error reading fsbn 1 (wd1 bn 1; cn 0 tn 0 sn 1), retrying
pciide1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
pciide1:0:0: bus-master DMA error: missing interrupt, status=0x21
wd1d: DMA error reading fsbn 1 (wd1 bn 1; cn 0 tn 0 sn 1), retrying
wd1: soft error (corrected)
pciide1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
pciide1:0:0: bus-master DMA error: missing interrupt, status=0x21
wd1d: DMA error reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying

 << I resetted thsi machine

Regards,
-- Kazushi