From owner-freebsd-current@FreeBSD.ORG Fri Jan 7 17:39:44 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BE8F16A4CE; Fri, 7 Jan 2005 17:39:44 +0000 (GMT) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F8F743D4C; Fri, 7 Jan 2005 17:39:43 +0000 (GMT) (envelope-from pawel.worach@telia.com) Received: from [127.0.0.1] (81.225.14.129) by pne-smtpout1-sn2.hy.skanova.net (7.1.026.6) (authenticated as u86211448) id 4199C69600039EBA; Fri, 7 Jan 2005 18:39:10 +0100 Message-ID: <41DEC937.5030709@telia.com> Date: Fri, 07 Jan 2005 18:39:03 +0100 From: Pawel Worach User-Agent: Mozilla Thunderbird 1.0 (X11/20041223) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <20587818.1102626838092.JavaMail.tomcat@pne-ps4-sn1> <200501061345.44146.jhb@FreeBSD.org> <41DD9806.6060301@telia.com> <200501061541.39673.jhb@FreeBSD.org> <41DDBA4F.6010009@root.org> <41DDC941.9000609@telia.com> <41DE36FA.6070805@root.org> In-Reply-To: <41DE36FA.6070805@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@FreeBSD.org cc: John Baldwin Subject: Re: page fault panic in device_get_softc/acpi_pcib_route_interrupt X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2005 17:39:44 -0000 Nate Lawson wrote: > Pawel Worach wrote: >> >> I do not even see the code enter acpi_pci_link_attach(), even added a >> dummy >> printf at the top of the method. > > > That's a problem. If the link isn't attached, you can't route > interrupts by it. Try adding this to the if statemetns in > sys/dev/acpica/acpi.c:acpi_probe_order() -- > > /* attach pci links early */ > } else if (acpi_MatchHid(handle, "PNP0C0F")) { > *order = 3; > ret = 1; > } > acpi_probe_order() is called 26 times but PNP0C0F never seems to match the handle passed to it. -- Pawel