From owner-freebsd-acpi@FreeBSD.ORG Thu Nov 11 09:33:04 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 8920F16A4E1 for ; Thu, 11 Nov 2004 09:33:04 +0000 (GMT) Received: from mbd.ru (mail.mbd.ru [81.176.79.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9379143D41 for ; Thu, 11 Nov 2004 09:33:03 +0000 (GMT) (envelope-from null@bikeman.ru) Received: from localhost (localhost [127.0.0.1]) by mbd.ru (Postfix) with ESMTP id A3DA91FF; Thu, 11 Nov 2004 12:33:01 +0300 (MSK) Received: from [192.168.108.169] (rmp.ws.ehouse.ru [193.111.92.108]) by mbd.ru (Postfix) with ESMTP id 722421EB; Thu, 11 Nov 2004 12:33:01 +0300 (MSK) Message-ID: <419331CB.9020401@bikeman.ru> Date: Thu, 11 Nov 2004 12:32:59 +0300 From: Dmitry Kondratyev User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <128676437.20041011133831@bikeman.ru> <401094078.20041011134529@bikeman.ru> <66751906.20041107194159@bikeman.ru> <418FAA88.3070706@root.org> <4192733E.3000606@bikeman.ru> <41929419.2060505@root.org> In-Reply-To: <41929419.2060505@root.org> 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: Thu, 11 Nov 2004 09:33:04 -0000 Nate Lawson wrote: >> > ps >> 45 c15b8c5c d4de5000 0 0 0 0000204 [RUNQ] >> acpi_thermal >> > trace 45 >> sched_switch(c155f640,0,1,5e21f7f1,5e141b1) at sched_switch+0x160 >> mi_switch(1,0,d3becca8,10) at mi_switch+0x1d9 >> sleepq_switch(c07a4694,c155f640,d3becce0,c04e1dcc,c07a4694) at >> sleepq_switch+0x167 >> sleepq_timedwait(c07a4694,54,c07a46a0,c07a0150,0) at >> sleepq_timedwait+0x12 >> msleep(c07a4694,c07a46a0,254,c07a0150,3e8) at msleep+0x3bc >> acpi_tz_thread(0,d3becd48,68bf09fc,85e800c6, 2c483cd) at >> acpi_tz_thread+0x1da >> fork_exit(c07902f0,0,d3becd48) at fork_exit+0x80 >> fork_trampoline() at fork_trampoline+0x8 >> --- trap 0x1, eip = 0, esp = 0xd3becd7c, ebp = 0 --- > > > This looks normal. It just means there's no work for the thermal thread > to do so it sleeps. I wonder why it's on the RUNQ though? > > Please recompile your acpi module with options ACPI_DEBUG. Then set > this at the loader prompt or in loader.conf: > > debug.acpi.layer="ACPI_THERMAL" > debug.acpi.level="ACPI_LV_OBJECTS ACPI_LV_ALL_EXCEPTIONS" > > Send me the output after a hang. THERMAL-0507 [149] acpi_tz_switch_cooler_: called to turn \_TZ_.C205 off THERMAL-0535 [150] acpi_tz_switch_cooler_: called to turn \_TZ_.C204 on After output everything worked for 2-3 seconds and then hung. >> Furthermore, after "cont" in ddb, everything worked for a few >> seconds. And it always works for a while till hangs again if after >> hanging I call ddb and type "cont". Maybe it will "unhang" if I >> wait till CPU gets cold. > > > If you have a serial console, a ps on all threads once it hangs would be > helpful. I don't. But if it's very important, i can make a photo. :-)