Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2014 17:22:26 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        hiren panchasara <hiren.panchasara@gmail.com>
Cc:        "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>, Eric Neblock <cen5848@louisiana.edu>
Subject:   Re: Missing: hw.acpi.thermal.tz%d._HOT
Message-ID:  <20140614170907.E609@sola.nimnet.asn.au>
In-Reply-To: <20140614152711.W609@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> <CALCpEUEFmg4twoiDC1czEAXOanmLbR9DarvRcg9h8o=Xc3dwjg@mail.gmail.com> <20140614013631.J10629@sola.nimnet.asn.au> <CALCpEUGzi1h=25DLA7xeP%2B_SpfAib-dWeb6Jx45UjKK4xTOJNA@mail.gmail.com> <20140614152711.W609@sola.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 14 Jun 2014 16:06:36 +1000, Ian Smith wrote:
 > On Fri, 13 Jun 2014 10:08:57 -0700, hiren panchasara wrote:
 >  > On Fri, Jun 13, 2014 at 9:22 AM, Ian Smith <smithi@nimnet.asn.au> wrote:
 >  > > On Thu, 12 Jun 2014 14:28:33 -0700, hiren panchasara wrote:
 >  > >  > On Tue, Jun 10, 2014 at 8:40 AM, Eric Neblock <cen5848@louisiana.edu> 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.
 > [..]
 >  > >  > > 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
 > 
 > So looking at /sys/dev/amdtemp/amdtemp.c .. here on stable/9 from a few 
 > weeks ago, whic appears to be an MFC of this one on head: 
 > http://svnweb.freebsd.org/base/head/sys/dev/amdtemp/amdtemp.c?view=log
 > 
 > "Driver for the AMD CPU on-die thermal sensors for Family 0Fh/10h/11h 
 > procs." with support added recently also for the 0x16h family, but no 
 > mention of 0x15 .. going by Eric's report, his would appear suoported.

Sorry .. I didn't look closely enough at all.  The version on head does 
appear to support the 0x15 family as well, and quite a bit of the code 
has been reworked and augmented.  #define DEVICEID_AMD_MISC15 0x1603

 > Looking at amdtemp_gettemp() there, I suspect the 0x15 family uses yet 
 > another number or placement of register bits; your ~13C to 15C range of 
 > temps shown seems much more likely to be in the ~52C to 60C range ..

That's changed too .. but none of this explains why yours is reporting 
(apparently) one quarter of the real temperature.  Out of my depth ..

cheers, Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140614170907.E609>