From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 19 22:58:50 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4203A16A4CE; Fri, 19 Nov 2004 22:58:50 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 649FF43D1F; Fri, 19 Nov 2004 22:58:49 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAJMwmok023552; Sat, 20 Nov 2004 00:58:48 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 94433-16; Sat, 20 Nov 2004 00:58:47 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAJMwlaY023549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 Nov 2004 00:58:47 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iAJMwoJT052274; Sat, 20 Nov 2004 00:58:50 +0200 (EET) (envelope-from ru) Date: Sat, 20 Nov 2004 00:58:50 +0200 From: Ruslan Ermilov To: John Baldwin Message-ID: <20041119225850.GA49744@ip.net.ua> References: <200411111737.00537.jhb@FreeBSD.org> <20041118001947.GA53060@ip.net.ua> <20041118084627.GA72018@ip.net.ua> <200411191559.46209.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <200411191559.46209.jhb@FreeBSD.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: acpi@FreeBSD.org Subject: Re: New ACPI PCI Link Routing code X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 22:58:50 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 19, 2004 at 03:59:46PM -0500, John Baldwin wrote: > On Thursday 18 November 2004 03:46 am, Ruslan Ermilov wrote: > > On Thu, Nov 18, 2004 at 02:19:47AM +0200, Ruslan Ermilov wrote: > > > On Wed, Nov 17, 2004 at 05:44:53PM -0500, John Baldwin wrote: > > > [...] > > > > > > > Erm, unless I've got a logic bug I don't run the KASSERT() for zero > > > > interrupts. Oh darn, I left a bogus KASSERT() in in the function t= hat > > > > does the actual routing. The assertion's on lines 497 and 511 can = be > > > > dropped. I'll update the patch in a second. > > > > > > With an updated patch, I no longer get panic on boot, and there > > > are no more interrupt storms, but the latter is probably at the > > > cost of old bug re-introduced. My dc(4) PCCard doesn't get a > > > correct IRQ, "dc0: watchdog timeout". > > > > I've put a verbose boot output here, as requested: > > > > http://people.freebsd.org/~ru/dmesg.boot >=20 > Looks like it hung everything off of IRQ 9 since the BIOS didn't preset a= ny=20 > device IRQs. What was the behavior prior to this patch? >=20 http://people.freebsd.org/~ru/dmesg.boot2 The system is dead slow due to interrupt storm in IRQ 10, but at least dc(4) works. # vmstat -i interrupt total rate irq0: clk 353566 993 irq1: atkbd0 1134 3 irq6: fdc0 22 0 irq8: rtc 45394 127 irq9: acpi0 648 1 irq10: cbb1 dc0 28202293 79219 irq11: cbb0 csa0 689545 1936 irq12: psm0 1161 3 irq13: npx0 1 0 irq14: ata0 1939 5 irq15: ata1 52 0 Total 29295755 82291 Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBnnqpqRfpzJluFF4RAlkoAJ0TqPg+Fb7JjJcJr4H3vN4gWRrr8QCghXdS p0IRcXg7ZMwJfRJfo/fa0aA= =HnT7 -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--