From owner-freebsd-current@FreeBSD.ORG Thu Jan 6 22:23:27 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 8FEF316A4CE; Thu, 6 Jan 2005 22:23:27 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49D8043D4C; Thu, 6 Jan 2005 22:23:27 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j06MNPGV009876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 6 Jan 2005 14:23:26 -0800 Message-ID: <41DDBA4F.6010009@root.org> Date: Thu, 06 Jan 2005 14:23:11 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: <20587818.1102626838092.JavaMail.tomcat@pne-ps4-sn1> <200501061345.44146.jhb@FreeBSD.org> <41DD9806.6060301@telia.com> <200501061541.39673.jhb@FreeBSD.org> In-Reply-To: <200501061541.39673.jhb@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@FreeBSD.org 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: Thu, 06 Jan 2005 22:23:27 -0000 John Baldwin wrote: > On Thursday 06 January 2005 02:56 pm, Pawel Worach wrote: >>Copyright (c) 1992-2005 The FreeBSD Project. >>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> The Regents of the University of California. All rights reserved. >>FreeBSD 6.0-CURRENT #0: Thu Jan 6 20:31:16 CET 2005 >> root@zero:/usr/obj/usr/src/sys/ZERO >>... >>pcib0: matched entry for 0.15.INTA (src \LPUS:0) >> >> >>Fatal trap 12: page fault while in kernel mode >>cpuid = 0; apic id = 00 >>fault virtual address = 0x48 > > > The fact that the source is '\LPUS' is bothersome, it should probably just be > 'LPUS' (without the leading slash). Do you have your acpidump somewhere > where we can look at it? Also, is there a BIOS upgrade available? The namespace is as follows: \_SB PCI0 (and 1-4) PICM (and APIC) references to LPUS, no \ \LPUS A possible fix is to change each reference to LP* in the PICM and APIC packages to be \LPUS, \LP05, etc. Then recompile and load your asl via the instructions for overriding it in acpi(4). I'm still not sure why this is broken though so I think it's a red herring and suspect the asl fix won't help. I suspect the real reason is that \LPUS is not probed/attached before calling pci_add_child() on PCI0. Pawel, can you stick a printf in acpi_pci_link_attach() right before the return (0) like this: printf("pci link attached: %s\n", acpi_name(acpi_get_handle(dev))); I suspect we won't see LPUS there before it panics. -- Nate