From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 13 17:08:59 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 841D7C69 for ; Fri, 13 Jun 2014 17:08:59 +0000 (UTC) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36519214B for ; Fri, 13 Jun 2014 17:08:59 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id l6so4452512qcy.15 for ; Fri, 13 Jun 2014 10:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lL1Zgnn4zAEkjhFY2jVNx03faQq3uO86YweX0jLHeUM=; b=YL92F/tmP0/I1+DR8inZMRAOd2eSIwqd8mT/QNtKdN0D37PRXljoZkNJwz41DnkmNg ZXmdHcH9FcoVbJrSwHBwMnMFe1DofV4pXRO46sd68l/jGhaiPoiCjUIynWu3/scy01T9 REYI/97VEyuLojp0FoWbC2ar+2liYHRCHMaix5kplldx3qZHanZmK0N7aLS3AH5yPLzm K4OOOLbsIOVh5ngKkyQybFD6/nK85yYy0NYQvZkSB4ik4hsOZcx6Ctbd04/DQNBD4yXc a7sbrxzorNWWiaB8akjPPiP6LhIzzFeicoHyPjOvZHRjq+UkdQ067qSHdUtNVVNG9HWk 7U9g== MIME-Version: 1.0 X-Received: by 10.224.7.6 with SMTP id b6mr5729190qab.45.1402679337936; Fri, 13 Jun 2014 10:08:57 -0700 (PDT) Received: by 10.96.73.39 with HTTP; Fri, 13 Jun 2014 10:08:57 -0700 (PDT) In-Reply-To: <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> <20140614013631.J10629@sola.nimnet.asn.au> Date: Fri, 13 Jun 2014 10:08:57 -0700 Message-ID: Subject: Re: Missing: hw.acpi.thermal.tz%d._HOT From: hiren panchasara To: Ian Smith Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 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 17:08:59 -0000 On Fri, Jun 13, 2014 at 9:22 AM, Ian Smith wrote: > 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. Oh wait. It gets better :-) # uptime 9:42AM up 10 days, 9:04, 1 user, load averages: 0.37, 0.29, 0.24 # sysctl -a dev.cpu | grep temp dev.cpu.0.temperature: 13.6C dev.cpu.1.temperature: 13.6C dev.cpu.2.temperature: 13.6C dev.cpu.3.temperature: 13.6C dev.cpu.4.temperature: 13.6C dev.cpu.5.temperature: 13.6C dev.cpu.6.temperature: 13.6C dev.cpu.7.temperature: 13.6C # I am not sure how correct these numbers are but I've enabled AMD's Cool'n'Quiet thingi in BIOS. # sysctl dev.cpu | grep cx_lowest dev.cpu.0.cx_lowest: C8 dev.cpu.1.cx_lowest: C8 dev.cpu.2.cx_lowest: C8 dev.cpu.3.cx_lowest: C8 dev.cpu.4.cx_lowest: C8 dev.cpu.5.cx_lowest: C8 dev.cpu.6.cx_lowest: C8 dev.cpu.7.cx_lowest: C8 # >From top: last pid: 53106; load averages: 0.13, 0.18, 0.19 up 10+09:27:27 10:06:21 88 processes: 1 running, 87 sleeping CPU: 0.3% user, 0.1% nice, 0.3% system, 0.0% interrupt, 99.2% idle Mem: 58M Active, 1006M Inact, 14G Wired, 12M Cache, 590M Free ARC: 8753M Total, 1834M MFU, 4757M MRU, 272K Anon, 210M Header, 1952M Other Swap: 16G Total, 16G Free > > And neither of these are reporting hw.acpi.thermal .. is it because the > BIOS / ACPI doesn't present thermal zone information? I'd believe so. > 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' nothing. # acpidump -dt | egrep -i 'TZ|thermal' acpidump: RSDT entry 3 (sig OEMB) is corrupt Now this ^^ error might also suggest something is wrong. > > If so, you might want to put your full ASL up somewhere. # acpidump -dt | gzip -c9 > amd_fx8350.asl.gz amd_fx8350.asl.gz is attached. By the time I collected everything, # sysctl dev.cpu | grep temp dev.cpu.0.temperature: 14.0C dev.cpu.1.temperature: 14.0C dev.cpu.2.temperature: 14.0C dev.cpu.3.temperature: 14.0C dev.cpu.4.temperature: 14.0C dev.cpu.5.temperature: 14.0C dev.cpu.6.temperature: 14.0C dev.cpu.7.temperature: 14.0C Cheers, Hiren