storm of stray interrupts

From: Petr Holub <hopet_at_ics.muni.cz>
Date: Tue, 10 Feb 2004 20:09:07 +0100
Hi folks,

I found following problem: when I run 5.2-RELEASE with firewire
and X with drm/dri I get terrible storm of interrupts on firewire
device. It seems that drm interrupts are routed to firewire
device by APIC (the machine is dual-processor box).

Here's fragment form 'systat -vmstat 1':
  Interrupts
 74331 total
       1: atkb
       6: fdc0
   128 8: rtc
       12: psm
       13: npx
       14: ata
       15: ata
 72290 16: fwo
   140 17: pcm
    99 18: bkt
   676 20: em0
   998 0: clk
However there is nothing shown for drm0 which has allocated
irq 11 (as shown in dmesg). dmesg output is below my signature.
Is there any workaround/patch for this?

Thanks,
Petr

================================================================
                            Petr Holub
CESNET z.s.p.o.                       Supercomputing Center Brno
Zikova 4                             Institute of Compt. Science
162 00 Praha 6, CZ                            Masaryk University
Czech Republic                     Botanicka 68a, 60200 Brno, CZ
e-mail: Petr.Holub_at_cesnet.cz               phone: +420-549493944
                                             fax: +420-541212747
                                       e-mail: hopet_at_ics.muni.cz
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.2-RELEASE #5: Mon Feb  9 11:27:18 CET 2004
    toor_at_trurl.fi.muni.cz:/usr/src/sys/i386/compile/TRURL
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0aae000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0aae21c.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2372.93-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMO
V,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 1073180672 (1023 MB)
avail memory = 1033031680 (985 MB)
ACPI APIC Table: <DELL   WS 530 >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0: Changing APIC ID to 4
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL   WS 530 > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00fb9a0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_cpu1: <CPU> port 0x530-0x537 on acpi0
acpi_cpu2: <CPU> port 0x530-0x537 on acpi0
acpi_cpu3: <CPU> port 0x530-0x537 on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82860 host to AGP bridge> mem 0xf0000000-0xf7ffffff at device 0.0
on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci_cfgintr: 1:0 INTA BIOS irq 11
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 31.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pci3: <base peripheral, interrupt controller> at device 0.0 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.19> port 0xece0-0xecff
mem 0xfe4a0000-0xfe4bffff,0xfe4c0000-0xfe4dffff irq 20 at device 12.0 on pci3
em0:  Speed:N/A  Duplex:N/A
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci4: <ACPI PCI bus> on pcib4
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem
0xfe1ffc00-0xfe1ffc7f irq 23 at device 11.0 on pci4
xl0: Ethernet address: 00:08:74:39:45:65
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci4: <serial bus, FireWire> at device 12.0 (no driver attached)
pcm0: <Creative EMU10K1> port 0xdc60-0xdc7f irq 17 at device 13.0 on pci4
pcm0: <TriTech TR28602 AC97 Codec>
bktr0: <BrookTree 878> mem 0xfa003000-0xfa003fff irq 18 at device 14.0 on pci4
bktr0: Warning - card vendor 0xfefe (model 0x0012) unknown.
bktr0: Pinnacle/Miro TV, Temic NTSC tuner.
pci4: <multimedia> at device 14.1 (no driver attached)
bktr1: <BrookTree 878> mem 0xfa001000-0xfa001fff irq 19 at device 15.0 on pci4
bktr1: Warning - card vendor 0x11bd (model 0x0012) unknown.
bktr1: Pinnacle/Miro TV, Temic NTSC tuner.
pci4: <multimedia> at device 15.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port 0xffa0-0xffaf at device 31.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xff80-0xff9f irq 19
at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xff60-0xff7f irq 23
at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <Option ROMs> at iomem 0xca800-0xcbfff,0xc9000-0xca7ff,0xc0000-0xc8fff on
isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to
accept, logging disabled
GEOM: create disk ad0 dp=0xc6bdcb60
ad0: 76293MB <IC35L080AVVA07-0> [155009/16/63] at ata0-master UDMA100
acd0: DVDROM <LITEON DVD-ROM LTD163> at ata1-master PIO4
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
Mounting root from ufs:/dev/ad0s1a
em0: Link is up 1000 Mbps Full Duplex
em0: Link is up 1000 Mbps Full Duplex
drm0: <Matrox G550 (AGP)> mem
0xfd000000-0xfd7fffff,0xfdefc000-0xfdefffff,0xf8000000-0xf9ffffff irq 11 at
device 0.0 on pci1
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 0
drm0: [MPSAFE]
fwohci0: <Texas Instruments TSB12LV26> mem
0xfe1f8000-0xfe1fbfff,0xfe1ff000-0xfe1ff7ff irq 16 at device 12.0 on pci4
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 80:74:08:00:65:45:39:00
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
Received on Tue Feb 10 2004 - 10:09:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:42 UTC