From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 15:46:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAFF516A41C for ; Wed, 22 Jun 2005 15:46:33 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail26.sea5.speakeasy.net (mail26.sea5.speakeasy.net [69.17.117.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9468043D53 for ; Wed, 22 Jun 2005 15:46:33 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 10168 invoked from network); 22 Jun 2005 15:46:33 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail26.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 22 Jun 2005 15:46:33 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id BC1762B; Wed, 22 Jun 2005 11:46:31 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Matthew Flanagan References: <7cd06a2d05062205331d03372c@mail.gmail.com> From: Lowell Gilbert Date: 22 Jun 2005 11:46:31 -0400 In-Reply-To: <7cd06a2d05062205331d03372c@mail.gmail.com> Message-ID: <44br5y5r8o.fsf@be-well.ilk.org> Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Raising temperature threshold X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2005 15:46:33 -0000 Matthew Flanagan writes: > I`ve installed a FreeBSD 5.4-STABLE and I was building some ports when > suddenly my system shut down. Upon rebooting it and checking > /var/log/messages, I found the following lines: > > Jun 21 16:01:30 bell root: WARNING: system temperature too high, > shutting down soon! > Jun 21 16:01:40 bell kernel: acpi_tz0: WARNING - current temperature > (60.0C) exceeds safe limits > > Then I realized what had happened. My acpi_thermal sysctl's are: > > hw.acpi.thermal.min_runtime: 0 > hw.acpi.thermal.polling_rate: 10 > hw.acpi.thermal.tz0.temperature: 50.0C > hw.acpi.thermal.tz0.active: 0 > hw.acpi.thermal.tz0.thermal_flags: 1 > hw.acpi.thermal.tz0._PSV: 50.0C > hw.acpi.thermal.tz0._HOT: -1 > hw.acpi.thermal.tz0._CRT: 60.0C > hw.acpi.thermal.tz0._ACx: 50.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 > > When I try to raise hw.acpi.thermal.tz0._CRT to 85C (which is the threshold in > the BIOS setup) it doesn't work: > > bell# sysctl hw.acpi.thermal.tz0._CRT=3580 # 3580 tenths of Kelvin=85C > sysctl: oid 'hw.acpi.thermal.tz0._CRT' is read only > > I've tried /etc/sysctl.conf as well, but I get the same error. > > Now, my question is: how do I change this value? I've read several manpages > (acpi(4), acpi_thermal(4), acpiconf(8), and many others) and checked the > handbook, to no avail. Can anyone point me to the right direction? Can it be set at boot time? [from the loader?]