Asus P5W DH Deluxe APIC/SMP IRQ problem

Михаил Кучин admin at mixey.spb.ru
Fri Jul 6 10:33:55 UTC 2007


Hi people!

Sorry for my bad english. Writing for the first time. I am searching help
=)

My OS:
   FreeBSD 6.2-RELEASE

Hardware:
  Asus P5W DH Deluxe MB (ICH7 Chipset)
  Intel Core 2 Duo CPU (6700)
  Integrated Netw Card (Marvell Yukon 88E8053 based Ethernet Controller)
  S3 Trio PCI Video Card (very-very old)

Problem:
  40% of CPU is occupied by interrupts, in some cases (I tried many
  ways of solving), I have "Interrupt storm detected" message.

  atapci2 (see vmstat), as I understand, occupies CPU. Here is my RAID1 controller with
  400G Samsung Disks and other ICH7 stuff.

  I tried to change in BIOS everything, disable everything, re-plug vga
  card, unplug some RAM. BIOS is fresh: a week ago release. Tried 3
  different versions.

  When I compile kernel without SMP, I have 80% of CPU ccupied by
  interrupts, works only one CPU...

  When I disable APIC (hint.apic.0.disabled="1") - the interrupts
  occupy only 2-3% (seems solved!) but "Interrupt storm detected,
  Throttling device down..." message appears.
  SMP dissapears because APIC is required for SMP.

  Tried to disable all in BIOS - Jmicron Contoller, USB, WiFi - no
  effect. Tried not to load Netw. driver.

  I see messages: acpi_bus_number: can't get _ADR
  but I hope that they are not related to problem.

Info:

ymd# vmstat -i ; sleep 1 ; vmstat -i ; sleep 1 ; vmstat -i
interrupt                          total       rate
irq1: atkbd0                           8          0
irq6: fdc0                             9          0
irq19: mykc0 uhci3                  1150          1
irq20: uhci0 ehci0                     9          0
irq21: fwohci0                         1          0
irq23: atapci2                 124178624     149793
cpu0: timer                      1654389       1995
cpu1: timer                      1644306       1983
Total                          127478496     153773
interrupt                          total       rate
irq1: atkbd0                           8          0
irq6: fdc0                             9          0
irq19: mykc0 uhci3                  1152          1
irq20: uhci0 ehci0                     9          0
irq21: fwohci0                         1          0
irq23: atapci2                 124329064     149794
cpu0: timer                      1656394       1995
cpu1: timer                      1646311       1983
Total                          127632948     153774
interrupt                          total       rate
irq1: atkbd0                           8          0
irq6: fdc0                             9          0
irq19: mykc0 uhci3                  1156          1
irq20: uhci0 ehci0                     9          0
irq21: fwohci0                         1          0
irq23: atapci2                 124479828     149795
cpu0: timer                      1658402       1995
cpu1: timer                      1648320       1983
Total                          127787733     153775



ymd# top
CPU states:  0.0% user,  0.0% nice,  0.0% system, 37.0% interrupt, 63.0% idle
Mem: 6504K Active, 4220K Inact, 21M Wired, 8880K Buf, 965M Free
Swap: 4096M Total, 4096M Free



ymd# pciconf -lv
hostb0 at pci0:0:0:        class=0x060000 card=0x81781043 chip=0x277c8086 rev=0xc0 hdr=0x00
    vendor   = 'Intel Corporation'
    class    = bridge
    subclass = HOST-PCI
pcib1 at pci0:1:0: class=0x060400 card=0x00000088 chip=0x277d8086 rev=0xc0 hdr=0x01
    vendor   = 'Intel Corporation'
    class    = bridge
    subclass = PCI-PCI
none0 at pci0:27:0:        class=0x040300 card=0x81d81043 chip=0x27d88086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) High Definition Audio'
    class    = multimedia
