Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: magwm on May 29, 2009, 06:03:39 PM

Title: updating lm-sensors
Post by: magwm on May 29, 2009, 06:03:39 PM
Hello SmeWorld,
I would like to update lm-sensors on my production server.

the reason is simple: right now, I have
Code: [Select]
#sensors-v      :      sensors version 2.8.7 with libsensors version 2.8.7installed.

it works, but.. at the first execution of sensors the server starts beeping even if there is no problem..

Code: [Select]
[root@www ~]# sensors
asb100-i2c-0-2d
Adapter: SiS96x SMBus adapter at 0xe600
VCore 1:   +1.58 V  (min =  +0.00 V, max =  +0.00 V)
+3.3V:     +3.36 V  (min =  +3.14 V, max =  +3.47 V)
+5V:       +5.19 V  (min =  +4.76 V, max =  +5.24 V)
+12V:     +11.31 V  (min = +10.82 V, max = +13.19 V)
CPU Fan:  2537 RPM  (min =    0 RPM, div = 4)
MBTemp:      +24°C  (high =   +45°C, hyst =   +40°C)
CPUTempIntel:
             +26°C  (high =   +60°C, hyst =   +50°C)
ERROR: Can't get VID data!
alarms:

the only thing I can do to stop the beeping is to reboot without the modpobe part
Code: [Select]
# I2C adapter drivers
modprobe i2c-sis96x
# I2C chip drivers
modprobe asb100
#modprobe eeprom
 sleep 2 # optional
/usr/bin/sensors -s # recommended
in  /etc/rc.d/rc.local  . but, of course, then the sensors don't work.

the LM-sensors homepage says: http://www.lm-sensors.org/wiki/Kernel2.6 (http://www.lm-sensors.org/wiki/Kernel2.6)
Quote
For recent 2.6 kernels (2.6.9 and later), you need at least lm_sensors 2.8.8
and, moreover,
Quote
In kernel 2.6.22, the way the I2C adapters are presented in sysfs changed, and this affects libsensors. You will need lm_sensors version 2.10.3 or later

and more scary things indicating that the version that came with sme is outdated.. especially the asb100 driver which is the one my asus motherboard uses..

What do you think? is it dangerous to download a precompiled package from somewhere like
http://dl.atrpms.net/all/lm_sensors-2.10.6-55.el4.i386.rpm (http://dl.atrpms.net/all/lm_sensors-2.10.6-55.el4.i386.rpm)
http://dl.atrpms.net/all/libsensors3-2.10.6-55.el4.i386.rpm

and install them? would it hurt my server's feelings?

would it be pushing my luck to download the 3.0 versions?
(there were some for Fedora, I think..)

Thanks for your insights, ciao!

Michel
Title: Re: updating lm-sensors
Post by: CharlieBrady on May 29, 2009, 08:09:39 PM
I would like to update lm-sensors on my production server.

lm_sensors is not part of SME server base install, so your post is off-topic for this forum.
Title: Re: updating lm-sensors
Post by: magwm on June 01, 2009, 09:34:26 AM
autsch sorry! then it is related to sme7admin, can someone move this post to contribs?
ciao M
Title: Re: updating lm-sensors
Post by: cactus on June 01, 2009, 09:59:02 AM
Moving topic to SME 7.x Contribs as it is more appropriate there.