Subject: port-i386/7807: 1.4 install floppy has "Bus-Master DMA error: missing interrupt" errs on install
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cgd@netbsd.org>
List: netbsd-bugs
Date: 06/18/1999 02:35:48
>Number:         7807
>Category:       port-i386
>Synopsis:       1.4 install floppy has "Bus-Master DMA error: missing interrupt" errs on install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 18 02:35:01 1999
>Last-Modified:
>Originator:     Chris Demetriou
>Organization:
>Release:        1.4
>Environment:
1.4, from a 1.4 install floppy. built by me from 1.4 sources with
a few unrelated modifications.
>Description:
When running an installation on one of my boxes (DEC Venturis GL 6180,
a PPRO-180 system) the pciide driver reports a bunch (typically
on the order of 5-15) of the following types of errors while installing
the sets on to the hard disk:

pciide0:0:0: lost interrupt 
        type: ata
        c_bcount: 65536
        c_skip: 0
pciide0:0:0: Bus-Master DMA error: missing interrupt, status=0x21
wd0e: DMA error writing fsbn 129184 of 129184-129311 (wd0 bn 764224; cn 758 tn 2
 sn 34), retrying
wd0: soft error (corrected)

It's worth noting that these errors do appear to be safely corrected,
i.e. installation continues and nothing _appears_ to be wrong
with the installed bits (though i've not tried to verify them
closely enough to be sure).

Different block numbers are reported for the different errors within
a single install, and are reported for subsequent install attempts.
(i.e. it does _not_ seem to be disk failure related or otherwise
related to a specific block or range of blocks.

Full dmesg output from the machine is pasted here, including a few
(but not all) of the errors reported during my recent install attempt:

NetBSD 1.4 (INSTALL) #0: Thu Jun 17 18:36:24 PDT 1999
    cgd@speedy.int.demetriou.com:/a/users/cgd/proj/netbsd/src-1-4-branch/sys/arch/i386/compile/INSTALL
cpu0: family 6 model 1 step 7
cpu0: Intel Pentium Pro (686-class)
real mem  = 49938432
avail mem = 42762240
using 635 buffers containing 2600960 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x1237 (rev. 0x02)
vendor 0x5333 product 0x8811 (VGA display, revision 0x54) at pci0 dev 3 function 0 not configured
pcib0 at pci0 dev 7 function 0
pcib0: vendor 0x8086 product 0x7000 (rev. 0x01)
pciide0 at pci0 dev 7 function 1: Intel 82371SB IDE Interface (PIIX3)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALL1280A>
wd0: drive supports 8-sector pio transfers, lba addressing
wd0: 1222MB, 2484 cyl, 16 head, 63 sec, 512 bytes/sect x 2503872 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2
pciide0: primary channel interrupting at irq 14
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
fxp0 at pci0 dev 12 function 0: Intel EtherExpress Pro 10+/100B Ethernet
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:a0:c9:aa:d3:eb
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask 4040 netmask 4840 ttymask 4842
md0: internal 1587K image area
boot device: fd0
root on md0a dumps on md0b
root file system type: ffs
pciide0:0:0: lost interrupt
        type: ata
        c_bcount: 65536
        c_skip: 0
pciide0:0:0: Bus-Master DMA error: missing interrupt, status=0x21
wd0e: DMA error writing fsbn 129184 of 129184-129311 (wd0 bn 764224; cn 758 tn 2 sn 34), 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=0x21
wd0e: DMA error writing fsbn 137008 of 137008-137135 (wd0 bn 772048; cn 765 tn 14 sn 46), 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=0x21
wd0e: DMA error writing fsbn 161568 of 161568-161695 (wd0 bn 796608; cn 790 tn 4 sn 36), 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=0x21
wd0e: DMA error writing fsbn 171056 of 171056-171183 (wd0 bn 806096; cn 799 tn 11 sn 11), retrying
wd0: soft error (corrected)

>How-To-Repeat:
Install bits on this machine, and perhaps others.

This machine's a crash&burn machine, so i can reinstall it at any time if
it'll help debug the problem.
>Fix:
unknown.

>Audit-Trail:
>Unformatted: