Subject: pciide0:0:1: lost interrupt problem...
To: None <port-i386@netbsd.org>
From: Brian Stark <bstark@siemens-psc.com>
List: port-i386
Date: 06/19/1999 21:17:46
Hello,

I'm getting some problems on a 1.4/i386 system (Pentium 166MHz) and maybe
some here can tell me what is going on.


PROBLEM:

While copying a large file (about 17.8MB in size) from a file system 
located on a Seagate disk (disk wd1) to a file system on a Western 
Digital disk (disk wd2) the following error messages appear in the 
window for the xconsole program (X Window System is running):

pciide0:0:1: lost interrupt
        type: ata
        c_bcount: 32768
        c_skip: 0
pciide0:0:1: Bus-Master DMA error: missing interrupt, status=0x61
wd1e: DMA error reading fsbn 275929 of 275929-275992 (wd1 bn 275992; cn 273 tn 12 sn 52), retrying
wd1: soft error (corrected)
pciide0:0:1: lost interrupt
        type: ata
        c_bcount: 32768
        c_skip: 0
pciide0:0:1: Bus-Master DMA error: missing interrupt, status=0x61
wd1e: DMA error reading fsbn 520601 of 520601-520664 (wd1 bn 520664; cn 516 tn 8 sn 32), retrying
wd1: soft error (corrected)


This occurs on a single user system running NetBSD 1.4, but the problem has
also been observed in the past when the machine was running NetBSD 1.3.3.

The output from dmesg is as follows:


NetBSD 1.4 (CALLISTO) #2: Sat Jun  5 16:02:26 PDT 1999
    root@callisto.niangua.net:/usr/src/sys/arch/i386/compile/CALLISTO
cpu0: family 5 model 2 step c
cpu0: Intel Pentium (P54C) (586-class)
real mem  = 133824512
avail mem = 121229312
using 1659 buffers containing 6795264 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: Intel 82437FX System Controller (TSC) (rev. 0x02)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371FB PCI-to-ISA Bridge (PIIX) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371FB IDE controller (PIIX)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <WDC AC33100H>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 3020MB, 6136 cyl, 16 head, 63 sec, 512 bytes/sect x 6185088 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2
wd1 at pciide0 channel 0 drive 1: <ST32140A>
wd1: drive supports 32-sector pio transfers, lba addressing
wd1: 2015MB, 4095 cyl, 16 head, 63 sec, 512 bytes/sect x 4127760 sectors
wd1: 32-bits data port
wd1: drive supports PIO mode 4, DMA mode 2
pciide0: primary channel interrupting at irq 14
pciide0: secondary channel wired to compatibility mode
wd2 at pciide0 channel 1 drive 0: <WDC AC25100L>
wd2: drive supports 16-sector pio transfers, lba addressing
wd2: 4924MB, 10672 cyl, 15 head, 63 sec, 512 bytes/sect x 10085040 sectors
wd2: 32-bits data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd1(pciide0:0:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd2(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
vga1 at pci0 dev 15 function 0: S3 86C968-0 ("Vision968") (rev. 0x00)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
ahc0 at pci0 dev 16 function 0
ahc0: interrupting at irq 10
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
scsibus0 at ahc0 channel 0: 16 targets, 8 luns per target
ahc0: target 2 synchronous at 5.0MHz, offset = 0xf
cd0 at scsibus0 targ 2 lun 0: <PLEXTOR, CD-ROM PX-6XCS, 1.08> SCSI2 5/cdrom removable
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
com2 at isa0 port 0x3e8-0x3ef irq 9: ESP, 1024 byte fifo
lpt0 at isa0 port 0x378-0x37b irq 7
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
opms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: 1.2MB, 80 cyl, 2 head, 15 sec
isapnp0: read port 0x203
sb0 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb0: Creative SB AWE32 PnP Audio: dsp v4.13
midi1 at sb0: <MPU-401 MIDI UART>
audio0 at sb0: full duplex
opl0 at sb0: model OPL3
midi2 at opl0: <SB Yamaha OPL3>
isapnp0: <Creative SB AWE32 PnP, PNPFFFF, , Reserved> port 0x100/1 not configured
isapnp0: <Creative SB AWE32 PnP, CTL0021, , WaveTable> port 0x620/4 not configured
joy0 at isapnp0 port 0x200/8
joy0: Creative SB AWE32 PnP Game
joy0: joystick connected
isapnp0: <Creative SB AWE32 PnP, CTL0051, , StereoEnhance> port 0x100/1 not configured
biomask c440 netmask c440 ttymask d4c2
wscons: wskbd0 glued to wsdisplay0 (console)
wd1: no disk label
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs


Anyone know why this is happening?? Sometimes the system allows me to
continmue after these messages come out, other times the system is
"frozen" and I can't do anything. When that happens, I have to reboot and
then deal with problems like fsck'ing the file systems.


Brian


-------------------------------------------------------------------------
| Brian Stark                       | Internet : bstark@siemens-psc.com |
| Siemens PT&D, LLC                 | Voice    : +1 612 536-4697        |
| Power Systems Control Division    | Fax      : +1 612 536-4919        |
| 7225 Northland Drive, Brooklyn Park, Minnesota 55428   USA            | 
-------------------------------------------------------------------------