From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 13 16:22:12 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 55A15226 for ; Fri, 13 Jun 2014 16:22:12 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC9942CB9 for ; Fri, 13 Jun 2014 16:22:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id s5DGM1t7074891; Sat, 14 Jun 2014 02:22:01 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 14 Jun 2014 02:22:00 +1000 (EST) From: Ian Smith To: hiren panchasara Subject: Re: Missing: hw.acpi.thermal.tz%d._HOT In-Reply-To: Message-ID: <20140614013631.J10629@sola.nimnet.asn.au> References: <1402412054.2426.13.camel@canpc36.cacs.louisiana.edu> <20140611011810.V10629@sola.nimnet.asn.au> <1402414819.17836.2.camel@canpc36.cacs.louisiana.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: "freebsd-acpi@freebsd.org" , Eric Neblock X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 16:22:12 -0000 On Thu, 12 Jun 2014 14:28:33 -0700, hiren panchasara wrote: > On Tue, Jun 10, 2014 at 8:40 AM, Eric Neblock wrote: > > On Wed, 2014-06-11 at 01:33 +1000, Ian Smith wrote: > >> On Tue, 10 Jun 2014 09:54:14 -0500, Eric Neblock wrote: > >> > Hello all, > >> > I'm trying to figure out what is the _HOT temperature on my particular > >> > processor. I'm running FreeBSD 10 GENERIC on a Sunfire X2200. > >> > > >> > The processor is an Dual Core AMD Opteron 2218. > >> > > >> > In the GENERIC kernel, acpi is built in; so, kldload acpi fails. I've > >> > also loaded the amdtemp module at boot time to figure out what the > >> > current temp of the processor is. > >> > > >> > With all of that, when performing `sysctl -a` I never seem to be able to > >> > pull up the _HOT value. > >> > > >> > Are there any suggestions on how to be able to view it? > >> > >> Many thermal zones seen, including some CPUs, don't specify any _HOT > >> value, just _PSV and _CRT, which should trigger passive cooling (eg > >> clock slowing or throttling) and emergency shutdown, respectively. > >> > >> What says 'sysctl hw.acpi.thermal' ? > >> > >> cheers, Ian > > > > The result is as follows: > > > > sysctl: Unknown oid 'hw.acpi.thermal' : No such file or directory > > Similar thing here at home desktop running -CURRENT: > > CPU: AMD FX(tm)-8350 Eight-Core Processor (4000.24-MHz K8-class CPU) > Origin="AuthenticAMD" Id=0x600f20 Family=0x15 Model=0x2 Stepping=0 > > acpi0: <7596MS A7596100> on motherboard > > Other related bits: > > # sysctl hw.acpi > hw.acpi.supported_sleep_state: S3 S4 S5 > hw.acpi.power_button_state: S5 > hw.acpi.sleep_button_state: S3 > hw.acpi.lid_switch_state: NONE > hw.acpi.standby_state: NONE > hw.acpi.suspend_state: S3 > hw.acpi.sleep_delay: 1 > hw.acpi.s4bios: 0 > hw.acpi.verbose: 0 > hw.acpi.disable_on_reboot: 0 > hw.acpi.handle_reboot: 0 > hw.acpi.reset_video: 0 > hw.acpi.cpu.cx_lowest: C8 > # > > # sysctl dev.amdtemp > dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors > dev.amdtemp.0.%driver: amdtemp > dev.amdtemp.0.%parent: hostb4 > dev.amdtemp.0.sensor_offset: 0 > dev.amdtemp.0.core0.sensor0: 15.3C > > # sysctl -a dev.cpu | grep temp > dev.cpu.0.temperature: 15.2C > dev.cpu.1.temperature: 15.2C > dev.cpu.2.temperature: 15.2C > dev.cpu.3.temperature: 15.2C > dev.cpu.4.temperature: 15.2C > dev.cpu.5.temperature: 15.2C > dev.cpu.6.temperature: 15.2C > dev.cpu.7.temperature: 15.2C > > I am not sure how this ^ relates to what acpi reports under thermal. Well first, unless you've just turned it on, it's idling and lives in a refrigerator or coldroom, those temperatures are at best a third of the minimum I'd expect to see reported .. and they wouldn't all be the same. And neither of these are reporting hw.acpi.thermal .. is it because the BIOS / ACPI doesn't present thermal zone information? Or there aren't suitable drivers to interpret it? I've no idea, but does seem curious. Any output from? # acpidump -dt | egrep -i 'TZ|thermal' If so, you might want to put your full ASL up somewhere. Note: I'm not at all qualified to interpret it, just that I'd expect there to be some; eg on a Lenovo X200 (Core2 Duo): root@x200:~ # acpidump -dt | egrep -i 'TZ|thermal' Notify (\_TZ.THM0, 0x80) Notify (\_TZ.THM1, 0x80) Notify (\_TZ.THM0, 0x80) Notify (\_TZ.THM1, 0x80) "AdaptiveThermalManagementAC" "AdaptiveThermalManagementBattery" Notify (\_TZ.THM0, 0x80) Notify (\_TZ.THM1, 0x80) Notify (\_TZ.THM1, 0x80) Notify (\_TZ.THM0, 0x81) Scope (\_TZ) ThermalZone (THM0) ThermalZone (THM1) Return (\_TZ.THM0._TMP ()) Notify (\_TZ.THM0, 0x80) cheers, Ian