April 2, 201214 yr I am trying to get LM_Sensors working on my rig. Sensors-Detect returns Driver `it87' (should be inserted): Detects correctly: * ISA bus, address 0x290 Chip `ITE IT8712F Super IO Sensors' (confidence: 9) Driver `to-be-written' (should be inserted): Detects correctly: * Chip `AMD K10 thermal sensors' (confidence: 9) if I then run sensors I get no Sensors Found! Can anyone point in a direction here?
April 2, 201214 yr You have to load the module, use this command: modprobe it87 Also, the K10 thermal sensors is not installed in unraid, you can try the k8 module though, loading it the same way: modprobe k8temp You need to edit the sensors.conf file to include the option for k8temp, it is located at /etc/sysconfig/lm_sensors After editing the file type lm_sensors to start and then typing sensors should work for you.
April 3, 201214 yr Type this command from telnet and copy and paste the return here: ls /sys/module/ EDIT: Just read the changelogs and found the problem, in 4.7 the hwmon drivers were built-in and not modules, so you don't need to use modprobe. Try running: etc/sysconfig/lm_sensors and then run sensors
April 3, 201214 yr Author Result: Tower login: root Linux 2.6.32.9-unRAID. root@Tower:~# ls /sys/module/ 8250/ i2c_core/ md_mod/ scsi_transport_sas/ usbcore/ acpi/ i2c_dev/ mousedev/ scst/ usbhid/ ahci/ i8042/ mvsas/ spurious/ usblp/ atiixp/ kernel/ nfs/ sunrpc/ vboxdrv/ ehci_hcd/ keyboard/ printk/ tcp_cubic/ vboxnetadp/ fuse/ libata/ processor/ thermal/ vboxnetflt/ hid/ libsas/ r8169/ uhci_hcd/ vt/ hid_apple/ lockd/ scsi_mod/ usb_storage/ xor/ root@Tower:~# /etc/sysconfig/lm_sensors -bash: /etc/sysconfig/lm_sensors: Permission denied root@Tower:~# etc/sysconfig/lm_sensors -bash: etc/sysconfig/lm_sensors: No such file or directory root@Tower:/etc/sysconfig# sensors No sensors found! Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are. root@Tower:/etc/sysconfig# contents of /etc/sysconfig/lm_sensors lm_sensors [b---] 0 L:[ 15+ 0 15/ 36] *(699 /1468b) 35 0x023 # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301 USA. # # # See also the lm_sensors homepage at: # http://www.lm-sensors.org/ # # This file is used by /etc/init.d/lm_sensors and defines the modules to # be loaded/unloaded. This file is sourced into /etc/init.d/lm_sensors. # # The format of this file is a shell script that simply defines the modules # in order as normal variables with the special names: # MODULE_0, MODULE_1, MODULE_2, etc. # # List the modules that are to be loaded for your system # # Generated by sensors-detect on Mon Apr 2 08:19:44 2012 MODULE_0=it87 MODULE_1=k8temp
April 3, 201214 yr root@Tower:~# /etc/sysconfig/lm_sensors -bash: /etc/sysconfig/lm_sensors: Permission denied root@Tower:~# etc/sysconfig/lm_sensors -bash: etc/sysconfig/lm_sensors: No such file or directory Check the permissions on lm_sensors to make sure its executable. The second error is my fault, I forgot to include the / before etc, thats why it gave the no suhc file or directory error. You should simply be able to run lm_sensors, since you got permission denied I have a feeling its just not executable. Check the permissions by running ls -l /etc/sysconfig/lm_sensors On my system it is default 777(-rwxrwxrwx), but you should only need it to be -rwx------. If its not executable, chmod it and then try running it again. I just restarted after removing any go lines i had setup for sensors to work, so basically I started fresh. This is what I did to get it to work: run sensors-detect, answer yes and let it make the /etc/sysconfig/lm_sensors file Since I'm running a 5beta build I have to modprobe the modules, on 4.7 they are built into the kernel so you do not have to do this step, modprobe it87 then I run sensors and I get the correct output. I'm thinking we need a 4.7 user to step in here as I cannot test it to see what happens on 4.7 to get it to work, from everything I've read its included in kernel, I'm not 100% sure if you need to load drivers that are built-in. I've only ever had to modprobe drivers, but I've only ever messed with modular drivers as well.
Archived
This topic is now archived and is closed to further replies.