From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 6 10:33:55 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D620E16A400 for ; Fri, 6 Jul 2007 10:33:55 +0000 (UTC) (envelope-from admin@mixey.spb.ru) Received: from mail.ifmo.ru (mail.ifmo.ru [194.85.160.50]) by mx1.freebsd.org (Postfix) with ESMTP id E6FB813C45B for ; Fri, 6 Jul 2007 10:33:54 +0000 (UTC) (envelope-from admin@mixey.spb.ru) Received: from spline.ifmo.ru (spline.ifmo.ru [194.85.161.212]) by mail.ifmo.ru (8.13.8/8.13.8) with ESMTP id l66A1jSZ026898 for ; Fri, 6 Jul 2007 14:01:52 +0400 Received: from spline.ifmo.ru ([194.85.161.212]) by spline.ifmo.ru for freebsd-acpi@freebsd.org; Fri, 6 Jul 2007 14:01:43 +0400 Date: Fri, 6 Jul 2007 14:01:43 +0400 From: =?Windows-1251?Q?=CC=E8=F5=E0=E8=EB_=CA=F3=F7=E8=ED?= X-Mailer: The Bat! (v3.5) Professional Organization: IFMO X-Priority: 3 (Normal) Message-ID: <1387899022.20070706140143@mixey.spb.ru> To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Subject: Asus P5W DH Deluxe APIC/SMP IRQ problem X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?Windows-1251?Q?=CC=E8=F5=E0=E8=EB_=CA=F3=F7=E8=ED?= List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2007 10:33:55 -0000 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@pci0:0:0: class=0x060000 card=0x81781043 chip=0x277c8086 rev=0xc0 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000088 chip=0x277d8086 rev=0xc0 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI none0@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@pci2:0:0: class=0x010185 card=0x81e41043 chip=0x2363197b rev=0x02 hdr=0x00 class = mass storage subclass = ATA none2@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@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@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 Features2=0xe3bd,CX16,,> AMD Features=0x20000000 AMD Features2=0x1 Cores per package: 2 real memory = 1073217536 (1023 MB) avail memory = 1041010688 (992 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: 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: on acpi0 acpi_perf0: on cpu0 acpi_throttle0: on cpu0 cpu1: on acpi0 acpi_perf1: on cpu1 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci6: on pcib1 pci0: at device 27.0 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci5: on pcib2 pcib3: irq 19 at device 28.3 on pci0 pci4: on pcib3 mykc0: 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: irq 16 at device 28.4 on pci0 pci3: on pcib4 mykc1: 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: irq 17 at device 28.5 on pci0 pci2: on pcib5 atapci0: 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: on atapci0 ata3: on atapci0 ata4: on atapci0 uhci0: port 0xe480-0xe49f irq 20 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] 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 uhci1: port 0xe800-0xe81f irq 17 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] 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 uhci2: port 0xe880-0xe89f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: 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: port 0xec00-0xec1f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: 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: 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: 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: at device 30.0 on pci0 pci1: on pcib6 pci1: at device 1.0 (no driver attached) fwohci0: 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: on fwohci0 fwe0: 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: 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: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci1 ata1: on atapci1 atapci2: 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: on atapci2 ata6: on atapci2 ata7: on atapci2 ata8: on atapci2 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: 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: at iomem 0xc0000-0xc7fff,0xcd800-0xd07ff on isa0 ppc0: parallel port not found. sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec ad10: 381554MB at ata5-master SATA300 ad12: 0MB at ata6-master SATA300 ad14: 381554MB at ata7-master SATA300 ad16: 476940MB at ata8-master SATA150 ar0: 381551MB 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@mixey.spb.ru