5.1R: page fault from AcpiNsMapHandleToNode

From: Georg-W. Koltermann <gwk_at_rahn-koltermann.de>
Date: Thu, 11 Dec 2003 23:55:06 +0100
Hi,

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.

-- 
Grüße,
Georg.

Btw I already send this via WEB mail, but couln't find a trace in the
list traffic so I resend it here.

----------------snip-----------------------
Dec 11 03:05:04 hunter syslogd: kernel boot file is /boot/kernel/kernel
Dec 11 03:05:04 hunter kernel:
Dec 11 03:05:04 hunter kernel:
Dec 11 03:05:04 hunter kernel: Fatal trap 12: page fault while in kernel mode
Dec 11 03:05:04 hunter kernel: fault virtual address    = 0x50006
Dec 11 03:05:04 hunter kernel: fault code               = supervisor read, page
not present
Dec 11 03:05:04 hunter kernel: instruction pointer      = 0x8:0xc0508580
Dec 11 03:05:04 hunter kernel: stack pointer            = 0x10:0xdf0fcbf0
Dec 11 03:05:04 hunter kernel: frame pointer            = 0x10:0xdf0fcbf0
Dec 11 03:05:04 hunter kernel: code segment             = base 0x0, limit 0xfffff, type 0x1b
Dec 11 03:05:04 hunter kernel: = DPL 0, pres 1, def32 1, gran 1
Dec 11 03:05:04 hunter kernel: processor eflags = interrupt enabled, resume, IOPL = 0
Dec 11 03:05:04 hunter kernel: current process          = 6 (acpi_task1)
Dec 11 03:05:04 hunter kernel: trap number              = 12
Dec 11 03:05:04 hunter kernel: panic: page fault
Dec 11 03:05:04 hunter kernel:
Dec 11 03:05:04 hunter kernel: syncing disks, buffers remaining... 7142 7142 7139 7138 7138 7135 7135 7135 7135 7135 7135 7135 7135 7135 7135 7135 7135 7135 7135 7135 7135 7135 7135 7135 7135
Dec 11 03:05:04 hunter kernel: giving up on 5073 buffers
Dec 11 03:05:04 hunter kernel: Uptime: 17h25m24s
Dec 11 03:05:04 hunter kernel: Dumping 1023 MB
Dec 11 03:05:04 hunter kernel: ata0: resetting devices ..
Dec 11 03:05:04 hunter kernel: done
Dec 11 03:05:04 hunter kernel: 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960 976 992 1008
Dec 11 03:05:04 hunter kernel: Dump complete
Dec 11 03:05:04 hunter kernel: pfs_vncache_unload(): 6 entries remaining
Dec 11 03:05:04 hunter kernel: Terminate ACPI

(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
#1  0xc01e643a in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:370
#2  0xc01e66f3 in panic () at /usr/src/sys/kern/kern_shutdown.c:543
#3  0xc032c9be in trap_fatal (frame=0xdf0fcbb0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:834
#4  0xc032c6d2 in trap_pfault (frame=0xdf0fcbb0, usermode=0, eva=327686)
    at /usr/src/sys/i386/i386/trap.c:748
#5  0xc032c2ed in trap (frame=
      {tf_fs = -1070661608, tf_es = -1065156592, tf_ds = 1071054864, tf_edi = 0, tf_esi = -1068343777, tf_ebp = -552612880, tf_isp = -552612900, tf_ebx = -1068343772, tf_edx = 327686, tf_ecx = -1038322432, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1068464768, tf_cs = 8, tf_eflags = 66067, tf_esp = -552612840, tf_ss = -1068461939}) at /usr/src/sys/i386/i386/trap.c:433
#6  0xc031d1b8 in calltrap () at {standard input}:96
#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
(kgdb)
(kgdb) up 7
#7  0xc050908d in AcpiGetHandle (Parent=0x50006, Pathname=0xc0525e1f "_PS0",
    RetHandle=0xdf0fcc3c) at /usr/src/sys/contrib/dev/acpica/nsxfname.c:177
177             PrefixNode = AcpiNsMapHandleToNode (Parent);
(kgdb) l
172             if (ACPI_FAILURE (Status))
173             {
174                 return (Status);
175             }
176
177             PrefixNode = AcpiNsMapHandleToNode (Parent);
178             if (!PrefixNode)
179             {
180                 (void) AcpiUtReleaseMutex (ACPI_MTX_NAMESPACE);
181                 return (AE_BAD_PARAMETER);
(kgdb) print Parent
$1 = (void *) 0x50006
Received on Thu Dec 11 2003 - 13:55:22 UTC

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