[ACPI] panic on battery insertion since last ACPI update

Lars Engels lars.engels at 0x20.net
Sat Mar 24 21:33:08 UTC 2012

With yesterday's CURRENT (r233364) the system panics when I insert the battery into the notebook.

milhouse.bsd-geek.de dumped core - see /var/crash/vmcore.0

Sat Mar 24 22:26:15 CET 2012

FreeBSD milhouse.bsd-geek.de 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r233364M: Fri Mar 23 17:48:19 CET 2012     lars at milhouse.bsd-geek.de:/usr/obj/usr/src/sys/GENERIC  amd64

panic: from debugger

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:

Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x20:0xffffffff80320160
stack pointer	        = 0x28:0xffffff8116346690
frame pointer	        = 0x28:0xffffff81163466b0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 2488 (hald)
Uptime: 31s
Dumping 350 out of 3970 MB:

Loaded symbols for /boot/kernel/ext2fs.ko
#0  doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:268
268		if (textdump && textdump_pending) {
(kgdb) #0  doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:268
#1  0xffffffff8086e2bf in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:454
#2  0xffffffff8086e797 in panic (fmt=0x0)
    at /usr/src/sys/kern/kern_shutdown.c:642
#3  0xffffffff80328c67 in db_panic (addr=Variable "addr" is not available.
    at /usr/src/sys/ddb/db_command.c:482
#4  0xffffffff80329071 in db_command (last_cmdp=0xffffffff811560a0, cmd_table=dwarf2_read_address: Corrupted DWARF expression.

) at /usr/src/sys/ddb/db_command.c:449
#5  0xffffffff803292c0 in db_command_loop ()
    at /usr/src/sys/ddb/db_command.c:502
#6  0xffffffff8032b3f9 in db_trap (type=Variable "type" is not available.
) at /usr/src/sys/ddb/db_main.c:229
#7  0xffffffff808a4b58 in kdb_trap (type=9, code=0, tf=0xffffff81163465e0)
    at /usr/src/sys/kern/subr_kdb.c:629
#8  0xffffffff80b6729d in trap_fatal (frame=0xffffff81163465e0, eva=Variable "eva" is not available.
    at /usr/src/sys/amd64/amd64/trap.c:833
#9  0xffffffff80b67825 in trap (frame=0xffffff81163465e0)
    at /usr/src/sys/amd64/amd64/trap.c:597
#10 0xffffffff80b5224f in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:228
#11 0xffffffff80320160 in AcpiOsAcquireObject (Cache=0xfffffe00028c9940)
    at /usr/src/sys/contrib/dev/acpica/components/utilities/utcache.c:319
#12 0xffffffff80322f62 in AcpiUtAllocateObjectDescDbg (
    ModuleName=0xffffffff80c0c2c0 "exoparg2", LineNumber=398, ComponentId=Variable "ComponentId" is not available.
    at /usr/src/sys/contrib/dev/acpica/components/utilities/utobject.c:437
#13 0xffffffff80322fc1 in AcpiUtCreateInternalObjectDbg (
    ModuleName=0xffffffff80c0c2c0 "exoparg2", LineNumber=398, 
    ComponentId=128, Type=20)
    at /usr/src/sys/contrib/dev/acpica/components/utilities/utobject.c:112
#14 0xffffffff8030fbb8 in AcpiExOpcode_2A_1T_1R (WalkState=0xfffffe0002d1dc00)
    at /usr/src/sys/contrib/dev/acpica/components/executer/exoparg2.c:398
#15 0xffffffff80306453 in AcpiDsExecEndOp (WalkState=0xfffffe0002d1dc00)
    at /usr/src/sys/contrib/dev/acpica/components/dispatcher/dswexec.c:475
#16 0xffffffff80319f1c in AcpiPsParseLoop (WalkState=0xfffffe0002d1dc00)
    at /usr/src/sys/contrib/dev/acpica/components/parser/psloop.c:1249
#17 0xffffffff8031aa6d in AcpiPsParseAml (WalkState=0xfffffe0002d1dc00)
    at /usr/src/sys/contrib/dev/acpica/components/parser/psparse.c:525
#18 0xffffffff8031b74d in AcpiPsExecuteMethod (Info=0xfffffe0049063600)
    at /usr/src/sys/contrib/dev/acpica/components/parser/psxface.c:368
#19 0xffffffff80315012 in AcpiNsEvaluate (Info=0xfffffe0049063600)
    at /usr/src/sys/contrib/dev/acpica/components/namespace/nseval.c:193
#20 0xffffffff80318511 in AcpiEvaluateObject (Handle=0xfffffe0002c6f040, 
    Pathname=0xffffffff80c198db "_BST", ExternalParams=0x0, 
    at /usr/src/sys/contrib/dev/acpica/components/namespace/nsxfeval.c:289
#21 0xffffffff803407ad in acpi_cmbat_get_bst (arg=Variable "arg" is not available.
    at /usr/src/sys/dev/acpica/acpi_cmbat.c:258
#22 0xffffffff80340ab8 in acpi_cmbat_bst (dev=0xfffffe0002cf6800, 
    bstp=0xfffffe00132bbc00) at /usr/src/sys/dev/acpica/acpi_cmbat.c:419
#23 0xffffffff8078a1cb in devfs_ioctl_f (fp=0xfffffe0049257140, 
    com=3231990289, data=Variable "data" is not available.
) at /usr/src/sys/fs/devfs/devfs_vnops.c:757
#24 0xffffffff808b7e75 in kern_ioctl (td=Variable "td" is not available.
) at file.h:287
#25 0xffffffff808b80ad in sys_ioctl (td=0xfffffe0007ac1460, 
    uap=0xffffff8116346b70) at /usr/src/sys/kern/sys_generic.c:691
#26 0xffffffff80b66b58 in amd64_syscall (td=0xfffffe0007ac1460, traced=0)
    at subr_syscall.c:135
#27 0xffffffff80b52537 in Xfast_syscall ()
    at /usr/src/sys/amd64/amd64/exception.S:387
#28 0x0000000801d939cc in ?? ()
Previous frame inner to this frame (corrupt stack?)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120324/861242a3/attachment.pgp

More information about the freebsd-current mailing list