Update coretemp.o for Intel Atom support?

Dec 16, 2009
3
0
1
Australia
[SOLVED-more or less]Update coretemp.o for Intel Atom support?

I am running an iso installed version of Proxmox 1.3 dist-upgraded to 1.4 on an Intel Atom 330 rig and would like to add temp sensor support for the cpu, I have collected a few different versions of coretemp.c source code with atom cpu support but can not get them to compile.

I have seen that others have achieved this on ubuntu pc's and debian intel mac's to add support for modern intel cpu's including atoms to 2.6.24 kernels but have not seen anything relative to proxmox.

I have linux-headers-2.6.24-9-pve, build-essential and module-assistant installed, but make fails with various undeclared function's or if I try to compile a 2.6.26 version of coretemp.c it fails tragically with pages of errors.

Any help would be greatly appreciated.

TIA,
Jordan.
 
Last edited:
I am running an iso installed version of Proxmox 1.3 dist-upgraded to 1.4 on an Intel Atom 330 rig and would like to add temp sensor support for the cpu, I have collected a few different versions of coretemp.c source code with atom cpu support but can not get them to compile.

I have seen that others have achieved this on ubuntu pc's and debian intel mac's to add support for modern intel cpu's including atoms to 2.6.24 kernels but have not seen anything relative to proxmox.

I have linux-headers-2.6.24-9-pve, build-essential and module-assistant installed, but make fails with various undeclared function's or if I try to compile a 2.6.26 version of coretemp.c it fails tragically with pages of errors.

Any help would be greatly appreciated.

TIA,
Jordan.

I didn't think an Atom 330 would do virtualization without vmx support!

Have you tried installing the lm_sensors package to see what that picks up?

apt-get install lm-sensors

- Ernie.
 
Your halfway correct, no it will not do kvm virtualization but openvz containers still work a treat, which is fine as all my servers are linux based.

1.6GHz 64bit hyper threaded dual core that uses just 8 watts, perfect for low-mid demands.

lmsensors is installed, sensors-detect needed to be updated to detect the atom but the coretemp module built for 2.6.24 does not support the latest intel cpu's.

Code:
proxmox:~# modprobe coretemp
FATAL: Error inserting coretemp (/lib/modules/2.6.24-9-pve/kernel/drivers/hwmon/coretemp.ko): No such device
I have seen that it is possible to add support, it is "simply a matter of compiling a new coretemp module" which has so far not been that simple, must be something obvious I'm missing.

Jordan.
 
Last edited:
Odd, I have a CentOS machine on an Atom 330 and sensors works fine, here is the output, perhaps it may help

- Ernie.
2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:18:27 EST 2009 i686 i686 i386 GNU/Linux



$ sensors
smsc47m1-isa-0680
Adapter: ISA adapter
fan1: 0 RPM (min = 1280 RPM, div = 4) ALARM
fan2: 4726 RPM (min = 1280 RPM, div = 4)

smsc47m192-i2c-0-2d
Adapter: SMBus I801 adapter at 2000
+2.5V: +2.55 V (min = +0.00 V, max = +3.32 V)
VCore: +1.15 V (min = +0.00 V, max = +2.99 V)
+3.3V: +3.33 V (min = +0.00 V, max = +4.38 V)
+5V: +5.10 V (min = +0.00 V, max = +6.64 V)
+12V: +12.50 V (min = +0.00 V, max = +15.94 V)
VCC: +3.35 V (min = +0.00 V, max = +4.38 V)
+1.5V: +1.59 V (min = +0.00 V, max = +1.99 V)
+1.8V: +1.77 V (min = +0.00 V, max = +2.39 V)
Chip Temp: +39.0°C (low = -127°C, high = +127°C)
CPU Temp: +61.0°C (low = +58°C, high = +65°C)
Sys Temp: +48.0°C (low = -127°C, high = +127°C)
vid: +2.050 V (VRM Version 8.2)


$ cat /proc/cpuinfo

vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
stepping : 2
cpu MHz : 1596.205
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 3
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 3191.80
 
Well would you look at that, from looking at the apt logs it looks like libsensors3 was updated during the install of apcupsd on saturday and now sensorsd tells me everything I need to know via the i2c interface, never would have guessed that one.

Thanks for your output Ernie, it put me on the right track to poke around and investigate further.

Just needed to perform: sensors-detect, then restart sensorsd.

Thanks for your help.

Jordan.