I am running Slackware 14.1 (32 bit) and FreeBSD-10 (64 bit) on different drives of this machine.
I decided to set up conky on FreeBSD a couple of days ago and had a problem reading CPU temps, resolved by use of amdtemp kernel module.
I decided while at it to add conky to the Slackware instance, but have been unable to get CPU temperature(s) by any method.
Let me pre-answer some questions by a simple Q&A...
Is lm_sensors installed?
Code:
YES
/var/log/packages/lm_sensors-3.3.4-i486-1
# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +40.0°C (crit = +75.0°C)
The red hilight above is not CPU temperature and never changes. I get the same line under FreeBSD on this machine - not CPU temp.
Did you run sensors-detect? If so, what did it say?
Code:
YES
# sensors-detect
...
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): y
Module cpuid loaded successfully.
...
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... No
AMD Family 12h and 14h thermal sensors... No
AMD Family 15h thermal sensors... No
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
...
Is the k10temp module running?
Code:
# lsmod |grep temp
k10temp 2266 0
hwmon 1021 2 k10temp,thermal_sys
Which should handle this CPU from what I have found online.
Have you tried the coretemp module?
Code:
# modprobe -v coretemp
modprobe: ERROR: could not insert 'coretemp': No such device
insmod /lib/modules/3.10.17-smp/kernel/drivers/hwmon/coretemp.ko
Are you running a custom kernel?
No, this is the released generic-3.10.17-smp kernel
Code:
Linux deimos 3.10.17-smp #1 SMP Wed Oct 23 17:04:08 CDT 2013 i686
AMD Phenom(tm) II X2 550 Processor AuthenticAMD GNU/Linux
What family is the processor?
Code:
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X2 550 Processor
cpu MHz : 3100.000
power management: ts ttp tm stc 100mhzsteps hwpstate
processor : 1
...
I have also catted around /sys/... and /proc/... to no avail.
Have you tried the amdtemp module?
Quote:
No. As far as I can tell it is not available for Linux, seems to be BSD only.
|
Have I missed something obvious? Is there another method that I am not aware of?
All help appreciated!