Re: [acpi-jp 2879] 5.1R: page fault from AcpiNsMapHandleToNode

From: Nate Lawson <nate_at_root.org>
Date: Thu, 11 Dec 2003 15:29:20 -0800 (PST)
On Thu, 11 Dec 2003, Georg-W. Koltermann wrote:
> I recently upgraded my Compaq Evo N800w to BIOS F.12.  After applying
> Magnus' patch from acpi-jp 2190, ACPI now works - somewhat. Fan control
> works, battery, special keys are recognized, battery/AC is displayed but
> battery level is invalid. Suspend works but resume locks up.
>
> Well last night after some 17 hours of uptime the system paniced
> unattended.  Below is what I got out of the dump.  System is FreeBSD
> 5.1-RELEASE.

Please try 5.2-current if you can.  However, I'm not sure this is fixed
in it.  More info is needed.

> #7  0xc050908d in AcpiGetHandle (Parent=0x50006, Pathname=0xc0525e1f "_PS0",
>     RetHandle=0xdf0fcc3c) at /usr/src/sys/contrib/dev/acpica/nsxfname.c:177
> #8  0xc051b6e3 in acpi_pwr_switch_consumer (consumer=0x0, state=0)
>     at /usr/src/sys/dev/acpica/acpi_powerres.c:359
> #9  0xc051cee8 in acpi_tz_switch_cooler_on (obj=0xc7183c00, arg=0xc615f400)
>     at /usr/src/sys/dev/acpica/acpi_thermal.c:588
> #10 0xc05149fd in acpi_ForeachPackageObject (pkg=0xc615f400,
>     func=0xc051ceb0 <acpi_tz_switch_cooler_on>, arg=0xc615f400)
>     at /usr/src/sys/dev/acpica/acpi.c:1236
> #11 0xc051cccb in acpi_tz_monitor (sc=0xc7183c00)
>     at /usr/src/sys/dev/acpica/acpi_thermal.c:462
> #12 0xc051f8a0 in acpi_task_thread (arg=0x0)
>     at /usr/src/sys/dev/acpica/Osd/OsdSchedule.c:124
> #13 0xc01d393e in fork_exit (callout=0xc051f7a0 <acpi_task_thread>, arg=0x0,
>     frame=0x0) at /usr/src/sys/kern/kern_fork.c:768

Parent pointer is invalid, as you show.  The panic was triggered by an
attempt to turn the fan on.  You should be able to trigger it quickly by
turning off CPU idling (sysctl machdep.cpu_idle_hlt=0) and doing something
CPU intensive (dd if=/dev/random of=/dev/null bs=1m).  Let's get some more
debugging info.

Please send acpidump -t -d > georg-CpqEvo800w.asl
Please send me a link to the bzip2 kernel.debug and dump you have from
above.
Also, please recompile your acpi.ko with ACPI_DEBUG, then set these in
sysctl after your system has booted:
    debug.acpi.layer="ACPI_THERMAL ACPI_NAMESPACE"
    debug.acpi.level="ACPI_LV_VALUES ACPI_LV_OBJECTS"
    hw.acpi.verbose="1"

Then trigger the panic as described above.  You should get some helpful
dmesg output.

-Nate
Received on Thu Dec 11 2003 - 14:29:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:33 UTC