Subject: UDMA/66 gets pciide0:0:0: lost interrupt
To: None <port-i386@netbsd.org>
From: Todd Whitesel <toddpw@best.com>
List: port-i386
Date: 03/28/2001 00:52:48
My PIII-733/PC133/i815E system with a Barracuda II UDMA/66 drive is getting
these occasionally:

Mar 28 00:38:42 kei /netbsd: pciide0:0:0: lost interrupt
Mar 28 00:38:42 kei /netbsd:    type: ata tc_bcount: 8192 tc_skip: 0
Mar 28 00:38:42 kei /netbsd: wd0e: device timeout reading fsbn 6491088 of 6491088-6491103 (wd0 bn 8588736; cn 8520 tn 9 sn 9), retrying
Mar 28 00:38:42 kei /netbsd: wd0: soft error (corrected)

This system used to be running FreeBSD; 4.1.x couldn't handle the errors
after a few days and locked the machine, 4.2 drops down to PIO mode at the
first sign of trouble, which works but is sloooow.

I've been running 1.5 for a few days now after trying 1.5S on it, and both
of those manage to keep using UDMA in spite of the occasional lost interrupt
sequence like the above. When it happens, the machine goes away for a few
seconds and I can hear the HD making a distinctly unusual noise.

But at least NetBSD recovers, which is better than I can say for FreeBSD.

Any ideas? Full dmesg below.

Todd Whitesel
toddpw @ best.com
-----------------
NetBSD 1.5 (GENERIC) #1: Sun Nov 19 21:42:11 MET 2000
    fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (E) (686-class)
total memory = 191 MB
avail memory = 172 MB
using 2477 buffers containing 9908 KB of memory
BIOS32 rev. 0 found at 0xf0760
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel product 0x1130 (rev. 0x02)
ppb0 at pci0 dev 1 function 0: Intel product 0x1131 (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: S3 Trio3D/2X (rev. 0x02)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. 0x01)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
ne2 at pci2 dev 10 function 0: RealTek 8029 Ethernet
ne2: 10base2, 10baseT, 10baseT-FDX, auto, default [0x00 0x30] auto
ne2: Ethernet address 00:80:c8:c1:8a:78
ne2: interrupting at irq 5
tlp0 at pci2 dev 13 function 0: Lite-On 82C169 Ethernet, pass 2.0
tlp0: interrupting at irq 12
tlp0: Ethernet address 00:a0:cc:29:7b:44
ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x00c0b4, model 0x0000, rev. 8
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801BA LPC Interface Bridge (rev. 0x01)
pciide0 at pci0 dev 31 function 1: Intel 82801BA IDE Controller (rev. 0x01)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel wired to compatibility mode
pciide0: primary channel interrupting at irq 14
wd0 at pciide0 channel 0 drive 0: <ST310210A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 9729 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 19925880 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel interrupting at irq 15
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <FX162T4, , p01> type 5 cdrom removable
cd0: drive supports PIO mode 3, DMA mode 2
uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev. 0x01)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82801BA SMBus Controller (SMBus serial bus, revision 0x01) at pci0 dev 31 function 3 not configured
uhci1 at pci0 dev 31 function 4: Intel 82801BA USB Controller (rev. 0x01)
uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
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
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
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
isapnp0: no ISA Plug 'n Play devices found
biomask ef45 netmask ff65 ttymask ffe7
uhub2 at uhub1 port 2
uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2
uhub2: 4 ports with 4 removable, self powered
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
tlp0: filter setup and transmit timeout
pciide0:0:0: lost interrupt
	type: ata tc_bcount: 65536 tc_skip: 0
wd0e: device timeout writing fsbn 7736688 of 7736688-7736815 (wd0 bn 9834336; cn 9756 tn 4 sn 36), retrying
wd0: soft error (corrected)
pciide0:0:0: lost interrupt
	type: ata tc_bcount: 8192 tc_skip: 0
wd0e: device timeout reading fsbn 6491088 of 6491088-6491103 (wd0 bn 8588736; cn 8520 tn 9 sn 9), retrying
wd0: soft error (corrected)

# eof