Koozali.org: home of the SME Server

sme7admin - lmsensors - uninstalled driver

Offline chrislaurie

  • *
  • 96
  • +0/-0
sme7admin - lmsensors - uninstalled driver
« on: February 26, 2006, 10:44:06 AM »
Installed v7 of smeadmin and it worked as expected - brilliant, reliable contrib this - thanx landry.

Now, my hardware metrics are not coming up so I delved into the net and had to get lmsensors installed. I used the download form here:

ftp://ftp.pbone.net/mirror/atrpms.net/el4-i386/atrpms/stable/lm_sensors-2.9.2-42.el4.at.i386.rpm

and it worked fine.

I assume I must go ahead with the instructions as detailed on http://wellsi.com/sme/lms/lm_sensors.html and create a custom template snippet for modules.conf. If not can someone enlighten me.

My problem is that the output from sensors-detect contains the following lines:

# Warning: the required module w83627ehf is not currently installed on your system.
# For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported.html
# If driver is built-in to the kernel, or unavailable, comment out the following line.
modprobe w83627ehf


This is where I get out of my depth. Must I just comment this out? Do I lose the sensor info if I do?

I found this reference to the developer of a kernel driver for this chip:

http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-02/6088.html

How can I get the driver into my sme7 installation or would I ahave to wait until the kernel is updated with this driver?

thanx

Chris Laurie

Landry

sme7admin - lmsensors - uninstalled driver
« Reply #1 on: February 27, 2006, 06:14:19 PM »
If you can't modprobe this module, you won't get any info from your sensors. Anyway, on my system, the module name is w83627hf, and works with lm_sensors version 2.9.2.

Maybe it's a typo in sensors-detect. Try to modprobe w83627hf, or w83781d, and check if the sensors work. Do it at your own risks :)

Or hope that this driver will be inserted/updated in a later kernel :)

Offline chrislaurie

  • *
  • 96
  • +0/-0
sme7admin - lmsensors - uninstalled driver
« Reply #2 on: February 27, 2006, 07:23:28 PM »
thanx landry

Quote
Do it at your own risks :)


Will I damage something?

Landry

sme7admin - lmsensors - uninstalled driver
« Reply #3 on: February 27, 2006, 07:30:27 PM »
No, i don't think. There is a VERY LITTLE chance that the box hang, but i don't think it'll do. Sometimes kernel drivers are unstable, but probably it'll run fine.

Offline arnoldob

  • *
  • 183
  • +0/-0
sme7admin - lmsensors - uninstalled driver
« Reply #4 on: July 11, 2006, 01:08:03 AM »
Running one of the modeprobe commands created during sensors-detect cause the halt of the server. Since I was working remotely it remained down until a someone could switch it back on. Not a happy outcome.
Tampa, FL USA

Offline Graham

  • ****
  • 105
  • +0/-0
Re: sme7admin - lmsensors - uninstalled driver
« Reply #5 on: September 06, 2007, 08:12:48 PM »
It runs the detect fine, but it fails with this

FATAL: Error inserting w83627hf (/lib/modules/2.6.9-55.0.2.EL/kernel/drivers/i2c/chips/w83627hf.ko): No such device

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe w83627hf
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----

not sure what this bits about as I can't find: prog/init/lm_sensors.init

Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors

when I do sensors I get this:

eeprom-i2c-1-51
Adapter: SMBus I801 adapter at 0c00
Memory type:            DDR SDRAM DIMM
Memory size (MB):       512

eeprom-i2c-1-50
Adapter: SMBus I801 adapter at 0c00
Memory type:            DDR SDRAM DIMM
Memory size (MB):       512