From owner-freebsd-acpi@FreeBSD.ORG Mon Sep 8 20:12:04 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A17D1065671 for ; Mon, 8 Sep 2008 20:12:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id D28E78FC16 for ; Mon, 8 Sep 2008 20:12:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [IPv6:2001:470:1f11:75:2a0:d2ff:fe18:8b38]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m88KBvuD095950; Mon, 8 Sep 2008 16:11:57 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-acpi@freebsd.org, lists@peter.de.com Date: Mon, 8 Sep 2008 11:08:49 -0400 User-Agent: KMail/1.9.7 References: <20080901141216.72601dfb@dilbert.office.centralnic.com> In-Reply-To: <20080901141216.72601dfb@dilbert.office.centralnic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809081108.50135.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:2001:470:1f11:75::1]); Mon, 08 Sep 2008 16:11:57 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8162/Thu Sep 4 12:38:45 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.3 required=4.2 tests=AWL,BAYES_00, DATE_IN_PAST_03_06,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: kernel: interrupt storm detected on "irq22:"; throttling interrupt source [7.0-RELEASE] X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2008 20:12:04 -0000 On Monday 01 September 2008 09:12:16 am Oliver Peter wrote: > Hi, > > For about 6 weeks I'm suffering an interrupt storm on my production > machine which is running 7.0-RELEASE-p3/amd64. > > The kernel is flooding my syslog with the following messages[1]. > A full dmesg can be found here[2]. > > As discribed in "Using and Debugging FreeBSD ACPI" I already tried > to disable apic during boot time but that's a bad idea because it > seems that the SATA2 onboard controller has to have apic loaded - > please correct me if I'm wrong. > > /boot/loader.conf: > hint.apic.0.disabled="1" > > Doesn't work for me. > > Btw. I think it's worth it to have a little note in that part of > the documentation which says something about possible failures > during the boot time. > > Thanks for any suggestions. There are two possible causes of an interrupt storm: 1) some device is actually using IRQ 22 but FreeBSD thinks it is using something else. This doesn't happen very often as it is generally a bug in the BIOS and one of the tables it generates. This used to happen more often in older versions of FreeBSD that had bugs or limitations in the code that figured out which IRQ PCI devices used. 2) There is a bug in the driver for one of the devices on IRQ 22. In this case the only device you have on IRQ is atapci0, so it may be a bug in the ata(4) driver, possibly. You could check to see if the interrupt handler for the Linux driver for your chipset has extra logic (currently ata(4) doesn't have any chipset-specific logic for interrupt handlers AFAIK). Also, you could try examining the interrupt status register of your controller when you are getting storms to see if there is a condition set that isn't being cleared by ata's interrupt handler. -- John Baldwin