Re: storm of stray interrupts

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 11 Feb 2004 13:28:16 -0500
On Tuesday 10 February 2004 02:09 pm, Petr Holub wrote:
> 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,MC
>A,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

Your BIOS sucks.  It doesn't include the information in ACPI on how to route 
this interrupt.  You can look for a BIOS update or try running with ACPI 
disabled.  If you need ACPI, try running with apic disabled 
(hint.apic.0.disabled=1).  You can also see if your BIOS has an option of 
something like 'Assign IRQ to VGA device' and if it is set to no, set it to 
yes.

> pci1: <display, VGA> at device 0.0 (no driver attached)

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Wed Feb 11 2004 - 09:27:31 UTC

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