From owner-freebsd-questions@FreeBSD.ORG Wed Sep 17 21:18:51 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C69311065680; Wed, 17 Sep 2008 21:18:51 +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 592C58FC1D; Wed, 17 Sep 2008 21:18:51 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m8HLILA0009566; Wed, 17 Sep 2008 17:18:45 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Wed, 17 Sep 2008 17:17:27 -0400 User-Agent: KMail/1.9.7 References: <20080916161222.125d15f5@peedub.jennejohn.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809171717.27570.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Wed, 17 Sep 2008 17:18:45 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8271/Wed Sep 17 12:58:50 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: questions@freebsd.org, gary.jennejohn@freenet.de, Scott Gasch Subject: Re: irq19 interrupt storm? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 21:18:51 -0000 On Wednesday 17 September 2008 11:00:24 am Scott Gasch wrote: > You're right: atapci1, atapci2, fwohci0 and uhci4 are all sharing the same > irq (19) while irqs 20, 21, 22 at least seem completely unused. Here's a > dumb question: how do I fix it? I tried setting "plug and play OS" in the > BIOS and then using device.hints to push different devices to different > irqs. But every time I tried a new hint it seemed to be ignored. I was > trying stuff like: > > set hint.atapci.1.irq="20" > set hint ata.4.irq="20" (ata4 is a channel on atapci1) > set hint fwhco.0.irq="20" > etc... > > > I also tried to move the dc driver to a new irq as a test. This was also > seemingly ignored. > > I then tried turning "plug and play OS" off in the BIOS but I don't see > anywhere to set the IRQs of the onboard SATA controllers via the menus. I'm > looking for a BIOS upgrade now... any other advice? Unfortunately you can't really move PCI IRQs around. You can read about more of the gritty details here: http://people.freebsd.org/~jhb/papers/bsdcan/2007/ You might be able to shuffle some IRQs around using 'hw.pciX.Y.INTA.irq' tunables. Probably you have a device driver whose interrupt handler isn't handling some condition. I would suspect ata as it's interrupt handler is rather simplistic with no chipset-specific hooks, and I've seen several reports of interrupt storms with ata(4) recently. > Thx, > Scott > > > On Tue, Sep 16, 2008 at 7:12 AM, Gary Jennejohn > wrote: > > > On Mon, 15 Sep 2008 22:57:38 -0700 > > "Scott Gasch" wrote: > > > > > Hi, > > > > > > I'm running freebsd 7.0-RELEASE-p4 on a 4-core amd64 box. Nearly 100% of > > > 1 cpu is constantly being used handling irq19: uhci4 interrupts. This > > > seems to happen both with and without any USB devices plugged in: > > > > > > vmstat -i > > > interrupt total rate > > > irq1: atkbd0 5 0 > > > irq6: fdc0 1 0 > > > irq17: mskc0 dc0 1180547 18 > > > irq18: skc0 uhci2* 163250699 2512 > > > irq19: uhci4++ 3187989508 49072 > > > > I think the ++ here indicates that two or more devices are sharing this > > interrupt. Try doing "grep irq.*19 /var/run/dmesg.boot" to see which > > ones. One of these devices could be the culprit. > > > > --- > > Gary Jennejohn > > > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > -- John Baldwin