From owner-freebsd-current@FreeBSD.ORG Wed Feb 11 09:57:52 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 0D1B716A4CE for ; Wed, 11 Feb 2004 09:57:52 -0800 (PST) Received: from anor.ics.muni.cz (anor.ics.muni.cz [147.251.4.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47FF443D1F for ; Wed, 11 Feb 2004 09:57:51 -0800 (PST) (envelope-from hopet@ics.muni.cz) Received: from kloboucek (kloboucek.fi.muni.cz [147.251.54.33]) (user=hopet mech=LOGIN bits=0) by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id i1BHvmRa016971 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 11 Feb 2004 18:57:48 +0100 From: "Petr Holub" To: =?iso-8859-2?Q?Dag-Erling_Sm=F8rgrav?= Date: Wed, 11 Feb 2004 18:57:55 +0100 Message-ID: <02d901c3f0c8$93a11a00$2136fb93@kloboucek> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Muni-Spam-TestIP: 147.251.54.33 X-Muni-Virus-Test: Clean X-Mailman-Approved-At: Thu, 12 Feb 2004 05:25:00 -0800 cc: current@freebsd.org 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 17:57:52 -0000 > In other words, the problem is with the firewire hardware or driver. Why? I don't see why the problem couldn't be in drm as well... :-( N.b. that firewire without X running works fine, no interrupt storms at all. After what's shown below I'd say that drm0 is responsible for problems as it allocates irq 11 with ACPI but irq 16 without ACPI. > BTW, have you tried without ACPI? Yep---right now :o). drm0: mem 0xfd000000-0xfd7fffff,0xfdefc000-0xfdefffff,0xf800 0000-0xf9ffffff irq 16 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] -su-2.05b# vmstat -i interrupt total rate irq1: atkbd0 232 1 irq6: fdc0 4 0 irq8: rtc 26063 127 irq12: psm0 510 2 irq13: npx0 1 0 stray irq13 1 0 irq14: ata0 2622 12 irq15: ata1 30 0 irq16: drm0 4488 21 irq17: pcm0 1 0 irq20: em0 388 1 irq0: clk 20361 99 Total 54701 266 => so w/o ACPI the drm0 occupies irq 16 instead of 11. Now I can't see hyperthreaded processors without ACPI. I've checked to load firewire module and X with DRI and it works fine together when no ACPI is present! BTW: I've checked whether hyperthreading can be to blame and it seems to have no effect. When I run the machine with ACPI on and hyperthreading off, the drm0 allocates irq 11 and I can't see it in 'vmstat -i' any more again. dmesg output of machine without ACPI is below my signature. 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 -su-2.05b# dmesg 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 #6: Wed Feb 11 16:26:30 CET 2004 toor@trurl.fi.muni.cz:/usr/src/sys/i386/compile/TRURL Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a51000. MPTable: 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 Hyperthreading: 2 logical CPUs real memory = 1073180672 (1023 MB) avail memory = 1033039872 (985 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 ioapic0: Changing APIC ID to 4 ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00fb9a0 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib0: slot 31 INTD routed to irq 19 pcib0: slot 31 INTB routed to irq 17 pcib0: slot 31 INTC routed to irq 23 agp0: mem 0xf0000000-0xf7ffffff at device 0.0 o n pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA routed to irq 16 pci1: at device 0.0 (no driver attached) pcib2: at device 2.0 on pci0 pci2: on pcib2 pcib3: at device 31.0 on pci2 pci3: on pcib3 pcib3: slot 12 INTA routed to irq 20 pci3: at device 0.0 (no driver attached) em0: port 0xece0-0xecff mem 0xfe4a0000-0xfe4bffff,0xfe4c0000-0xfe4dffff irq 20 at device 12.0 on pci3 em0: Speed:N/A Duplex:N/A pcib4: at device 30.0 on pci0 pci4: on pcib4 pcib4: slot 11 INTA routed to irq 23 pcib4: slot 12 INTA routed to irq 16 pcib4: slot 13 INTA routed to irq 17 pcib4: slot 14 INTA routed to irq 18 pcib4: slot 14 INTA routed to irq 18 pcib4: slot 15 INTA routed to irq 19 pcib4: slot 15 INTA routed to irq 19 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem 0xfe1ffc00-0xfe1f fc7f irq 23 at device 11.0 on pci4 xl0: Ethernet address: 00:08:74:39:45:65 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci4: at device 12.0 (no driver attached) pcm0: port 0xdc60-0xdc7f irq 17 at device 13.0 on pci4 pcm0: bktr0: 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: at device 14.1 (no driver attached) bktr1: 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: at device 15.1 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 31.1 on pc i0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0xff80-0xff9f irq 19 at device 31.2 on pci0 usb0: 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: at device 31.3 (no driver attached) uhci1: port 0xff60-0xff7f irq 23 at device 31.4 on pci0 usb1: 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 orm0: