From owner-freebsd-current@FreeBSD.ORG Sat Oct 22 22:09:21 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 CF56B16A41F; Sat, 22 Oct 2005 22:09:21 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from heff.fud.org.nz (60-234-149-201.bitstream.orcon.net.nz [60.234.149.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E04E43D45; Sat, 22 Oct 2005 22:09:20 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id CB7651CCDD; Sun, 23 Oct 2005 11:09:19 +1300 (NZDT) Date: Sun, 23 Oct 2005 11:09:19 +1300 From: Andrew Thompson To: Nate Lawson Message-ID: <20051022220919.GA63028@heff.fud.org.nz> References: <20051015014313.GA25990@heff.fud.org.nz> <200510171735.18054.jhb@freebsd.org> <20051018014031.GA38996@heff.fud.org.nz> <200510181239.58502.jhb@freebsd.org> <4359F36A.7000308@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4359F36A.7000308@root.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: RC1 panic on boot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 22 Oct 2005 22:09:21 -0000 On Sat, Oct 22, 2005 at 01:08:10AM -0700, Nate Lawson wrote: > John Baldwin wrote: > >On Monday 17 October 2005 09:40 pm, Andrew Thompson 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 7.0-CURRENT #0: Tue Oct 18 11:22:14 NZDT 2005 > >> root@dev.fud.org.nz:/usr/obj/usr/src/sys/GENERIC > >>WARNING: WITNESS option enabled, expect reduced performance. > >>Timecounter "i8254" frequency 1193182 Hz quality 0 > >>CPU: Intel Celeron (448.05-MHz 686-class CPU) > >> Origin = "GenuineIntel" Id = 0x681 Stepping = 1 > >> > >>Features=0x383f9ff >>,PAT,PSE36,MMX,FXSR,SSE> real memory = 536870912 (512 MB) > >>avail memory = 515850240 (491 MB) > >>npx0: [FAST] > >>npx0: on motherboard > >>npx0: INT 16 interface > >>acpi0: on motherboard > >>acpi0: Power Button (fixed) > >>acpi_pci_link_probe: ACPI_ID_PROBE OK for 'LNKA' > >>pci_link0: irq 10 on acpi0 > >>acpi_pci_link_probe: ACPI_ID_PROBE OK for 'LNKB' > >>pci_link1: irq 10 on acpi0 > >>acpi_pci_link_probe: ACPI_ID_PROBE OK for 'LNKD' > >>pci_link2: irq 10 on acpi0 > > It's not probing LNKC because it's disabled on boot and his ASL is less > than standard. If you look at _STA for LNKC, it returns 0xB if enabled > and 0x1 if disabled. The problem is, the disabled case is returning > "PRESENT" but not "FUNCTIONAL" and so we don't probe that device. It > happens to work for the others because they are enabled by the BIOS. > > We can probably add a hack to that if() that says: > && !acpi_MatchHid(handle, "PNP0C0F") Yay! I put this addition in the if statement and now its booting fine. pci_link0: irq 10 on acpi0 pci_link1: irq 10 on acpi0 pci_link2: on acpi0 pci_link3: irq 10 on acpi0 Thanks, Andrew