From owner-freebsd-current@FreeBSD.ORG Wed Jun 16 04:58:26 2004 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 21B3A16A4CE for ; Wed, 16 Jun 2004 04:58:26 +0000 (GMT) Received: from www.reppep.com (www.reppep.com [66.92.104.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4798243D5C for ; Wed, 16 Jun 2004 04:58:25 +0000 (GMT) (envelope-from pepper@reppep.com) Received: from [10.0.1.100] (airport.reppep.com [66.92.104.202]) by www.reppep.com (Postfix) with ESMTP id 6B8DDFE8C for ; Wed, 16 Jun 2004 00:58:23 -0400 (EDT) Mime-Version: 1.0 X-Sender: pepper@mail.reppep.com Message-Id: Date: Wed, 16 Jun 2004 00:58:15 -0400 To: freebsd-current@freebsd.org From: Chris Pepper Content-Type: text/plain; charset="us-ascii" ; format="flowed" Subject: ACPI hangs on HP 7915 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: Wed, 16 Jun 2004 04:58:26 -0000 I have an HP Pavilion 7915 which has run 4.5-4.10 happily. I'm trying out 5.2.1, which ran fine (and rebooted successfully) off the CD kernel for a few days. A few minutes ago I rebooted with my REPPEP5 custom kernel (source cvsupped to HEAD of 20040614), and it hangs at boot time -- twice at exactly the same place (AML breakpoint) in verbose mode. Safe mode works okay, and this is a test box, so I'm okay. I'm going to try upgrading the PhoenixBIOS from 3.04 to 3.07 ("Core Version" is at 4.06 -- I don't see an update), if HP and Windows XP can agree on what a Windows executable is (Windows won't run the self-extractor -- may try WinZip next). Assuming that doesn't work, I'll rebuild the kernel without ACPI. I would appreciate any insights y'all have to offer -- I have seen notes about ACPI BIOSes being broken in the 5.2.1 Errata and elsewhere, so perhaps ACPI will just have to stay off for awhile. Serial output from a hang, as well as dmesg from safe mode, are below. These, as well as my kernel (REPPEP5), a diff against GENERIC for 5.2.1, and acpidump output, are all available at . Regards, Chris Pepper ---- Verbose boot hangs like this: .?????????????????????????????????????????? . . . . , , . . /( )` . Welcome to FreeBSD! . \ \___ / | . . /- _ `-/ ' . . (/\/ \ \ /\ . 1. Boot FreeBSD [default] . / / | ` \ . 2. Boot FreeBSD with ACPI disabled . O O ) / | . 3. Boot FreeBSD in Safe Mode . `-^--'`< ' . 4. Boot FreeBSD in single user mode . (_.) _ ) / . 5. Boot FreeBSD with verbose logging . `.___/` / . 6. Escape to loader prompt . `-----' / . 7. Reboot . <----. __ / __ \ . . <----|====O)))==) \) /==== . . <----' `--' `.__,' \ . . | | . . \ / /\ . Select option, [Enter] for default . ______( (_ / \______/ . or [Space] to pause timer 5 . ,' ,-----' | .?????????????????????????????????????????. `--{__________) /boot/kernel/acpi.ko text=0x3f1a8 data=0x1744+0x114c syms=[0x4+0x6290+0x4+0x80]| Copyright (c) 1992-2004 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 5.2.1-RELEASE #0: Tue Jun 15 00:01:27 EDT 2004 root@guest.reppep.com:/usr/obj/usr/src/sys/REPPEP5 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0982000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc098221c. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Celeron (1102.50-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383fbff real memory = 401539072 (382 MB) avail memory = 380444672 (362 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] stray irq13 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard Debugger("Executed AML Breakpoint opcode") Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0 db> where Debugger(c096a711,30,c3a5e140,1,c0c21a1c) at Debugger+0x54 AcpiOsSignal(1,c096a711,c39bec00,0,c3a6c060) at AcpiOsSignal+0x55 AcpiDsExecEndControlOp(c39bec00,c3a6c060,c39bec00,13,c39bec00) at AcpiDsExecEndf AcpiDsExecEndOp(c39bec00,c3a6c060,0,c0c21a5c,c05919b3) at AcpiDsExecEndOp+0xf2 AcpiPsParseLoop(c39bec00,c3a33c40,c0c21b18,c39bec00,c39bede4) at AcpiPsParseLoo6 AcpiPsParseAml(c39bec00,c3a33cc0,c19c2e00,d385ea79,1) at AcpiPsParseAml+0x7c AcpiPsxExecute(c19c2e00,0,c0c21ba0,c19c2e00,0) at AcpiPsxExecute+0x202 AcpiNsExecuteControlMethod(c19c2e00,0,c0c21ba0,c3a5e200,0) at AcpiNsExecuteContf AcpiNsEvaluateByHandle(c19c2e00,0,0,e,0) at AcpiNsEvaluateByHandle+0x96 AcpiNsEvaluateRelative(c19c2e20,c096b320,0,0,f) at AcpiNsEvaluateRelative+0xde AcpiNsInitOneDevice(c19c2e20,2,c0c21c8c,0,6) at AcpiNsInitOneDevice+0xb8 AcpiNsWalkNamespace(6,ffffffff,ffffffff,0,c094c150) at AcpiNsWalkNamespace+0xb3 AcpiNsInitializeDevices(0,c0c21ce4,c0958a46,0,2) at AcpiNsInitializeDevices+0x53 AcpiInitializeObjects(0,2,c0948730,c0942760,0) at AcpiInitializeObjects+0x3a acpi_attach(c19cf580,c3a4404c,c07bd4f4,c09706f0,c3a117d0) at acpi_attach+0x166 device_probe_and_attach(c19cf580,c19cf700,c0c21d30,c0749edc,c19cf700) at device9 bus_generic_attach(c19cf700,c19cf700,c0c21d5c,c05b1859,c19cf700) at bus_generic8 nexus_attach(c19cf700,c3a3504c,c07bd4f4,0,c19c4a0c) at nexus_attach+0x1c device_probe_and_attach(c19cf700,c19c4a0c,c0c21d80,c0739a39,c39df000) at device9 root_bus_configure(c39df000,c07b38bc,0,c0c21d98,c0574fa5) at root_bus_configure8 configure(0,c1e000,c1ec00,c1e000,0) at configure+0x29 mi_startup() at mi_startup+0xb5 begin() at begin+0x2c db> trace Debugger(c096a711,30,c3a5e140,1,c0c21a1c) at Debugger+0x54 AcpiOsSignal(1,c096a711,c39bec00,0,c3a6c060) at AcpiOsSignal+0x55 AcpiDsExecEndControlOp(c39bec00,c3a6c060,c39bec00,13,c39bec00) at AcpiDsExecEndf AcpiDsExecEndOp(c39bec00,c3a6c060,0,c0c21a5c,c05919b3) at AcpiDsExecEndOp+0xf2 AcpiPsParseLoop(c39bec00,c3a33c40,c0c21b18,c39bec00,c39bede4) at AcpiPsParseLoo6 AcpiPsParseAml(c39bec00,c3a33cc0,c19c2e00,d385ea79,1) at AcpiPsParseAml+0x7c AcpiPsxExecute(c19c2e00,0,c0c21ba0,c19c2e00,0) at AcpiPsxExecute+0x202 AcpiNsExecuteControlMethod(c19c2e00,0,c0c21ba0,c3a5e200,0) at AcpiNsExecuteContf AcpiNsEvaluateByHandle(c19c2e00,0,0,e,0) at AcpiNsEvaluateByHandle+0x96 AcpiNsEvaluateRelative(c19c2e20,c096b320,0,0,f) at AcpiNsEvaluateRelative+0xde AcpiNsInitOneDevice(c19c2e20,2,c0c21c8c,0,6) at AcpiNsInitOneDevice+0xb8 AcpiNsWalkNamespace(6,ffffffff,ffffffff,0,c094c150) at AcpiNsWalkNamespace+0xb3 AcpiNsInitializeDevices(0,c0c21ce4,c0958a46,0,2) at AcpiNsInitializeDevices+0x53 AcpiInitializeObjects(0,2,c0948730,c0942760,0) at AcpiInitializeObjects+0x3a acpi_attach(c19cf580,c3a4404c,c07bd4f4,c09706f0,c3a117d0) at acpi_attach+0x166 device_probe_and_attach(c19cf580,c19cf700,c0c21d30,c0749edc,c19cf700) at device9 bus_generic_attach(c19cf700,c19cf700,c0c21d5c,c05b1859,c19cf700) at bus_generic8 nexus_attach(c19cf700,c3a3504c,c07bd4f4,0,c19c4a0c) at nexus_attach+0x1c device_probe_and_attach(c19cf700,c19c4a0c,c0c21d80,c0739a39,c39df000) at device9 root_bus_configure(c39df000,c07b38bc,0,c0c21d98,c0574fa5) at root_bus_configure8 configure(0,c1e000,c1ec00,c1e000,0) at configure+0x29 mi_startup() at mi_startup+0xb5 begin() at begin+0x2c db> examine Debugger+0x54: 6ca41d87 db> show all procs pid proc uarea uid ppid pgrp flag stat wmesg wchan cmd 44 c3a5c54c d382a000 0 0 0 0000204 new [IWAIT] swi6:+ 43 c3a5c710 d382b000 0 0 0 0000204 new [IWAIT] swi7: task queue 42 c3a5c8d4 d382c000 0 0 0 0000204 new [IWAIT] swi7: acpitaskq 41 c3a5ca98 d382d000 0 0 0 0000204 new [IWAIT] swi3: cambio 40 c3a5cc5c d3852000 0 0 0 0000204 new [IWAIT] swi2: camnet 39 c3a5ce20 d3853000 0 0 0 0000204 new [IWAIT] swi5:+ 5 c3a5f000 d3854000 0 0 0 0000204 new [RUNQ] taskqueue 38 c39c554c d37f4000 0 0 0 0000204 new [RUNQ] random 4 c39c5710 d37f5000 0 0 0 0000204 new [RUNQ] g_down 3 c39c58d4 d37f6000 0 0 0 0000204 new [RUNQ] g_up 2 c39c5a98 d37f7000 0 0 0 0000204 new [RUNQ] g_event 37 c39c5c5c d37f8000 0 0 0 0000204 new [IWAIT] swi4: vm 36 c39c5e20 d37f9000 0 0 0 000020c new [IWAIT] swi8: clock 35 c39d4000 d37fa000 0 0 0 0000204 new [IWAIT] swi1: net 34 c39d41c4 d381f000 0 0 0 0000204 new [IWAIT] irq0: 33 c39d4388 d3820000 0 0 0 0000204 new [IWAIT] irq23: 32 c39d454c d3821000 0 0 0 0000204 new [IWAIT] irq22: 31 c39d4710 d3822000 0 0 0 0000204 new [IWAIT] irq21: 30 c39d48d4 d3823000 0 0 0 0000204 new [IWAIT] irq20: 29 c19d81c4 d2a13000 0 0 0 0000204 new [IWAIT] irq19: 28 c19d8388 d2a14000 0 0 0 0000204 new [IWAIT] irq18: 27 c19d854c d2a15000 0 0 0 0000204 new [IWAIT] irq17: 26 c19d8710 d2a16000 0 0 0 0000204 new [IWAIT] irq16: 25 c19d88d4 d2a3b000 0 0 0 0000204 new [IWAIT] irq15: 24 c19d8a98 d2a3c000 0 0 0 0000204 new [IWAIT] irq14: 23 c19d8c5c d2a3d000 0 0 0 0000204 new [IWAIT] irq13: 22 c19d8e20 d2a3e000 0 0 0 0000204 new [IWAIT] irq12: 21 c39c5000 d37f1000 0 0 0 0000204 new [IWAIT] irq11: 20 c39c51c4 d37f2000 0 0 0 0000204 new [IWAIT] irq10: 19 c39c5388 d37f3000 0 0 0 0000204 new [IWAIT] irq9: acpi0 18 c19d0000 d29c1000 0 0 0 0000204 new [IWAIT] irq8: 17 c19d01c4 d2a0a000 0 0 0 0000204 new [IWAIT] irq7: 16 c19d0388 d2a0b000 0 0 0 0000204 new [IWAIT] irq6: 15 c19d054c d2a0c000 0 0 0 0000204 new [IWAIT] irq5: 14 c19d0710 d2a0d000 0 0 0 0000204 new [IWAIT] irq4: 13 c19d08d4 d2a0e000 0 0 0 0000204 new [IWAIT] irq3: 12 c19d0a98 d2a0f000 0 0 0 0000204 new [IWAIT] irq1: 11 c19d0c5c d2a10000 0 0 0 000020c [Can run] idle 1 c19d0e20 d2a11000 0 0 0 0000200 new [INACTIVE] swapper 10 c19d8000 d2a12000 0 0 0 0000204 new [RUNQ] ktrace 0 c084b740 c0c1f000 0 0 0 0000200 [CPU 0] swapper ---- Safe boot works fine. Here's the dmesg I got once it came back up: irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard Debugger("Executed AML Breakpoint opcode") called. pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.GAME._INI] (Node 0xc19ca580), AE_AML_UNINITIALIZED_LOCAL ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.MPU_._INI] (Node 0xc19ca460), AE_AML_UNINITIALIZED_LOCAL acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.LPT_._CRS] (Node 0xc19ca680), AE_AML_BUFFER_LIMIT ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.LPT_._CRS] (Node 0xc19ca680), AE_AML_BUFFER_LIMIT can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.LPT_ - AE_AML_BUFFER_LIMIT acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf4000000-0xf407ffff,0xf8000000-0xfbffffff irq 16 at device 1.0 on pci0 pcib1: at device 30.0 on pci0 pci1: on pcib1 atapci0: port 0x2000-0x200f,0x2010-0x2013,0x2018-0x201f,0x2014-0x2017,0x2020-0x2027 mem 0xf4100000-0xf4103fff irq 16 at device 8.0 on pci1 atapci0: [MPSAFE] ata2: at 0x2020 on atapci0 ata2: [MPSAFE] ata3: at 0x2018 on atapci0 ata3: [MPSAFE] xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x2080-0x20ff mem 0xf4104000-0xf410407f irq 17 at device 9.0 on pci1 xl0: Ethernet address: 00:04:76:df:f2:82 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto re0: port 0x2400-0x24ff mem 0xf4104400-0xf41044ff irq 18 at device 10.0 on pci1 re0: Ethernet address: 00:0e:2e:06:ea:82 miibus1: on re0 rgephy0: on miibus1 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: diagnostic failed, failed to receive packet in loopback mode re0: attach aborted due to hardware diag failure Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x98 fault code = supervisor write, page not present instruction pointer = 0x8:0xc0629495 stack pointer = 0x10:0xc0c218e4 frame pointer = 0x10:0xc0c218f4 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) trap number = 12 panic: page fault cpuid = 0; Uptime: 1s Shutting down ACPI Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... Copyright (c) 1992-2004 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 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a35000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a3521c. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Celeron (1102.50-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383fbff real memory = 401539072 (382 MB) avail memory = 380452864 (362 MB) ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard Debugger("Executed AML Breakpoint opcode") called. pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.GAME._INI] (Node 0xc19ca580), AE_AML_UNINITIALIZED_LOCAL ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.MPU_._INI] (Node 0xc19ca460), AE_AML_UNINITIALIZED_LOCAL acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.LPT_._CRS] (Node 0xc19ca680), AE_AML_BUFFER_LIMIT ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.LPT_._CRS] (Node 0xc19ca680), AE_AML_BUFFER_LIMIT can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.LPT_ - AE_AML_BUFFER_LIMIT acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf4000000-0xf407ffff,0xf8000000-0xfbffffff irq 16 at device 1.0 on pci0 pcib1: at device 30.0 on pci0 pci1: on pcib1 atapci0: port 0x2000-0x200f,0x2010-0x2013,0x2018-0x201f,0x2014-0x2017,0x2020-0x2027 mem 0xf4100000-0xf4103fff irq 16 at device 8.0 on pci1 atapci0: [MPSAFE] ata2: at 0x2020 on atapci0 ata2: [MPSAFE] ata3: at 0x2018 on atapci0 ata3: [MPSAFE] xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x2080-0x20ff mem 0xf4104000-0xf410407f irq 17 at device 9.0 on pci1 xl0: Ethernet address: 00:04:76:df:f2:82 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto re0: port 0x2400-0x24ff mem 0xf4104400-0xf41044ff irq 18 at device 10.0 on pci1 re0: Ethernet address: 00:0e:2e:06:ea:82 miibus1: on re0 rgephy0: on miibus1 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x10a0-0x10af at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci1 ata1: [MPSAFE] uhci0: port 0x1080-0x109f irq 19 at device 31.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x378-0x37f on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Polled port ppi0: on ppbus0 orm0: