Subject: kern/36375: problem with interrupts on L440GX mainboard
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <aniou@smutek.pl>
List: netbsd-bugs
Date: 05/22/2007 15:10:00
>Number:         36375
>Category:       kern
>Synopsis:       problem with interrupts on L440GX mainboard
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 22 15:10:00 +0000 2007
>Originator:     Piotr Meyer
>Release:        NetBSD 4.0_BETA2
>Organization:
>Environment:
NetBSD 4.0_BETA2 (INSTALL_LARGE) #0: Sun May 20 22:07:43 PDT 2007
        builds@wb33:/home/builds/ab/netbsd-4/i386/200705200002Z-obj/home/builds/ab/netbsd-4/src/sys/arch/i386/compile/INSTALL_LARGE

>Description:
I have lots of old ISP2150G servers (Intel dual PIII-class server platform), all with extra mylex (Acceleraid 250) and additional gigabit card. During boot of INSTALL_LARGE image (via PXE) I notice many lines about 'lost interrupts' from various devices. 

AFAIR older versions (like NetBSD 3.x) hasn't any problems. Linux kernel works perfectly, so it is - probably - not a hardware problem.

Kernel taken from 200705200002Z netbsd-4 snapshot.

Session (captured via serial console), below:

> boot
PXE BIOS Version 2.1
Using PCI device at bus 3 device 5 function 0

[...]


4068200+5317604+182452 [280496+264460]=0x9a70a8
kenter: 0x00001000
acpi: wakecode is installed at 0x1000, size=376
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0_BETA2 (INSTALL_LARGE) #0: Sun May 20 22:07:43 PDT 2007
        builds@wb33:/home/builds/ab/netbsd-4/i386/200705200002Z-obj/home/builds/ab/netbsd-4/src/sys/arch/i386/compile/INSTALL_LARGE
total memory = 2039 MB
avail memory = 1994 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xfd7e3
mainbus0 (root)
cpu0 at mainbus0: apid 1 (application processor)
cpu0: not started
cpu1 at mainbus0: apid 0 (boot processor)
cpu1: Intel Pentium III (686-class), 696.44 MHz, id 0x683
cpu1: calibrating local timer
cpu1: apic clock running at 99 MHz
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 24-bit timer
mpacpi: could not get bus number, assuming bus 0
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A03 [PCI/PCI-X Host Bridge] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0201 [EISA DMA Controller] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0C04 [Math Coprocessor] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
PNP0303 [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
PNP0F13 [PS/2 Port for PS/2-style Mice] at acpi0 not configured
PNP0A05 [Generic Container Device] at acpi0 not configured
PNP0501 [16550A-compatible COM port] at acpi0 not configured
PNP0501 [16550A-compatible COM port] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x71a0 (rev. 0x00)
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x71a1 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ppb1 at pci1 dev 15 function 0: vendor 0x1011 product 0x0023 (rev. 0x06)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
ppb2 at pci2 dev 4 function 0: vendor 0x104c product 0xac21 (rev. 0x01)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
ppb3 at pci3 dev 4 function 0: vendor 0x8086 product 0x0960 (rev. 0x05)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
mlx0 at pci3 dev 4 function 1: Mylex RAID (v4 interface)
mlx0: interrupting at ioapic0 pin 20 (irq 7)
mlx0: DAC960PTL1, 1 channel, firmware 4.07-0-29, 8MB RAM
ld0 at mlx0 unit 0: RAID1, online
ld0: 35003 MB, 8889 cyl, 128 head, 63 sec, 512 bytes/sect x 71686144 sectors
wm0 at pci3 dev 5 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2
wm0: interrupting at ioapic0 pin 21 (irq 10)
wm0: Ethernet address 00:0e:0c:22:65:88
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ahc1 at pci0 dev 12 function 0: Adaptec aic7896/97 Ultra2 SCSI adapter
ahc1: interrupting at ioapic0 pin 19 (irq 11)
ahc1: aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc1: 16 targets, 8 luns per target
ahc2 at pci0 dev 12 function 1: Adaptec aic7896/97 Ultra2 SCSI adapter
ahc2: interrupting at ioapic0 pin 19 (irq 11)
ahc2: aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs
scsibus1 at ahc2: 16 targets, 8 luns per target
fxp0 at pci0 dev 14 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at ioapic0 pin 21 (irq 10)
fxp0: Ethernet address 00:d0:b7:88:18:af
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 18 function 0
pcib0: vendor 0x8086 product 0x7110 (rev. 0x02)
piixide0 at pci0 dev 18 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 18 function 2: vendor 0x8086 product 0x7112 (rev. 0x01)
uhci0: interrupting at ioapic0 pin 21 (irq 10)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
vendor 0x8086 product 0x7113 (miscellaneous bridge, revision 0x02) at pci0 dev 18 function 3 not configured
vga1 at pci0 dev 20 function 0: vendor 0x1013 product 0x00bc (rev. 0x23)
wsdisplay0 at vga1 kbdmux 1
wsmux1: connecting to wsdisplay0
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
com1: console
pckbc0 at isa0 port 0x60-0x64
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
isapnp0: no ISA Plug 'n Play devices found
ioapic0: enabling
timecounter: Timecounter "TSC" frequency 696437690 Hz quality 800
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Kernelized RAIDframe activated
md0: internal 5000 KB image area
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
piixide0:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM SN-124, , QM11> cdrom removable
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
piixide0:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
piixide0:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
cd0: 32-bit data port
piixide0:0:0: lost interrupt
        type: ata tc_bcount: 0 tc_skip: 0
cd0: drive supports PIO mode 4ahc1: Timedout SCB already complete. Interrupts may not be functioning.
piixide0:0:0: lost interrupt
        type: ata tc_bcount: 0 tc_skip: 0
, DMA mode 2piixide0:0:0: lost interrupt
        type: ata tc_bcount: 0 tc_skip: 0
, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
mlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry failed - software timeout (0xdead)
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
ahc1: Timedout SCB already complete. Interrupts may not be functioning.
mlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry fail
mlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry failed - software timeout (0xdead)
ahc2: Timedout SCB already complete. Interrupts may not be functioning.
ahc2: Timedout SCB already complete. Interrupts may not be functioning.
ahc2: Timedout SCB already complete. Interrupts may not be functioning.
mlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry failed - software timeout (0xdead)
ld0: I/O error - software timeout (0xdead)
ld0d: error reading fsbn 0 (ld0 bn 0; cn 0 tn 0 sn 0)
ld0: dos partition I/O error
ld0: I/O error - software timeout (0xdead)
ld0d: error reading fsbn 0 (ld0 bn 0; cn 0 tn 0 sn 0)
ld0: dos partition I/O error
mlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry failed - software timeout (0xdead)
ld0: I/O error - software timeout (0xdead)
ld0d: error reading fsbn 0 of 0-3 (ld0 bn 0; cn 0 tn 0 sn 0)
boot device: wm0
root on md0a dumps on md0b
root file system type: ffs
warning: no /dev/console
init: Creating mmlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry failed - software timeout (0xdead)
mlx0: periodic enquiry failed - software timeout (0xdead)
...
>How-To-Repeat:
Try INSTALL_LARGE on ISP2150 (or another platform with L440GX mainboard)?
>Fix: