From owner-cvs-src@FreeBSD.ORG  Tue Nov 30 19:13:27 2004
Return-Path: <owner-cvs-src@FreeBSD.ORG>
Delivered-To: cvs-src@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id BC3BD16A4CE; Tue, 30 Nov 2004 19:13: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 6955543D5A; Tue, 30 Nov 2004 19:13: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 iAUJDPC4008890
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Tue, 30 Nov 2004 11:13:26 -0800
Message-ID: <41ACC64B.9010702@root.org>
Date: Tue, 30 Nov 2004 11:13:15 -0800
From: Nate Lawson <nate@root.org>
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Pawel Jakub Dawidek <pjd@FreeBSD.org>
References: <200411232226.iANMQioc077290@repoman.freebsd.org>
	<20041130173902.GA56431@darkness.comp.waw.pl> <41ACB2A3.1010107@root.org>
	<20041130184224.GB56431@darkness.comp.waw.pl>
In-Reply-To: <20041130184224.GB56431@darkness.comp.waw.pl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
cc: cvs-src@FreeBSD.org
cc: src-committers@FreeBSD.org
cc: cvs-all@FreeBSD.org
cc: John Baldwin <jhb@FreeBSD.org>
Subject: Re: cvs commit: src/sys/dev/acpica acpi_pci_link.c acpi_pcib.c
 acpi_pcib_acpi.c acpi_pcib_pci.c acpi_pcibvar.h
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Nov 2004 19:13:27 -0000

Pawel Jakub Dawidek wrote:
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci_link0: <ACPI PCI Link LN1_> on acpi0
> device_attach: pci_link0 attach returned 6
> pcib0: failed to force attach of \_SB_.LN1_
> pci_link0: <ACPI PCI Link LN1_> on acpi0
> device_attach: pci_link0 attach returned 6
> pcib0: failed to force attach of \_SB_.LN1_
> pci_link0: <ACPI PCI Link LN1_> on acpi0
> device_attach: pci_link0 attach returned 6
> pcib0: failed to force attach of \_SB_.LN1_
> pci_link0: <ACPI PCI Link LN1_> on acpi0
> device_attach: pci_link0 attach returned 6
> pcib0: failed to force attach of \_SB_.LN1_
> pci0: <ACPI PCI bus> on pcib0
> 
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address   = 0x0
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc070dc0e
> stack pointer           = 0x10:0xc0820a10
> frame pointer           = 0x10:0xc0820b00
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 0 (swapper)
> [thread pid 0 tid 0 ]
> Stopped at      acpi_pci_link_route_interrupt+0x36:     cmpl    %ebx,0(%eax)
> db> tr
> Tracing pid 0 tid 0 td 0xc0617d80
> acpi_pci_link_route_interrupt(c1f1e300,0,24,ff,0) at acpi_pci_link_route_interrupt+0x36
> acpi_pcib_route_interrupt(c1f73480,c1f80c00,1,c1f782f4,c1f73480) at acpi_pcib_route_interrupt+0x28c
> acpi_pcib_acpi_route_interrupt(c1f73480,c1f80c00,1) at acpi_pcib_acpi_route_interrupt+0x1d
> pci_assign_interrupt_method(c1f73b80,c1f80c00,c0820bcc,8a,f) at pci_assign_interrupt_method+0x52

There are two problems:  attaching LN1_ and failing gracefully when it 
doesn't.  As I said privately, send me your asl so we can figure out 
what's going on with LN1_.  For the latter, we need to figure out what 
the null pointer is so do "l *acpi_pci_link_route_interrupt+0x36".

-- 
Nate