Re: RC1 panic on boot

From: Andrew Thompson <thompsa_at_freebsd.org>
Date: Sun, 23 Oct 2005 11:09:19 +1300
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_at_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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV
> >>,PAT,PSE36,MMX,FXSR,SSE> real memory  = 536870912 (512 MB)
> >>avail memory = 515850240 (491 MB)
> >>npx0: [FAST]
> >>npx0: <math processor> on motherboard
> >>npx0: INT 16 interface
> >>acpi0: <HP-MCD CK RSDT> on motherboard
> >>acpi0: Power Button (fixed)
> >>acpi_pci_link_probe: ACPI_ID_PROBE OK for 'LNKA'
> >>pci_link0: <ACPI PCI Link LNKA> irq 10 on acpi0
> >>acpi_pci_link_probe: ACPI_ID_PROBE OK for 'LNKB'
> >>pci_link1: <ACPI PCI Link LNKB> irq 10 on acpi0
> >>acpi_pci_link_probe: ACPI_ID_PROBE OK for 'LNKD'
> >>pci_link2: <ACPI PCI Link LNKD> 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: <ACPI PCI Link LNKA> irq 10 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 10 on acpi0
pci_link2: <ACPI PCI Link LNKC> on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 10 on acpi0


Thanks,
Andrew
Received on Sat Oct 22 2005 - 20:09:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC