Hello,
How does one read the temperature from the built-in sensors in a Phenom
processor?
Under FreeBSD, of course.
I normally use k8temp[1] on my AMD-powered machines, but it doesn't
work for the Phenom, it just prints lots of lines like:
k8temp: Register read e4, 1 bytes failed: Operation not supported by device
k8temp: Register read e4, 1 bytes failed: Operation not supported by device
k8temp: Register read e4, 1 bytes failed: Operation not supported by device
k8temp: Register read e4, 1 bytes failed: Operation not supported by device
k8temp: Register read e4, 1 bytes failed: Operation not supported by device
k8temp: Register read e4, 1 bytes failed: Operation not supported by device

and then core dumps.

Info about my system:
root@kg-vm# uname -a
FreeBSD kg-vm.kg4.no 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Sun Dec
30 23:40:09 CET 2007 root@kg-vm.kg4.no:/usr/obj/usr/src/sys/GENERIC
amd64
root@kg-vm# sysctl hw.model
hw.model: AMD Phenom(tm) 9500 Quad-Core Processor


References:
1) k8temp - in ports as sysutils/k8temp
--
Torfinn Ingolfsen,
Norway