From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 8 17:26:40 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46FF616A4CE for ; Mon, 8 Nov 2004 17:26:40 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 201C243D2F for ; Mon, 8 Nov 2004 17:26:39 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id iA8HQYFp006922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 8 Nov 2004 09:26:35 -0800 Message-ID: <418FAA88.3070706@root.org> Date: Mon, 08 Nov 2004 09:19:04 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dmitry Kondratyev References: <128676437.20041011133831@bikeman.ru> <401094078.20041011134529@bikeman.ru> <66751906.20041107194159@bikeman.ru> In-Reply-To: <66751906.20041107194159@bikeman.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: Troubles with ACPI on HP nx5000 laptop X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 17:26:40 -0000 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