From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 22 13:39:28 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 92D6F16A4CE for ; Mon, 22 Nov 2004 13:39:28 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43B0443D76 for ; Mon, 22 Nov 2004 13:39:28 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 30243 invoked from network); 22 Nov 2004 13:39:28 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 22 Nov 2004 13:39:27 -0000 Received: from [192.168.0.15] (osx.baldwin.cx [192.168.0.15]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id iAMDdOla027124; Mon, 22 Nov 2004 08:39:24 -0500 (EST) (envelope-from jhb@FreeBSD.org) In-Reply-To: <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> <20041119225850.GA49744@ip.net.ua> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: John Baldwin Date: Mon, 22 Nov 2004 08:39:16 -0500 To: Ruslan Ermilov X-Mailer: Apple Mail (2.619) X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx 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: Mon, 22 Nov 2004 13:39:28 -0000 On Nov 19, 2004, at 5:58 PM, Ruslan Ermilov wrote: > 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 >>>>> that >>>>> 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 >> >> Looks like it hung everything off of IRQ 9 since the BIOS didn't >> preset any >> device IRQs. What was the behavior prior to this patch? >> > 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 Try setting 'hw.pci.link.LNKA.irq=11' in the loader with the patch and see if that helps dc(4) to work better. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org