CentOS 5, Intel i7, lm_sensors

Recently I set up a new machine with an Intel Core i7 860 CPU to run as a server with various tasks. While working on setting the box up, I realized that lm_sensors does not recognize any sensors on the board (Intel H57 chipset I think), so I went on a Google search tour to find a solution to this problem.

It turns out that a module to recognize certain sensors isn’t shipped with the CentOS version 5, though they should be with CentOS 6. The modules in question are ‘coretemp’ for the Intel Core ix range, and ‘w83627ehf’. Also, the lm_sensors shipped with CentOS 5 is, as is usual with CentOS and most packages, an older version.

A neat tutorial to get this sorted can be found here:

lm_sensors on CentOS 5.4 howto get and install the coretemp module

This tutorial helped quite a bit, but some parts are outdated. You can follow the tutorial until the headline “You can check your kernel version with the following command:” inclusive. The following parts you can read for some information, but skip the steps taken there, since the described RPM packages are outdated too.
Instead when following the website itself described there, the person behind that website, you will reach the person’s (Phil Perry) new page, located at

www.pendre.co.uk

The top article mentions Phil’s new yum repository he has set up for many drivers for CentOS.
Following the link to his new repository at

ElRepo.org

you will find the usual information how to add this repo to your yum config.

After that is done, elrepo repository enabled for your local yum, you can then install the missing modules through yum. Exact modules needed can be found through the updated lm_sensors you installed following the first howto.

That should do the trick.
lm_sensors with above mentioned modules detected through sensors-detect on CentOS 5 with i7 CPU returns this information:

achim@centos5_i7_box:~%> sensors                                                                                                                               <17:39>
coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +30°C  (high =   +99°C)                   

coretemp-isa-0001
Adapter: ISA adapter
Core 1:      +26°C  (high =   +99°C)                   

coretemp-isa-0002
Adapter: ISA adapter
Core 2:      +26°C  (high =   +99°C)                   

coretemp-isa-0003
Adapter: ISA adapter
Core 3:      +26°C  (high =   +99°C)

Unfortunately the voltages are still missing, but hopefully they’ll be available soon too.

I’m working here with a Core i7 CPU, but it should also work with i3 and i5.

Enjoy!