Subject: entering ddb when closing lid with ACPI
To: None <current-users@NetBSD.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: current-users
Date: 01/08/2006 14:37:09
Hi,

on a IBM ThinkPad X40 running a NetBSD/i386 3.99.15 kernel with ACPI,
closing the lid causes the kernel to enter ddb:

acpilid0: lid closed.
Executed AML Breakpoint opcode
Stopped in pid 2.1 (sysmon) at	netbsd:cpu_Debugger+0x4:	leave	
db> bt
cpu_Debugger(c05c78bb,c063ae40,c05f2e70,136,1) at netbsd:cpu_Debugger+0x4
AcpiOsSignal(1,c063ae40,cbba4d6c,c04e5551,c1c0a21c) at netbsd:AcpiOsSignal+0x26
AcpiDsExecEndControlOp(c1c0a000,c1c07240,cbba4ddc,c04e2a87,0) at netbsd:AcpiDsExecEndControlOp+0x1f1
AcpiDsExecEndOp(c1c0a000,c1c07240,0,c1c0a000,c1c0ae1c) at netbsd:AcpiDsExecEndOp+0x7b
AcpiPsParseLoop(c1c0a000,c1c0ac00,c1bf6000,4008,c1c0ac00) at netbsd:AcpiPsParseLoop+0x530
AcpiPsParseAml(c1c0ac00,cbba4ed4,3,4,cbba4ed4) at netbsd:AcpiPsParseAml+0x289
AcpiPsxExecute(cbba4ed4,cbba4ed4,cbba4e5c,c04eff5d,cbba4ed4) at netbsd:AcpiPsxExecute+0x1c2
AcpiNsExecuteControlMethod(cbba4ed4,1,cbba4e7c,c04f9a3d,c1a56e60) at netbsd:AcpiNsExecuteControlMethod+0x46
AcpiNsEvaluateByHandle(cbba4ed4,0,cbba4e98,c1a56240,400) at netbsd:AcpiNsEvaluateByHandle+0x99
AcpiNsEvaluateRelative(cbba4f34,cbba4ed4,c06b59e0,282,c0646918) at netbsd:AcpiNsEvaluateRelative+0xb7
AcpiEvaluateObject(c1a56240,cbba4f34,0,0,cbba4f34) at netbsd:AcpiEvaluateObject+0x7c
EcGpeQueryHandler(c1a85b00,c064f1a0,0,246,0) at netbsd:EcGpeQueryHandler+0x127
sysmon_task_queue_thread(cb14be70,779000,781000,0,c0100321) at netbsd:sysmon_task_queue_thread+0x63
db> c
acpilid0: lid opened.

Please tell what additional information I should provide.


TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~