From owner-freebsd-questions@FreeBSD.ORG Mon Jan 16 14:26:59 2006 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 6E46016A41F for ; Mon, 16 Jan 2006 14:26:59 +0000 (GMT) (envelope-from bob@immure.com) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5066C43D45 for ; Mon, 16 Jan 2006 14:26:58 +0000 (GMT) (envelope-from bob@immure.com) Received: from pimout3-ext.prodigy.net (pimout3-int.prodigy.net [207.115.4.218]) by ylpvm29.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id k0GEQqrk007529 for ; Mon, 16 Jan 2006 09:26:52 -0500 X-ORBL: [66.136.206.1] Received: from maul.immure.com (adsl-66-136-206-1.dsl.austtx.swbell.net [66.136.206.1]) by pimout3-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id k0GEQpUL079054; Mon, 16 Jan 2006 09:26:56 -0500 Received: from rancor.immure.com (rancor.immure.com [10.1.132.9]) by maul.immure.com (8.13.4/8.13.4) with ESMTP id k0GEQibY069119; Mon, 16 Jan 2006 08:26:44 -0600 (CST) (envelope-from bob@immure.com) Received: from rancor.immure.com (localhost.immure.com [127.0.0.1]) by rancor.immure.com (8.13.4/8.13.4) with ESMTP id k0GEQimE027522; Mon, 16 Jan 2006 08:26:44 -0600 (CST) (envelope-from bob@rancor.immure.com) Received: (from bob@localhost) by rancor.immure.com (8.13.4/8.13.1/Submit) id k0GEQhri027521; Mon, 16 Jan 2006 08:26:43 -0600 (CST) (envelope-from bob) Date: Mon, 16 Jan 2006 08:26:43 -0600 From: Bob Willcox To: Matthew Flanagan Message-ID: <20060116142643.GA22152@rancor.immure.com> References: <7cd06a2d05062205331d03372c@mail.gmail.com> <44br5y5r8o.fsf@be-well.ilk.org> <7cd06a2d050622095256dfe43a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7cd06a2d050622095256dfe43a@mail.gmail.com> User-Agent: Mutt/1.5.11 X-immure-MailScanner-Information: Please contact the ISP for more information X-immure-MailScanner: Found to be clean X-MailScanner-From: bob@immure.com Cc: Lowell Gilbert , freebsd-questions@freebsd.org Subject: Re: Raising temperature threshold X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bob Willcox List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2006 14:26:59 -0000 On Wed, Jun 22, 2005 at 01:52:22PM -0300, Matthew Flanagan wrote: > On 22 Jun 2005 11:46:31 -0400, Lowell Gilbert > wrote: > > 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?] > > Perhaps, but loader(8) lists the kernel tunable parameters available, and > hw.acpi.thermal.tz%d._CRT isn't one of them. Did you ever discover a resolution to this? I have a Shuttle SN95G5 system that is doing the same thing. To make matters worse, it appears that the hw.acpi.thermal.tz0.temperature value that is being returned is 5 to 10 degrees higher than what BIOS thinks (I am inclined to believe the BIOS on this one). I can change the CPU fan speed settings in the BIOS. It has pretty extensive control of this, with the default setting of "SMART FAN" where it controls fan speed based on CPU temperature. Unfortunately, in that mode the hw.acpi.thermal.tz0.temperature slews to 60C (while BIOS reads below 50C) before the fan has sped up enough. I can also set the fan speed control to fixed, relatively higher values, but the fan noise is then bothersome. So, anyone know where the 60C value for hw.acpi.thermal.tz0._CRT is derived from and how to change it? Thanks, Bob > > Cheers, > Matt > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Bob Willcox Maintainer's Motto: bob@immure.com If we can't fix it, it ain't broke. Austin, TX