From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 7 13:11:34 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5741016A418 for ; Wed, 7 Nov 2007 13:11:34 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3B47E13C4BF for ; Wed, 7 Nov 2007 13:11:34 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.144.51]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JR500LLT0N0Q544@vms044.mailsrvcs.net> for freebsd-acpi@freebsd.org; Wed, 07 Nov 2007 07:11:25 -0600 (CST) Date: Wed, 07 Nov 2007 08:10:57 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <64de5c8b0711070351r6a6410ccyc43d6b5a42b426ad@mail.gmail.com> To: Rajkumar S Message-id: <1194441057.889.10.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit References: <64de5c8b0711070351r6a6410ccyc43d6b5a42b426ad@mail.gmail.com> Cc: freebsd-acpi@freebsd.org Subject: Re: system temperature too high, shutting down soon! 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, 07 Nov 2007 13:11:34 -0000 On Wed, 2007-11-07 at 17:21 +0530, Rajkumar S wrote: > Hi, > > We are using a Lanner FW-7550 running pfSense (FreeBSD 6.2). Yesterday > morning the system halted with the error > > Message from syslogd@mettle-se at Tue Nov 6 10:13:45 2007 ... > mettle-se root: WARNING: system temperature too high, shutting down soon! > > Sysctl values are: > > # sysctl hw.acpi.thermal.tz0 > hw.acpi.thermal.tz0.temperature: 51.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: 60.0C > hw.acpi.thermal.tz0._HOT: -1 > hw.acpi.thermal.tz0._CRT: 60.0C > hw.acpi.thermal.tz0._ACx: 60.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 > > It seems the temperature is climbing till 60C and causing the system > to reboot. I checked with manufacturer and they say the system is > certified till 70C. When I tried to raise the value of PSV, HOT and > CRT to 70, I get an error. > > # sysctl hw.acpi.thermal.tz0._CRT=70 > hw.acpi.thermal.tz0._CRT: 60.0C > sysctl: hw.acpi.thermal.tz0._CRT: Operation not permitted > > I have posted the asl file at http://pastebin.ca/764590 if that helps. Simplest way to do this (even if it is not necessary the right one ;) is to change Method (_CRT, 0, NotSerialized) { Return (TRPC) } in your ASL to Method (_CRT, 0, NotSerialized) { Return (0xD68) } The number above, should be 70C equivalent counted in 1/10th of the unit on the Kelvin scale -- please, verify my math, I don't want to feel responsible for small flames engulfing your hardware ;) Then recompile and overload your ASL (see Handbook for the instructions). Now this would not necessary prevent temperature from climbing to 70C, but it might give passive cooling a chance, provided that it is implemented. >From brief look at your ASL, it seems like the value is populated from some source external to the ASL, so you might want to poke around whatever configuration parameters are available to you first. > > with regards, > > raj > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" -- Alexandre "Sunny" Kovalenko