Subject: New model of controller ?
To: None <port-i386@netbsd.org>
From: Eric Delcamp <e.delcamp_NOSPAM@wanadoo.fr>
List: port-i386
Date: 04/11/2000 19:27:59
Hi !

I'm trying to transfer an old machine (chipset Intel FX + Ciryx P166+ ) to a
more decent hardware.
The new motherboard is a Gigabyte GA-5AX (rev 5.x) associated with a AMD
K6-2/500. In the documentation, they said that the controller understand the
UDMA/66 mode.
Here is the dmesg :

>NetBSD 1.4X (MARGO) #0: Fri Apr  7 19:55:43 CEST 2000
>    root@margo.no.net:/usr/src/sys/arch/i386/compile/MARGO
>cpu0: family 5 model 8 step c
>cpu0: AMD K6-2 (586-class)
>total memory = 32320 KB
>avail memory = 28680 KB
[...]
>pciide0 at pci0 dev 15 function 0: Acer Labs M5229 UDMA IDE Controller
>pciide0: bus-master DMA support present
>pciide0: primary channel configured to compatibility mode
>wd0 at pciide0 channel 0 drive 0: <ST31277A>
>wd0: drive supports 16-sector pio transfers, lba addressing
>wd0: 1221 MB, 2482 cyl, 16 head, 63 sec, 512 bytes/sect x 2501856 sectors
>wd0: 32-bit data port
>wd0: drive supports PIO mode 4, DMA mode 2
>pciide0: primary channel interrupting at irq 14
>wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
>pciide0: secondary channel configured to compatibility mode
>pciide0: disabling secondary channel (no drives)

But when "using" (in fact, just trying to do fsck -y), I got theses messages
over and over :

pciide0:0:0: lost interrupt
 type: ata tc_bcount: 8192 tc_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to PIO mode 4
wd0(pciide0:0:0): using PIO mode 4
wd0a: DMA error writing fsbn 129616 of 129616-129631 (wd0 bn 129679; cn 128
tn 10 sn 25), retrying
wd0: soft error (corrected)
pciide0:0:0: lost interrupt
 type: ata tc_bcount: 8192 tc_skip: 0
wd0a: device timeout writing fsbn 64 of 64-79 (wd0 bn 127; cn 0 tn 2 sn 1),
retrying
wd0: soft error (corrected)