pcib2 at pci0:28:0:        class=0x060400 card=0x00000040 chip=0x27d08086 rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) PCI Express Root Port'
    class    = bridge
    subclass = PCI-PCI
pcib3 at pci0:28:3:        class=0x060400 card=0x00000040 chip=0x27d68086 rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) PCI Express Root Port'
    class    = bridge
    subclass = PCI-PCI
pcib4 at pci0:28:4:        class=0x060400 card=0x00000040 chip=0x27e08086 rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port'
    class    = bridge
    subclass = PCI-PCI
pcib5 at pci0:28:5:        class=0x060400 card=0x00000040 chip=0x27e28086 rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port'
    class    = bridge
    subclass = PCI-PCI
uhci0 at pci0:29:0:        class=0x0c0300 card=0x81791043 chip=0x27c88086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
uhci1 at pci0:29:1:        class=0x0c0300 card=0x81791043 chip=0x27c98086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
uhci2 at pci0:29:2:        class=0x0c0300 card=0x81791043 chip=0x27ca8086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
uhci3 at pci0:29:3:        class=0x0c0300 card=0x81791043 chip=0x27cb8086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
ehci0 at pci0:29:7:        class=0x0c0320 card=0x81791043 chip=0x27cc8086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller'
    class    = serial bus
    subclass = USB
pcib6 at pci0:30:0:        class=0x060401 card=0x00000050 chip=0x244e8086 rev=0xe1 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
isab0 at pci0:31:0:        class=0x060100 card=0x81791043 chip=0x27b88086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801GB/GR (ICH7 Family) LPC Interface Controller'
    class    = bridge
    subclass = PCI-ISA
atapci1 at pci0:31:1:      class=0x01018a card=0x81791043 chip=0x27df8086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) Ultra ATA Storage Controller'
    class    = mass storage
    subclass = ATA
atapci2 at pci0:31:2:      class=0x010400 card=0x26041043 chip=0x27c38086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801GB I/O Controller Hub SATA cc=RAID'
    class    = mass storage
    subclass = RAID
none1 at pci0:31:3:        class=0x0c0500 card=0x81791043 chip=0x27da8086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) SMBus Controller'
    class    = serial bus
    subclass = SMBus
mykc0 at pci4:0:0: class=0x020000 card=0x81421043 chip=0x436211ab rev=0x20 hdr=0x00
    vendor   = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
    device   = '88E8053 Yukon PCI-E Gigabit Ethernet Controller (copper)'
    class    = network
    subclass = ethernet
mykc1 at pci3:0:0: class=0x020000 card=0x81421043 chip=0x436211ab rev=0x20 hdr=0x00
    vendor   = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
    device   = '88E8053 Yukon PCI-E Gigabit Ethernet Controller (copper)'
    class    = network
    subclass = ethernet
atapci0 at pci2:0:0:       class=0x010185 card=0x81e41043 chip=0x2363197b rev=0x02 hdr=0x00
    class    = mass storage
    subclass = ATA
none2 at pci1:1:0: class=0x030000 card=0x89015333 chip=0x89015333 rev=0x14 hdr=0x00
    vendor   = 'S3 Graphics Co., Ltd.'
    device   = 'S3 SonicVibes (86c617) Audio Accelerator PCI Trio 64V2 DX/GX'
    class    = display
    subclass = VGA
fwohci0 at pci1:3:0:       class=0x0c0010 card=0x815b1043 chip=0x8023104c rev=0x00 hdr=0x00
    vendor   = 'Texas Instruments (TI)'
    device   = 'TSB43AB22/A IEEE1394a-2000 OHCI PHY/Link-Layer Ctrlr'
    class    = serial bus
    subclass = FireWire





