From owner-freebsd-current@FreeBSD.ORG Tue Oct 18 01:40:35 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 C67CD16A41F; Tue, 18 Oct 2005 01:40:35 +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 2852B43D49; Tue, 18 Oct 2005 01:40:33 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id B98B71CCDD; Tue, 18 Oct 2005 14:40:31 +1300 (NZDT) Date: Tue, 18 Oct 2005 14:40:31 +1300 From: Andrew Thompson To: John Baldwin Message-ID: <20051018014031.GA38996@heff.fud.org.nz> References: <20051015014313.GA25990@heff.fud.org.nz> <200510171654.04153.jhb@freebsd.org> <20051017211217.GA38673@heff.fud.org.nz> <200510171735.18054.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200510171735.18054.jhb@freebsd.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: Tue, 18 Oct 2005 01:40:36 -0000 On Mon, Oct 17, 2005 at 05:35:17PM -0400, John Baldwin wrote: > On Monday 17 October 2005 05:12 pm, Andrew Thompson wrote: > > On Mon, Oct 17, 2005 at 04:54:02PM -0400, John Baldwin wrote: > > > On Friday 14 October 2005 09:43 pm, Andrew Thompson wrote: > > > > Hi, > > > > > > > > > > > > I am getting this panic on RC1, I am booting disc1 to install the > > > > system. Its a HP Omnibook 4150 and no PC cards are inserted. > > > > > > > > It has 5.4 on the drive at the moment which installed fine. I have > > > > attached a couple of dmesg logs. > > > > > > > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 > > > > cpu0: on acpi0 > > > > acpi_throttle0: on cpu0 > > > > acpi_lid0: on acpi0 > > > > pcib0: port 0xcf8-0xcff on acpi0 > > > > > > Your LNKC pci_link device didn't probe and attach for some reason. Can > > > you post your ASL somewhere? ACPI is supposed to force all the link > > > devices to probe first. > > > > thanks, > > > > http://www.fud.org.nz/~andy/omnibook-4150.asl > > http://www.fud.org.nz/~andy/omnibook-4150.dsdt > > > > Ive been doing a binary search in between other things and have narrowed > > the breakage to late November 2004. mid nov boots fine and the 27th > > onwards panics, i'll keep going. > > That would be because the new pci_link code was committed on November 23 and > isn't in 5.x. I didn't see anything weird in your ASL. LNKC looks fine, so > I'm not sure why it isn't attaching. A good first step might be to add some > printf's in acpi_pci_link.c in the probe routine to see if the LNKC device is > even getting probed and if the probe is failing, why it is failing. LNKC doesnt seem to be probed at all. 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 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 unknown: memory range not supported unknown: memory range not supported unknown: memory range not supported unknown: memory range not supported unknown: memory range not supported unknown: memory range not supported acpi_pci_link_probe: ACPI_ID_PROBE failed for 'XROM' acpi_pci_link_probe: ACPI_ID_PROBE failed for 'MBRD' acpi_pci_link_probe: ACPI_ID_PROBE failed for 'EC0_' acpi_ec0: port 0x62,0x66 on acpi0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_pci_link_probe: ACPI_ID_PROBE failed for 'CPU0' cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_pci_link_probe: ACPI_ID_PROBE failed for 'LID_' acpi_lid0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 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 = 0x20:0xc0ad2e1e stack pointer = 0x28:0xc0c20ba0 frame pointer = 0x28:0xc0c20bac 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_lookup+0x1e: movl 0(%eax),%eax db>