Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2004 18:57:55 +0100
From:      "Petr Holub" <hopet@ics.muni.cz>
To:        =?iso-8859-2?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        current@freebsd.org
Subject:   RE: storm of stray interrupts
Message-ID:  <02d901c3f0c8$93a11a00$2136fb93@kloboucek>
In-Reply-To: <xzpvfmdilnw.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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: <Matrox G550 (AGP)> 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: <DELL     WS 530      >
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,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  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 <Version 2.0> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00fb9a0
pcib0: <MPTable Host-PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> 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: <Intel 82860 host to AGP bridge> mem 0xf0000000-0xf7ffffff at device 0.0 o
n pci0
pcib1: <MPTable PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib1: slot 0 INTA routed to irq 16
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <PCI-PCI bridge> at device 2.0 on pci0
pci2: <PCI bus> on pcib2
pcib3: <MPTable PCI-PCI bridge> at device 31.0 on pci2
pci3: <PCI bus> on pcib3
pcib3: slot 12 INTA routed to irq 20
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: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci4: <PCI bus> 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: <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 pc
i0
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
orm0: <Option ROMs> at iomem 0xca800-0xcbfff,0xc9000-0xca7ff,0xc0000-0xc8fff on
isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
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
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f
0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
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
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0303> can't assign resources (port)
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xc6a32e60
ad0: 76293MB <IC35L080AVVA07-0> [155009/16/63] at ata0-master UDMA100
acd0: DVDROM <LITEON DVD-ROM LTD163> at ata1-master PIO4
SMP: AP CPU #1 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,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]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02d901c3f0c8$93a11a00$2136fb93>