From owner-freebsd-acpi@FreeBSD.ORG Sun Jan 6 00:47:19 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A71F16A417 for ; Sun, 6 Jan 2008 00:47:19 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id E134413C455 for ; Sun, 6 Jan 2008 00:47:18 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 54787 invoked from network); 6 Jan 2008 00:47:20 -0000 Received: from c-98-207-236-172.hsd1.ca.comcast.net (HELO ?172.16.250.113?) (nate-mail@98.207.236.172) by root.org with ESMTPA; 6 Jan 2008 00:47:20 -0000 Message-ID: <47802510.3040203@root.org> Date: Sat, 05 Jan 2008 16:47:12 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: John Baldwin References: <200712311556.lBVFuVZf030567@freefall.freebsd.org> <477916E0.2090702@root.org> <200712311243.18123.jhb@freebsd.org> In-Reply-To: <200712311243.18123.jhb@freebsd.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org Subject: Re: GPE handler livelock X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2008 00:47:19 -0000 John Baldwin wrote: > np. Btw, on another note, I've finally tracked down the weird hangs my laptop > has on updated HEAD to something in the GPE handling related to updates to > ACPI in the past year. I'm still digging, but you can look at > www.freebsd.org/~jhb/gpe/ and use the modified schedgraph.py there on the > ktr5.out to see what happens when my laptop stops running userland processes. > It appears to be spending all its time running a GPE handler for a thermal > event. Thanks for digging into this. I reviewed this and am trying to figure out why the _L00 handler never completes. It keeps getting preempted by the next one. To help track this down, try removing these two lines from the _L00 method and recompile your ASL: Acquire (\_TZ.C173, 0xFFFF) ... Release (\_TZ.C173) For others who have this problem, instructions on how to recompile and load your custom ASL can be found here (11.16.4 and 5): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html > My asl is at the same URL as acpi.nc6220, it's less helpful than > usual as HP has taken the unusual step of apparently running it through an > obfuscator. Compaq's done that for years. -Nate