Skip to contentSkip to conversation

can't start lm_sensors: Can't access procfs/sysfs file

lm-sensors Rudi Ahlers 2 participants 2 messages Nov 15, 2008 – Nov 16, 2008

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm trying to get lm_sensors working on CentOS 5.2, but get the following error:

root@rewards1 dev]# /etc/init.d/lm_sensors restart; sensors
Stopping lm_sensors: [ OK ]
Starting lm_sensors: Can't access procfs/sysfs file Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!
[FAILED]
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'! [root@rewards1 dev]# insmod i2c-proc
insmod: can't read 'i2c-proc': No such file or directory [root@rewards1 dev]# modprobe i2c-proc
FATAL: Module i2c_proc not found.

The machine is running kernel 2.6.18-92.1.10.el5xen

uname -a
Linux rewards1.softdux.com 2.6.18-92.1.10.el5xen #1 SMP Tue Aug 5 08:46:32 EDT 2008 i686 i686 i386 GNU/Linux

How do I get lm_sensors working on this kernel?

Signature · 7 lines
Kind Regards
Rudi Ahlers

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#1 lore raw

Re: [lm-sensors] can't start lm_sensors: Can't access procfs/sysfs

Quoted 24 lines · Rudi Ahlers

Hi all,

I'm trying to get lm_sensors working on CentOS 5.2, but get the following error:

root@rewards1 dev]# /etc/init.d/lm_sensors restart; sensors
Stopping lm_sensors: [ OK ]
Starting lm_sensors: Can't access procfs/sysfs file Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!
[FAILED]
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'! [root@rewards1 dev]# insmod i2c-proc
insmod: can't read 'i2c-proc': No such file or directory [root@rewards1 dev]# modprobe i2c-proc
FATAL: Module i2c_proc not found.

Quoted 9 lines

The machine is running kernel 2.6.18-92.1.10.el5xen

uname -a
Linux rewards1.softdux.com 2.6.18-92.1.10.el5xen #1 SMP Tue Aug 5 08:46:32 EDT 2008 i686 i686 i386 GNU/Linux

How do I get lm_sensors working on this kernel?

First of all, make sure you have sysfs support. To check run "mount". You should see something like

sysfs on /sys type sysfs

in the ouotput. Next you have to know what chip you have. So run the command "sensors-detect" as root. It'll find the chip and tell you what drivers you need

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors