Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 17:24:17 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Don Lewis <truckman@freebsd.org>
Cc:        freebsd-stable@freebsd.org, torfinn.ingolfsen@getmail.no
Subject:   Re: RELENG_8: amdtemp module and newer CPUs not working. MFC?
Message-ID:  <CAN6yY1svC7pzy2noa0aahUyUp85dQYMWBVG_9wCYJf5BJWENuA@mail.gmail.com>
In-Reply-To: <201302210629.r1L6T5VU001000@gw.catspoiler.org>
References:  <20130217135317.5c4d10819e8d12440785a3a0@getmail.no> <201302210629.r1L6T5VU001000@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 20, 2013 at 10:29 PM, Don Lewis <truckman@freebsd.org> wrote:
> On 17 Feb, Torfinn Ingolfsen wrote:
>> Hello,
>> I'm running FreeBSD 8.3-stable on a machine with an AMD A8-5600K cpu.
>> tingo@kg-quiet$ uname -a
>> FreeBSD kg-quiet.kg4.no 8.3-STABLE FreeBSD 8.3-STABLE #2: Fri Jan  4 19:18:15 CET 2013
>>     root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
>> tingo@kg-quiet$ dmesg | grep CPU | head -1
>> CPU: AMD A8-5600K APU with Radeon(tm) HD Graphics    (3618.02-MHz K8-class CPU)
>>
>> Unfortunately, the amdtemp.ko module doesn't work:
>> tingo@kg-quiet$ kldstat | grep temp
>> 10    1 0xffffffff8123e000 f0f      amdtemp.ko
>> tingo@kg-quiet$ sysctl dev.amdtemp
>> sysctl: unknown oid 'dev.amdtemp'
>>
>> Based on a thread[1] on the forums, amdtemp.c from -CURRENT work.
>> But it doesn't compile under FreeBSD 8.3-stable:
>
> Updating amdtemp is on my TODO list.  It has some issues even on
> -CURRENT.  This is kind of far down my priority list because on most of
> my AMD machines, I can also get the temperature without amdtemp:
>
> % sysctl hw.acpi.thermal.tz0.temperature
> hw.acpi.thermal.tz0.temperature: 30.0C

Beware! My desktop system (SuperMICRO) reports a permanent, unchanging
value for acpi_thermal. 45C IIRC. amdtemp on that system returns the
correct temp for all four cores. Is your always 30C? That is pretty
cool! (Pun intended.)
-- 
R. Kevin Oberman, Network Engineer
E-mail: rkoberman@gmail.com



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