Subject: UDMA problems with 1.4
To: None <port-i386@netbsd.org>
From: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
List: port-i386
Date: 01/24/2000 14:20:55
  I installed 1.4 since I had the CDROM, but I noticed this with
-current as well on this machine...


pciide0:0:0: lost interrupt
        type: ata
        c_bcount: 3072
        c_skip: 0
pciide0:0:0: Bus-Master DMA error: missing interrupt, status=0x60
wd0a: DMA error writing fsbn 16 of 16-21 (wd0 bn 1231351; cn 1303 tn 0 sn 16), retrying
pciide0:0:0: lost interrupt
        type: ata
        c_bcount: 3072
        c_skip: 0
pciide0:0:0: Bus-Master DMA error: missing interrupt, status=0x60
wd0: transfer error, downgrading to DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
wd0a: DMA error writing fsbn 16 of 16-21 (wd0 bn 1231351; cn 1303 tn 0 sn 16), retrying
wd0: soft error (corrected)

  I think that this means that it takes awhile for the controller to figure
out which mode really works on the drive. The drive is:

pciide0 at pci0 dev 0 function 1: Silicon Integrated System 5597/5598 IDE controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 1: <ATAPI CD-ROM DRIVE 40X MAXIMUM, , N0AP> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
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
pciide0: primary channel interrupting at irq 14
pciide0: secondary channel configured to compatibility mode
pciide0: disabling secondary channel (no drives)
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)

  Should I move the CDROM to the second channel?
  Or should I seek a replacement drive?

   :!mcr!:            |  Cow#1: Are you worried about getting Mad Cow Disease?
   Michael Richardson |  Cow#2: No. I'm a duck.
 Home: mcr@sandelman.ottawa.on.ca. PGP key available.