Subject: NetBSD-2.0G ACPI enabled - piixiide0:1:0 lost interrupt
To: None <port-i386@netbsd.org>
From: Berndt Josef Wulf <wulf@ping.net.au>
List: port-i386
Date: 07/06/2004 21:22:11
G'day,

ACPI enabled kernels configured for a Dell Inspiron 8600 exhibit the following 
problem:

husky: {6} dmesg| more
NetBSD 2.0G (HUSKY-acpi) #7: Tue Jul  6 00:13:51 CST 2004
        wulf@husky:/sys/arch/i386/compile/HUSKY-acpi
total memory = 511 MB
avail memory = 493 MB
BIOS32 rev. 0 found at 0xffe90
PCI BIOS rev. 2.1 found at 0xfc97e
pcibios: config mechanism [1][x], special cycles [x][x], last bus 2
PCI IRQ Routing Table rev. 1.0 found at 0xfc590, size 176 bytes (9 entries)
PCI Interrupt Router at 000:31:0 (Intel 82371MX Mobile PCI I/O IDE Xcelerator 
(MPIIX) compatible)
[...]
wd0 at atabus0 drive 0: <HITACHI_DK23FB-60>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 57231 MB, 116280 cyl, 16 head, 63 sec, 512 bytes/sect x 117210240 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA 
dat
a transfers)
atapibus0 at atabus1: 2 targets
piixide0:1:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
cd0 at atapibus0 drive 0: <_NEC DVD+RW ND-5100A, , 10AC> cdrom removable
piixide0:1:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
piixide0:1:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
cd0: 32-bit data port
piixide0:1:0: lost interrupt
        type: ata tc_bcount: 0 tc_skip: 0
cd0: drive supports PIO mode 4piixide0:1:0: lost interrupt
        type: ata tc_bcount: 0 tc_skip: 0
, DMA mode 2piixide0:1:0: lost interrupt
        type: ata tc_bcount: 0 tc_skip: 0
, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA 
data transfers)
[...]

The system boots up and, with the exception of a non-functional cd0 device, 
works as expected. Attempts to mount this device fail with the following 
error message

Jul  6 21:14:51 husky /netbsd: piixide0:1:0: lost interrupt
Jul  6 21:14:51 husky /netbsd:  type: atapi tc_bcount: 0 tc_skip: 0

Options ACPI_PCI_FIXUP was enabled in the above kernel. When commenting out 
this option, the cd0 device is detected and functional, however, the wi0 
(AVAYA wireless PCMCIA - 802.11b) is not functional presumably due to the 
PCI-CardBus Bridge not being detected, e.g. no cbb0 device.

Has anyone else seen this problem? Is it a known bug? Searching with Google 
didn't reveal anything that would help me in solving this problem.

Due to size, I've not included the dmesg output and kernel configuration file 
here, but they are available as NetBSD-2.0G_dmesg.txt and HUSKY-acpi in my 
home directory on ftp.NetBSD.org

Any suggestions?

cheerio Berndt