Subject: port-i386/20897: ACPI gets stuck freeing objects.
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/26/2003 19:33:38
>Number:         20897
>Category:       port-i386
>Synopsis:       ACPI runs for two days and then gets stuck in the ACPI thread
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 26 16:34:00 PST 2003
>Originator:     Christos Zoulas
>Release:        NetBSD 1.6Q
	Mess, Inc.
System: NetBSD 1.6Q NetBSD 1.6Q (SHINY) #107: Wed Mar 19 21:28:05 EST 2003 i386
Architecture: i386
Machine: i386
	The kernel runs fine for a couple of days then it gets stuck
	deallocating the ACPI tree.

The kernel prints:
ACPI-0714: *** Error: Looking up [BUFF] in namespace, AE_NOT_FOUND
ACPI-1286: *** Error: Method execution failed [\_SB_.VALD.GHCI] (Node 0xc086a580), AU_NOT_FOUND

then the thread gets stuck and no userland processes can run. The machine
is still pingable, but the fan gets stuck on high rpm and the only way to
recover is to hit the power switch.
	Configure a kernel on a Libretto L2 with all the ACPI devices.
	Stay on the console and wait a couple of days. Then you can
	get into the debugger when the kernel get stuck with control-alt-escape.
	Probably fix the code that deallocates the tree so that it does
	skips the nodes that are not found when freeing.