Subject: Re: Soft Errors / DMA errors on IBM 18G ATAPI disk
To: None <port-i386@netbsd.org>
From: Bruce Anderson <brucea@spacestar.net>
List: port-i386
Date: 10/18/1999 08:40:00
On Mon, Oct 18, 1999 4:07 AM, Manuel Bouyer
<mailto:bouyer@antioche.lip6.fr> wrote:
>On Sun, Oct 17, 1999 at 12:43:39PM -0700, Mike Cheponis wrote:
>> The motherboard has the Ali M1541/M1543C chipset.
>> 
>> I guess one question is: Is this a h/w problem that prevents, in the
case
>> you mention, the Ali (acer) chipset from properly doing ultra dma?
>> 
>> Or is this a problem with NetBSD's inability to massage the Ali chipset
>> properly to do ultra dma?
>
>I have:
>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: <ST36531A>
>wd0: drive supports 32-sector pio transfers, lba addressing
>wd0: 6204MB, 13446 cyl, 15 head, 63 sec, 512 bytes/sect x 12706470 sectors
>wd0: 32-bits data port
>wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
>
>and also some other with different drives, but all are asus motherboards.
>Works fine for me.
>But is has been reported that some motherboard don't properly do
Ultra-DMA,
>I think because of electrical properties ...
>

I too have little trouble with my Ultra/33 Maxtor, but two Maxtor Ultra/66
drives I just purchased generate the same errors reported so far.

I did change cables several times and I tried an Ultra66 cable, same result
every
time lost interrupt and the buss always hangs by the fourth lost interrupt
retry.




 Tyan s1590s 
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
VIA Technologies product 0x0597 (host bridge, revision 0x04) at pci0 dev 0
function 0 not configured
ppb0 at pci0 dev 1 function 0: VIA Technologies product 0x8598 (rev. 0x00)
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C586 (Apollo VP) PCI-ISA Bridge (rev. 0x47)
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 0wdattach


  Mainboard M571
NetBSD 1.4.1 (LEOPARD) #4: Sun Oct 17 20:37:04 PDT 1999
    bruce@leopard:/usr/src/sys/arch/i386/compile/LEOPARD

mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Silicon Integrated System 5597/5598 host bridge (rev. 0x02)
pcib0 at pci0 dev 1 function 0
pcib0: Silicon Integrated System 85C503 or 5597/5598 ISA bridge (rev. 0x01)
pciide0 at pci0 dev 1 function 1: Silicon Integrated System 5597/5598 IDE
controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode

wd0 at pciide0 channel 0 drive 0: <Maxtor 90650U2>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 6199MB, 12595 cyl, 16 head, 63 sec, 512 bytes/sect x 12695760 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4, Ultra-DMA
mode 3, Ultra-DMA mode 2
wd1 at pciide0 channel 0 drive 1: <Maxtor 90576D4>
wd1: drive supports 16-sector pio transfers, lba addressing
wd1: 5495MB, 11166 cyl, 16 head, 63 sec, 512 bytes/sect x 11255328 sectors
wd1: 32-bits data port
wd1: 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)
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)


pciide0:0:1: lost interrupt
        type: ata
        c_bcount: 0
        c_skip: 0
wd0e:  aborted command, interface CRC error reading fsbn 7661488 of
7661488-7661503 (wd0 bn 8024368; cn 7960 tn 10 sn 58), retrying
wd0: soft error (corrected)
pciide0:0:0: lost interrupt
        type: ata
        c_bcount: 65536
        c_skip: 0
pciide0:0:0: Bus-Master DMA error: missing interrupt, status=0x60
wd0e:  aborted command, interface CRC error reading fsbn 924400 of
924400-924527 (wd0 bn 1287280; cn 1277 tn 1 sn 1), retrying
wd0: soft error (corrected)
pciide0:0:0: lost interrupt
        type: ata
        c_bcount: 65536
        c_skip: 0
pciide0:0:0: Bus-Master DMA error: missing interrupt, status=0x60
wd0e:  aborted command, interface CRC error reading fsbn 1256560 of
1256560-1256687 (wd0 bn 1619440; cn 1606 tn 9 sn 25), retrying
wd0: soft error (corrected)

One more error like this and the interface hangs.


  " Stamp out root login's .  .  .  . su "
    --Bruce Anderson Student DCTC