How to get lm-sensors to see eight processors instead
I have a HP XW8400 workstation. It came with a single Intel Xeon E5335, and I correctly got lm_sensors installed so I could see the four processor temperatures. (The E5335 is a quad xeon chip.)
I just installed a second Xeon E5335. /proc/cpuinfo correctly sees 8 logical CPUs, however lm_sensors is still reporting temperatures for only 4 of those logical CPUs. When I initially installed the machine on a single Xeon, I got lm_sensors working correctly, but can't figure out now how to expand it from reporting on 4 CPUs to 8. My experience with lm_sensors is extremely limited, so any advice would be much appreciated!
I ran sensors-detect, and used all default values. The output was:
----------
Driver `smsc47b397' (should be inserted):
Detects correctly:
* ISA bus address 0x0480 (Busdriver `i2c-isa')
Chip `SMSC SCH5307-NS Super IO' (confidence: 9)
I will now generate the commands needed to load the I2C modules. To make the sensors modules behave correctly, add these lines to /etc/modprobe.conf:
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
To load everything that is needed, add this to some /etc/rc* file:
#----cut here----
# I2C adapter drivers
modprobe i2c-isa
# I2C chip drivers
modprobe smsc47b397
# sleep 2 # optional /usr/bin/sensors -s # recommended #----cut here---- ---------- None of that is new. /etc/modprobe.conf already had "alias char-major-89 i2c-dev", and /etc/rc.local already had "modprobe i2c-isa", "modprobe smsc47b397", and "/usr/bin/sensors -s"
lsmod gives:
Module Size Used by i2c_dev 43849 0 smsc47b397 39749 0 hwmon 36553 1 smsc47b397 i2c_isa 39105 1 smsc47b397 ... i2c_ec 38593 1 sbs i2c_core 56129 4 i2c_dev,smsc47b397,i2c_isa,i2c_ec
i2cdetect and i2cdump state "Error: No I2C busses found!"
I'm running sensors 2.10.0, libsensors 2.10.0, and kernel 2.6.18-53.1.14.el5
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] How to get lm-sensors to see eight processors
Thanks for your response!
I downloaded (I think) the latest sensors-detect script, it was 181469 bytes. The stock 2.10.0-3.1 sensors_detect was only finding the "smsc47b397" chip, but the new one also found "coretemp" and "to-be-written" for "Chip Intel AMB FB-DIMM thermal sensor".
I am running CentOS 5.1 (more or less RHEL 5.1). The latest kernel in the RHEL 5.1 yum repo is unfortunately 2.6.18-53.1.1.4.el5. "modprobe coretemp" failed, which makes sense because "locate coretemp" finds nothing on my system.
Is there a way I can add the coretemp driver, without upgrading to an outside-repo kernel? If so, where do I download it, and how do I install it?
Quoted 14 lines · Darrick J. Wong
Quoted 1 line · Michael Darling
I have a HP XW8400 workstation. It came with a single Intel Xeon E5335,
and
Quoted 5 lines
I correctly got
lm_sensorsinstalled so I could see the four processor temperatures. (The E5335 is a quad xeon chip.)I just installed a second Xeon E5335.
/proc/cpuinfocorrectly sees 8 logical CPUs, howeverlm_sensorsis still reporting temperatures foronly 4
Quoted 1 line
of those logical CPUs. When I initially installed the machine on a
single
Quoted 1 line
Xeon, I got
lm_sensorsworking correctly, but can't figure out now howto
Quoted 1 line
expand it from reporting on 4 CPUs to 8. My experience with
lm_sensors
Quoted 9 lines
is
Quoted 1 line
extremely limited, so any advice would be much appreciated!
Hmm... if you're running a recent kernel (2.6.23+, I think?) try the coretemp driver to read the temperature sensors that are on the CPU die.
--D
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors