RELENG_8: amdtemp module and newer CPUs not working. MFC?

Don Lewis truckman at FreeBSD.org
Thu Feb 21 06:50:25 UTC 2013


On 17 Feb, Torfinn Ingolfsen wrote:
> Hello,
> I'm running FreeBSD 8.3-stable on a machine with an AMD A8-5600K cpu.
> tingo at 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 at kg-quiet.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
> tingo at 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 at kg-quiet$ kldstat | grep temp
> 10    1 0xffffffff8123e000 f0f      amdtemp.ko
> tingo at 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




More information about the freebsd-stable mailing list