From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 7 17:05:50 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 AA79D16A417 for ; Wed, 7 Nov 2007 17:05:50 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.freebsd.org (Postfix) with ESMTP id 89FB613C480 for ; Wed, 7 Nov 2007 17:05:50 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.144.51]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JR500EU9BGDPHB6@vms046.mailsrvcs.net> for freebsd-acpi@freebsd.org; Wed, 07 Nov 2007 11:05:09 -0600 (CST) Date: Wed, 07 Nov 2007 12:04:34 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <4731EDC6.5070808@root.org> To: Nate Lawson Message-id: <1194455074.2904.13.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> <1194441057.889.10.camel@RabbitsDen> <4731EB56.1010008@root.org> <1194454240.2904.3.camel@RabbitsDen> <4731EDC6.5070808@root.org> 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 17:05:50 -0000 On Wed, 2007-11-07 at 08:54 -0800, Nate Lawson wrote: > Alexandre "Sunny" Kovalenko wrote: > > On Wed, 2007-11-07 at 08:44 -0800, Nate Lawson wrote: > >> Alexandre "Sunny" Kovalenko wrote: > >>> 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) > >> No, simplest is to set: > >> > >> hw.acpi.thermal.user_override=1 > >> and then > >> hw.acpi.thermal.tz0._CRT=70C > >> > > My apology, then -- on my 6.2 system hw.acpi.thermal.user_override knob > > is not present: > > > > twinhead# sysctl -a | grep override > > hw.pci.irq_override_mask: 57080 > > twinhead# uname -a > > FreeBSD twinhead.rabbitslawn.verizon.net 6.2-STABLE FreeBSD 6.2-STABLE > > #0: Sat Sep 15 13:24:45 EDT 2007 > > root@twinhead.rabbitslawn.verizon.net:/usr/obj/usr/src/sys/TWINHEAD > > i386 > > > > It does exist on my RELENG_7: > > sunny:RabbitsDen>sysctl -a | grep override > > hw.pci.irq_override_mask: 57080 > > hw.acpi.thermal.user_override: 0 > > sunny:RabbitsDen>uname -a > > FreeBSD RabbitsDen.RabbitsLawn.verizon.net 7.0-BETA2 FreeBSD 7.0-BETA2 > > #0: Tue Nov 6 21:09:08 EST 2007 > > root@RabbitsDen.RabbitsLawn.verizon.net:/usr/obj/usr/src/sys/TPX60 i386 > > sunny:RabbitsDen> > > > > but OP seemed to state 6.2 above. > > > > Sorry for the noise. > > Ah, I see. Let me MFC that as soon as possible. > That would be great! ISTR that it will make _AC levels settable as well, right? Now we can really teach people how to melt down their hardware without explaining to them what Kelvin scale is ;-) Thank you very much for doing this work. -- Alexandre "Sunny" Kovalenko