Subject: "pciide0:x:0: lost interrupt" errors
To: None <current-users@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: current-users
Date: 07/07/2003 14:26:28
Folks,

Anyone seen anything like the following?

	pciide0:0:0: lost interrupt
		type: ata tc_bcount: 1024 tc_skip: 0
	pciide0:0:0: bus-master DMA error: missing interrupt, status=0x20
	pciide0:0:0: device timeout, c_bcount=1024, c_skip0
	wd0e: device timeout writing fsbn 62372358 of 62372358-62372359 (wd0 bn 79149510; cn 78521 tn 5 sn 27), retrying
	wd0: soft error (corrected)

This is on a SuperMicro X5DAE board, with a pair of IBM/Hitachi 120GB
disks and a CDROM.  One disk is on a channel by itself and the other
is with the CDROM.  I see these errors on both disks.  The "tc_bcount"
value varies from 1k to 56k, and the block numbers seem to be random
(between block 282176 and 137234352).  There's been 75 of these in
nearly two weeks - the first one just hours after I got the machine.

Here's the relevent bits of dmesg:

NetBSD 1.6U (BIGKEV) #10: Mon Jul  7 03:44:41 EST 2003
...
pciide0 at pci0 dev 31 function 1: Intel 82801DB IDE Controller (ICH4) (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IC35L120AVV207-0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 115 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 241254720 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 1: <_NEC    CD-ROM  CD-3002A, , C000> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd1 at pciide0 channel 1 drive 0: <IC35L120AVV207-0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 115 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 241254720 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: secondary channel interrupting at irq 15
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)


Simon.
--
Simon Burge                                   <simonb@wasabisystems.com>
NetBSD Development, Support and Service:   http://www.wasabisystems.com/