Subject: UDMA errors with Promise in Miata
To: None <port-alpha@netbsd.org>
From: Michael Kukat <michael@unixiron.org>
List: port-alpha
Date: 03/30/2005 20:19:41
Hello,

as usual, i'm tuning my 2 Miatas, the current plan is:

- build in temperature-controlled fans to get the noise a bit away
  (the power supply fan is regulated... but doesn't seem to be very efficient)
- build in a 128MB IDE flash module to boot (pin 20 works as power for the
  transcend module)
- root-fs and some other fs on RAIDframe devices on 2 WD2000JB connected to a
  promise UDMA controller. And here comes the problem:

mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-0
cpu0: Architecture extensions: 1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (Pyxis), pass 1
cia0: extended capabilities: 1<BWEN>
cia0: using BWX for PCI config access
cia0: WARNING: Pyxis pass 1 DMA bug; no bets...
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled
...
ppb0 at pci0 dev 20 function 0: Digital Equipment DECchip 21052 PCI-PCI Bridge (
rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
...
pdcide0 at pci1 dev 9 function 0
pdcide0: Promise Ultra133/ATA Bus Master IDE Accelerator (rev. 0x02)
pdcide0: bus-master DMA support present
pdcide0: primary channel configured to native-PCI mode
pdcide0: using dec 550 irq 16 for native-PCI interrupt
atabus2 at pdcide0 channel 0
pdcide0: secondary channel configured to native-PCI mode
atabus3 at pdcide0 channel 1
...
wd1 at atabus2 drive 0: <WDC WD2000JB-00GVA0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(pdcide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
 transfers)
wd2 at atabus3 drive 0: <WDC WD2000JB-00GVA0>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd2(pdcide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
 transfers)
pdcide0:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
pdcide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd1: transfer error, downgrading to Ultra-DMA mode 2
wd1(pdcide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
wd1c: error reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
wd1: (aborted command, interface CRC error)
wd1: soft error (corrected)
pdcide0:1:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
pdcide0:1:0: bus-master DMA error: missing interrupt, status=0x21
wd2: transfer error, downgrading to Ultra-DMA mode 2
wd2(pdcide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
wd2c: error reading fsbn 0 (wd2 bn 0; cn 0 tn 0 sn 0), retrying
wd2: (aborted command, interface CRC error)
wd2: soft error (corrected)

Cabling should be okay, it's the delivered cable stuff from Promise, blue end
on controller, black end on drive, grey connector is free, and the cable is led
near the metal to have some kind of shielding and to not get too near to any
sources of distortion signals or so.

Any hints? Google didn't help we very much so far, OpenBSD has some trick with
flags and so, but i don't want to try out things i don't know what they really
do.

...Michael

-- 
http://www.unixiron.org/    Home Powered by: (Net|Open|Free)BSD IRIX NonStop-UX
Solaris AIX HP-UX Tru64 MUNIX Ultrix VMS SINIX Dolphin_Unix OpenStep MacOS A/UX