From owner-freebsd-stable Mon Nov 20 1: 5:47 2000 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 4F3CC37B479 for ; Mon, 20 Nov 2000 01:05:42 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eAK95eQ22485; Mon, 20 Nov 2000 02:05:41 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id CAA20973; Mon, 20 Nov 2000 02:05:40 -0700 (MST) Message-Id: <200011200905.CAA20973@harmony.village.org> To: mike ryan Subject: Re: 4.2-BETA hangs on boot Cc: stable@FreeBSD.ORG In-reply-to: Your message of "Sun, 19 Nov 2000 21:19:14 EST." <20001119211914.A42618@medianstrip.net> References: <20001119211914.A42618@medianstrip.net> <20001116195957.A62344@bonsai.knology.net> <200011170209.eAH297q51130@drugs.dv.isc.org> <20001116204344.B62344@bonsai.knology.net> <200011172203.PAA77619@harmony.village.org> <20001117172251.A34915@medianstrip.net> <200011172314.QAA78313@harmony.village.org> <20001119042505.A7076@medianstrip.net> <200011192205.eAJM5QG03609@billy-club.village.org> <20001119193941.A38978@medianstrip.net> <200011200043.RAA16333@harmony.village.org> Date: Mon, 20 Nov 2000 02:05:39 -0700 From: Warner Losh Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20001119211914.A42618@medianstrip.net> mike ryan writes: : On 11/19/00, Warner Losh wrote: : > In message <20001119193941.A38978@medianstrip.net> mike ryan writes: : > : i'm not entirely sure i understand. "pnp o/s = no" causes the bios : > : to assign an irq to the pcic controller, meaning the pcic controller : > : raises that interrupt on insertions/removals, but the driver, : > : operating in polling mode, never clears the interrupt so the machine : > : wedges trying to service it? if this is correct, how does ddb : > : manage to unwedge things? : > : > I'm not sure. I suspect that it is assigning other interrupts : > differently. I'm not entirely sure. : : now i definitely don't understand. is this a response to the first : question? : : how could interrupt assignments to other devices cause wedges on : card insertion events? I don't know. There's something going on that I do not understand. I do not understand why breaking into the debugger somehow clears the interrupt so that the system works again. : > : the fix in -current is the pci interrupt routing code which allows : > : us to set "pnp os = yes" in the bios and let freebsd make irq : > : assignments only for devices it understands? : > : > FreeBSD -current doesn't support this just yet. : : okay... so what is the circa-bsdcon interrupt-related fix in : -current to which you referred then? Ah, that's where we start to route interrupts to the cardbus cards. Actually, that's for all pci generally. But there are a number of different changes necessary for this functionality and these changes are ongoing. They were made by myself and mike smith. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message