From owner-freebsd-acpi@FreeBSD.ORG Wed Jan 16 17:40:03 2008 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 346A016A46D for ; Wed, 16 Jan 2008 17:40:03 +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 12F5513C455 for ; Wed, 16 Jan 2008 17:40:03 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 56440 invoked from network); 16 Jan 2008 17:40:03 -0000 Received: from adsl-76-231-191-125.dsl.pltn13.sbcglobal.net (HELO ?10.0.0.3?) (nate-mail@76.231.191.125) by root.org with ESMTPA; 16 Jan 2008 17:40:03 -0000 Message-ID: <478E416B.7030005@root.org> Date: Wed, 16 Jan 2008 09:39:55 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Peter Jeremy References: <1200369199.2054.38.camel@RabbitsDen> <20080116082200.GV929@server.vk2pj.dyndns.org> In-Reply-To: <20080116082200.GV929@server.vk2pj.dyndns.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: acpi@freebsd.org Subject: Re: How to disable acpi thermal? 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: Wed, 16 Jan 2008 17:40:03 -0000 Peter Jeremy wrote: > On Tue, Jan 15, 2008 at 03:34:41PM -0500, Daniel Eischen wrote: >> The system is a Intel STL2 Tupelo motherboard with 1 CPU, the >> other CPU socket being occupied by a CPU terminator thingy. >> I uncovered the rackmount system and watched it while building >> a kernel. With the cover off the acpi monitored temperature >> went to 107C and stayed there. It only took a minute or two >> to get there. I felt around inside the chassis and nothing >> was even near being to warm or hot. With the cover on, the >> temperature goes to 111/112C before being shutdown by acpi_thermal >> (the limit being 110C). There is no way anything in that >> chassis is anywhere near 100C. I've disabled acpi_thermal >> for now, but it'd be nice to get a better fix. > > This implies that the reported temperature does have some association > with reality. What does the BIOS report? One possibility is that > one of the motherboard support chips has died. > > If your CPU supports it, you could try using coretemp(4). > > Getting back to your original question, my laptop used to suffer from > occasional spikes to 146°C in one zone (not CPU). My work-around was > to add the following to /etc/sysctl.conf: > # Increase tz2 allowable temperature so the occasional spikes to 146°C won't > # trigger a shutdown. Note that the temperature is specified in deci-kelvins > hw.acpi.thermal.user_override=1 > hw.acpi.thermal.tz2._CRT=4231 > > I'd keep a close eye in it in case the reported temperature really is > accurate. Laptops are different. The BIOS authors often use the embedded controller (which only laptops have) to access the SMBUS. So when the EC timed out trying to access it, you'd get some wild reading temporarily. I think I fixed most EC issues in my rewrite that's in 7.0 so you should try there again. You can now specify values in Celsius or Fahrenheit by appending a "C" or "F", see the acpi_thermal man page. -- Nate