From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 2 03:20:41 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C108816A41A; Thu, 2 Aug 2007 03:20:40 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 68E4013C48D; Thu, 2 Aug 2007 03:20:40 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l723HBVw048128; Wed, 1 Aug 2007 21:17:12 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 01 Aug 2007 21:17:18 -0600 (MDT) Message-Id: <20070801.211718.1683324313.imp@bsdimp.com> To: nate@root.org From: "M. Warner Losh" In-Reply-To: <46AE8F78.1060203@root.org> References: <46AE58B5.3080506@gahr.ch> <46AE8F78.1060203@root.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 01 Aug 2007 21:17:13 -0600 (MDT) Cc: acpi@freebsd.org, freebsd-hackers@freebsd.org, ume@freebsd.org, gahr@gahr.ch Subject: Re: [patch] enhance powerd(8) to handle max temperature X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 03:20:41 -0000 In message: <46AE8F78.1060203@root.org> Nate Lawson writes: : Hajimu UMEMOTO wrote: : >>>>>> On Mon, 30 Jul 2007 23:31:33 +0200 : >>>>>> Pietro Cerutti said: : > gahr> My patch is really just a first draft that I wrote in order to have : > gahr> feedbacks on the general idea to implement a temperature controlling : > gahr> system inside powerd, and doesn't implement hysteresis as you noted, and : > gahr> your feedback is that it's not a good idea, which I respect. : > : > It is rather backward, IMHO. I did implement a passive cooling : > feature as an enhancement of powerd(8) like you did, during initial : > phases. Then, I implemented it in our kernel as a result. : : I'll take a look at your patch. Umemoto-san is right in that you really : want the kernel to control cooling. What happens if powerd dies/hangs : and your system burns up? Passive cooling is often a last resort to : keep the system from overheating. I keep getting the system shutting down on my HP by FreeBSD because the temperature exceeds the _CRT value. Maybe there's something wrong with my values, since it happens a lot: hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 0.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 90.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 94.0C hw.acpi.thermal.tz0._ACx: 40.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 Note: temperature is always 0.0C. What can I do to help my situation, if I really want the kernel doing the cooling? Warner