ymd# dmesg
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #1: Thu Jul  5 16:48:14 MSD 2007
    root at ymd.spb.ru:/usr/obj/usr/src/sys/SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 CPU          6700  @ 2.66GHz (2671.25-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,<b9>,CX16,<b14>,<b15>>
  AMD Features=0x20000000<LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
real memory  = 1073217536 (1023 MB)
avail memory = 1041010688 (992 MB)
ACPI APIC Table: <A_M_I_ OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <NEC > on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
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
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
acpi_perf1: <ACPI CPU Frequency Control> on cpu1
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci6: <ACPI PCI bus> on pcib1
pci0: <multimedia> at device 27.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci5: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci4: <ACPI PCI bus> on pcib3
mykc0: <Generic Marvell Yukon 88E8053 based Ethernet Controller Ver. 8.14.9.3> port 0xc800-0xc8ff mem 0xfeafc000-0xfeafffff irq 19 at device 0.0 on pci4
myk0 on mykc0
myk0: Ethernet address: 00:18:f3:c5:4d:f7
pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib4
mykc1: <Generic Marvell Yukon 88E8053 based Ethernet Controller Ver. 8.14.9.3> port 0xb800-0xb8ff mem 0xfe9fc000-0xfe9fffff irq 16 at device 0.0 on pci3
myk1 on mykc1
myk1: Ethernet address: 00:18:f3:c5:32:b6
pcib5: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
pci2: <ACPI PCI bus> on pcib5
atapci0: <JMicron JMB363 SATA300 controller> port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f mem 0xfe8fe000-0xfe8fffff irq 17 at device 0.0 on pci2
atapci0: AHCI Version 01.00 controller with 2 ports detected
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
uhci0: <UHCI (generic) USB controller> port 0xe480-0xe49f irq 20 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) USB controller> 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
uhci1: <UHCI (generic) USB controller> port 0xe800-0xe81f irq 17 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> 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
uhci2: <UHCI (generic) USB controller> port 0xe880-0xe89f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0xec00-0xec1f irq 19 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xfebfbc00-0xfebfbfff irq 20 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
uhub5: vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/7.02, addr 2
uhub5: single transaction translator
uhub5: 4 ports with 4 removable, self powered
ugen0: vendor 0x0bda RTL8187_Wireless, rev 2.00/1.00, addr 3
pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib6
pci1: <display, VGA> at device 1.0 (no driver attached)
fwohci0: <Texas Instruments TSB43AB22/A> mem 0xfe7ef800-0xfe7effff,0xfe7e8000-0xfe7ebfff irq 21 at device 3.0 on pci1
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:11:d8:00:00:f9:74:5c
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:11:d8:f9:74:5c
fwe0: Ethernet address: 02:11:d8:f9:74:5c
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
atapci2: <Intel ICH7 SATA300 controller> port 0xe400-0xe407,0xe080-0xe083,0xe000-0xe007,0xdc00-0xdc03,0xd880-0xd88f mem 0xfebfb800-0xfebfbbff irq 23 at device 31.2 on pci0
atapci2: AHCI Version 01.10 controller with 4 ports detected
ata5: <ATA channel 0> on atapci2
ata6: <ATA channel 1> on atapci2
ata7: <ATA channel 2> on atapci2
ata8: <ATA channel 3> on atapci2
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xcd800-0xd07ff on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
ad10: 381554MB <SAMSUNG HD401LJ ZZ100-15> at ata5-master SATA300
ad12: 0MB <Config Disk RGL10364> at ata6-master SATA300
ad14: 381554MB <SAMSUNG HD401LJ ZZ100-15> at ata7-master SATA300
ad16: 476940MB <Seagate ST3500630AS 3.AAK> at ata8-master SATA150
ar0: 381551MB <Intel MatrixRAID RAID1> status: READY
ar0: disk0 READY (master) using ad10 at ata5-master
ar0: disk1 READY (mirror) using ad14 at ata7-master
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ar0s1a
myk0: link up
    


  

-- 
Mihail Kuchin,
mailto:admin at mixey.spb.ru




More information about the freebsd-acpi mailing list