From owner-freebsd-current Mon Oct 28 14:51:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4398A37B401 for ; Mon, 28 Oct 2002 14:51:35 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0655A43E42 for ; Mon, 28 Oct 2002 14:51:35 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id A59CD2A896; Mon, 28 Oct 2002 14:51:31 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Garrett Wollman Cc: current@FreeBSD.org Subject: Re: A success story, of sorts In-Reply-To: <200210282232.g9SMW9NE043136@khavrinen.lcs.mit.edu> Date: Mon, 28 Oct 2002 14:51:31 -0800 From: Peter Wemm Message-Id: <20021028225131.A59CD2A896@canning.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Garrett Wollman wrote: > I have no clue how to interpret the output from `sysctl > hw.acpi.thermal'. peter@mobile[2:44pm]~-100> sysctl hw.acpi.thermal hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 30 hw.acpi.thermal.tz0.temperature: 3281 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 3581 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3731 hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 The temperatures are in kelvin * 10. ie: subtract 2731 to get degrees celcius, then divide by 10. In my case above: 3281 - 2731 = 550, or 55.0C. There are two types of cooling. active or passive. In my case its passive - ie: fully automatic. _PSV is the nominal temperature that the fan starts to kick in at, 85C in this case. _CRT is the critical ("you're about to catch fire") alert temperature - 100C in my case. I think _HOT is the point that you should be worried, while _CRT = "power down now or else!". The various _AC0, _AC1 etc are for the active cooling system. ie: the OS has to monitor the temperature, and set the fan speed as it crosses the _AC* levels. There is another method that it calls to do this, and this is driven by the kthread acpi_fan or acpi_thermal, I dont remember exactly. ".tz0." is "thermal zone 0". There may be more than one zone, especially in larger servers. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message