From owner-freebsd-current@FreeBSD.ORG Wed Feb 11 10:27:31 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78FCB16A4D7 for ; Wed, 11 Feb 2004 10:27:31 -0800 (PST) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6041D43D1D for ; Wed, 11 Feb 2004 10:27:31 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 21010 invoked from network); 11 Feb 2004 18:27:30 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 11 Feb 2004 18:27:30 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i1BIRCMA094970; Wed, 11 Feb 2004 13:27:27 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: "Petr Holub" , Date: Wed, 11 Feb 2004 13:28:16 -0500 User-Agent: KMail/1.5.4 References: <01ca01c3f009$5b52c9b0$2136fb93@kloboucek> In-Reply-To: <01ca01c3f009$5b52c9b0$2136fb93@kloboucek> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200402111315.11997.jhb@FreeBSD.org> Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: storm of stray interrupts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 18:27:31 -0000 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@cesnet.cz phone: +420-549493944 > fax: +420-541212747 > e-mail: hopet@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@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=0xbfebfbffA,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: > 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 irqs 0-23 on motherboard > Pentium Pro MTRR support enabled > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > acpi0: 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: port 0x530-0x537 on acpi0 > acpi_cpu1: port 0x530-0x537 on acpi0 > acpi_cpu2: port 0x530-0x537 on acpi0 > acpi_cpu3: port 0x530-0x537 on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: mem 0xf0000000-0xf7ffffff at device > 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: 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: at device 0.0 (no driver attached) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org