From owner-freebsd-amd64@FreeBSD.ORG Tue Sep 16 06:23:15 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 998171065672 for ; Tue, 16 Sep 2008 06:23:15 +0000 (UTC) (envelope-from scott.gasch@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.freebsd.org (Postfix) with ESMTP id 476CB8FC26 for ; Tue, 16 Sep 2008 06:23:15 +0000 (UTC) (envelope-from scott.gasch@gmail.com) Received: by wx-out-0506.google.com with SMTP id s17so1051768wxc.7 for ; Mon, 15 Sep 2008 23:23:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=ZFtP6xYGD3DDa/pYNremOsW1HNyXmqCp09waKHGe9V8=; b=l6KcTlVo6Ee0HarGrhmy6J1RgrYKezaisieTZamYRgCM5oQO08Vi08BaCtp6E1FONQ Ynzos0iOp4YudlB8gcup3ya2o2n6g/TzqQ/DYhYMtocxPdqXm8Xdr9VHRRu2vjGIsujM YLeZ2fFXTU0Pgo15gGukszPCOPfKuSmVZZLOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=P3Lu2JsQtGvXHv+Q0CAfVcu1SsLBL/8DBU8wb3WpYyJBvOyqfLWej3pZS6lxFsF6Up F+q2/SvQwJJr72WZD599BCsSbrPK1o4BeXaYL22w+fNfC/iBa86FEl4BjcgbleUh+cLe ZaqTp6uQqkMmhkpApOAWCr0uZoNDHpzKRVlJ8= Received: by 10.70.26.8 with SMTP id 8mr719709wxz.13.1221544658054; Mon, 15 Sep 2008 22:57:38 -0700 (PDT) Received: by 10.70.60.3 with HTTP; Mon, 15 Sep 2008 22:57:38 -0700 (PDT) Message-ID: Date: Mon, 15 Sep 2008 22:57:38 -0700 From: "Scott Gasch" To: freebsd-amd64@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 16 Sep 2008 11:27:24 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: irq19 interrupt storm? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 06:23:15 -0000 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 irq23: uhci3 ehci1 31 0 cpu0: timer 129208570 1988 cpu1: timer 129208457 1988 cpu2: timer 125750147 1935 cpu3: timer 125750122 1935 Total 3862338087 59452 dmesg uhci4: port 0xa400-0xa41f irq 19 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] The box runs my own kernel... but a very similar problem happens with GENERIC. The same irq (19) is firing too often and consuming nearly all of one core. But the driver that is associated with the interrupt is different -- it's fwohci0 this time: vmstat -i interrupt total rate irq6: fdc0 1 0 irq17: mskc0 dc0 313242 13 irq18: skc0 uhci2* 124475451 5540 irq19: fwohci0+++ 957875379 42638 irq23: uhci3 ehci1 1145 0 cpu0: timer 44458513 1979 cpu1: timer 44448875 1978 cpu3: timer 43393901 1931 cpu2: timer 43393921 1931 Total 1258360428 56014 This makes me start to wonder if this is not a problem with irq19 (the PIC?) and not one particular device / driver. I'm not sure how to make dig deeper here, any help greatly appreciated. I posted this to questions a while back and no one replied ;) Thx, Scott