"interrupt storm..."; seems associated with an0 NIC

From: David Wolfskill <david_at_catwhisker.org>
Date: Fri, 5 Dec 2008 09:48:38 -0800
After updating my laptop to CURRENT as of this morning, I now see

  interrupt storm detected on "irq11:"; throttling interrupt source

repeated indefinitely if I have inserted a Cisco/Aironet 350 PCCard.

Once the situation has been detected, the only way I've found to escape
is by power-cycling -- I can't even do anything with a serial console
(unless I had logged in to that serial console ahead of time -- in
that case, I was able to reboot gracefully).

Here's a list of the files that saw updates today:

U sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h
U sys/dev/cxgb/common/cxgb_ael1002.c
U sys/dev/pccbb/pccbb.c
U sys/dev/pccbb/pccbb_pci.c
U sys/dev/pccbb/pccbbvar.h

And here are some other related bits:

FreeBSD g1-37.catwhisker.org 8.0-CURRENT FreeBSD 8.0-CURRENT #881: Fri Dec  5 06:38:46 PST 2008     root_at_g1-37.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  i386

Here's what "vmstat -i" says when an0 hasn't been connected since the
last boot:

interrupt                          total       rate
irq0: clk                         637184        998
irq1: atkbd0                          46          0
irq4: uart0                         2261          3
irq6: fdc1                             1          0
irq7: ppc0                             6          0
irq8: rtc                          81638        127
irq11: cbb0 cbb1+*                  3112          4
irq14: ata0                        65357        102
Total                             789605       1237

And here's output from the same command shortly after I inserted the
NIC:

interrupt                          total       rate
irq0: clk                         671999        998
irq1: atkbd0                          46          0
irq4: uart0                         2300          3
irq6: fdc1                             1          0
irq7: ppc0                             6          0
irq8: rtc                          86095        127
irq11: cbb0 cbb1+*                  7907         11
irq14: ata0                        65388         97
Total                             833742       1238


I note that even after pulling the NIC, the messages continue --
and other PCCards inserted in the slot do not appear to be recognized
-- probably because doing so would require use of the "throttl[ed]
interrupt source."

Rebooting with yesterday's kernel -- with older revisions of the above
files -- appears to avoid the observed problem.

Here's ouput of "pciconf -l -v" under yesterday's kernel, but wiht the
an0 NIC inserted:

hostb0_at_pci0:0:0:0:      class=0x060000 card=0x00000000 chip=0x1a308086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82845G[GL/GV/GE/PE] Host-Hub Interface Bridge'
    class      = bridge
    subclass   = HOST-PCI
pcib1_at_pci0:0:1:0:       class=0x060400 card=0x00000000 chip=0x1a318086 rev=0x04 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82845/E/MP/MZ Brookdale CPU to AGP Bridge'
    class      = bridge
    subclass   = PCI-PCI
uhci0_at_pci0:0:29:0:      class=0x0c0300 card=0x45418086 chip=0x24828086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller'
    class      = serial bus
    subclass   = USB
uhci1_at_pci0:0:29:2:      class=0x0c0300 card=0x45418086 chip=0x24878086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801CA/CAM USB Controller'
    class      = serial bus
    subclass   = USB
pcib2_at_pci0:0:30:0:      class=0x060400 card=0x00000000 chip=0x24488086 rev=0x42 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0_at_pci0:0:31:0:      class=0x060100 card=0x00000000 chip=0x248c8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801CAM LPC Interface or ISA bridge: see Notes'
    class      = bridge
    subclass   = PCI-ISA
atapci0_at_pci0:0:31:1:    class=0x01018a card=0x45418086 chip=0x248a8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801CAM (ICH3-M) UltraATA/100 EIDE Controller'
    class      = mass storage
    subclass   = ATA
pcm0_at_pci0:0:31:5:       class=0x040100 card=0x59591013 chip=0x24858086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801CA/CAM (ICH3-S/ICH3-M) AC'97 Audio Controller'
    class      = multimedia
    subclass   = audio
none0_at_pci0:0:31:6:      class=0x070300 card=0x4c21134d chip=0x24868086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801CA/CAM (ICH3-S/ICH3-M) AC'97 Modem Controller'
    class      = simple comms
    subclass   = generic modem
vgapci0_at_pci0:1:0:0:     class=0x030000 card=0x00d51028 chip=0x4c661002 rev=0x01 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'ATI MOBILITY RADEON 9000 (Microsoft Corporation - Radeon Mobility M9'
    class      = display
    subclass   = VGA
xl0_at_pci0:2:0:0: class=0x020000 card=0x00d51028 chip=0x920010b7 rev=0x78 hdr=0x00
    vendor     = '3COM Corp, Networking Division'
    device     = '3C905 CX-TX-M Fast EtherLink for PC Management NIC'
    class      = network
    subclass   = ethernet
cbb0_at_pci0:2:1:0:        class=0x060700 card=0x00d51028 chip=0xac42104c rev=0x00 hdr=0x02
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCI4451 PC card CardBus Controller'
    class      = bridge
    subclass   = PCI-CardBus
cbb1_at_pci0:2:1:1:        class=0x060700 card=0x00d51028 chip=0xac42104c rev=0x00 hdr=0x02
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCI4451 PC card CardBus Controller'
    class      = bridge
    subclass   = PCI-CardBus
fwohci0_at_pci0:2:1:2:     class=0x0c0010 card=0x00d51028 chip=0x8027104c rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCI4451 OHCI-Lynx IEEE-1394 FireWire Adapter'
    class      = serial bus
    subclass   = FireWire
wi0_at_pci0:2:3:0: class=0x028000 card=0x25138086 chip=0x38731260 rev=0x01 hdr=0x00
    vendor     = 'Intersil Americas Inc (Was: Harris Semiconductor)'
    device     = 'PRISM 2.5 802.11b 11Mbps Wireless Controller'
    class      = network

and here's what ifconfig(8) says about an0 (under yesterday's kernel):

an0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:40:96:40:5d:44
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid  1:tsunami channel 6 (2437 Mhz 11b)
        stationname ""
        authmode OPEN privacy OFF deftxkey 1 txpower 0 rtsthreshold 0
        fragthreshold 0 bmiss 0 ucastrate 0 mcastrate 0 mgmtrate 0 maxretry 0
        roaming DEVICE bintval 0

[At home, the NIC would be associated & in use, as it's the NIC I
normally use when running FreeBSD above 6.x, as I have yet to be
able to get the wi0 NIC to work under RELENG_7 or HEAD.]

Here's a list of the old & new revisions for each of the changed files:

1.6/185029   1.7/185614   sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h
1.9/185157   1.10/185620  sys/dev/cxgb/common/cxgb_ael1002.c
1.175/185624 1.176/185625 sys/dev/pccbb/pccbb.c
1.29/183558  1.30/185625  sys/dev/pccbb/pccbb_pci.c
1.32/        1.33/185625  sys/dev/pccbb/pccbbvar.h

So I'm guessing that imp's svn rev. 185625 may have had an unfortunate
interaction with some aspect of my machine.  I'm willing to test, but
confess to little knowledge in this area.  I do have a local mirror of
the CVS repository handy, if that helps.

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Fri Dec 05 2008 - 17:24:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC