Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Nov 2004 09:19:04 -0800
From:      Nate Lawson <nate@root.org>
To:        Dmitry Kondratyev <null@bikeman.ru>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Troubles with ACPI on HP nx5000 laptop
Message-ID:  <418FAA88.3070706@root.org>
In-Reply-To: <66751906.20041107194159@bikeman.ru>
References:  <128676437.20041011133831@bikeman.ru> <401094078.20041011134529@bikeman.ru> <66751906.20041107194159@bikeman.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Kondratyev wrote:
> Monday, October 11, 2004, 12:45:29 PM, you wrote:
> 
> DK>>       After  enabling ACPI on HP nx5000 my laptop (Pentium Mobile 1.7M
> DK>>       Dothan) hangs when compiling programs. dmesg, sysctl hw.acpi and
> DK>>       acpidump -t -d output are in attach. Disabling ACPI helps.
> 
> DK> oops, attach was filtered somewhere. You can get it here:
> DK> http://bikeman.ru/HPnx5000.tgz
> 
> The problem is in acpi thermal module. I set hw.acpi.verbose to 1 in
> /boot/loader.conf and noted that my laptop hangs when it changes
> cooling level too often. If i set hw.acpi.thermal.tz0.active to 0 for
> active cooling or disable thermal module via loader.conf.
> 
> Btw, when I pull out power cord, my laptop also hang after trying to
> change power profile.
> 
> In both cases it doesn't really hangs, it still react to alt-fn, enter
> and power button. After pressing power I get "acpi: suspend request
> ignored (not ready yet)".

Thanks for the update.  I need some more information to narrow down the 
problem.  Does it hang the very first time it switches cooling levels or 
after multiple switches?  After it has hung, please break to DDB 
(ctrl-alt-backspace) and do a ps.  Go through doing a "tr" on each 
process id that looks interesting, looking for stacks that have 
"acpi_tz" functions in them.  Email me the process stack info.  It's 
obvious that you're getting a deadlock in the acpi thermal zone 
switching code but we need to figure out how.

For normal use until we find the problem, you can set this in 
loader.conf and continue to use acpi:

debug.acpi.disabled="thermal"

-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?418FAA88.3070706>