LinHES Forums
http://forum.linhes.org/

R8 lm_sensors install
http://forum.linhes.org/viewtopic.php?f=21&t=23760
Page 1 of 1

Author:  TVBox [ Wed Jun 05, 2013 3:11 am ]
Post subject:  R8 lm_sensors install

When I installed lm_sensors I ran into permission problems.
Code:
(1/1) Checking package integrity 100%
(1/1) Loading package files 100%
(1/1) Checking for file conflicts 100%
(1/1) Upgrading lm_sensors 100%
Warning: directory permissions differ on etc/
Filesystem: 775    Package: 755
Warning: directory permissions differ on etc/rc.d/
Filesystem: 775    Package: 755
Warning: directory permissions differ on etc/conf.d/
Filesystem: 775    Package: 755
Warning: directory permissions differ on usr/bin/

The question is if I change the permissions to satisfy lm_sensors what repercussions will I see on the system.

TVBox

Author:  jams [ Wed Jun 05, 2013 8:12 am ]
Post subject:  Re: R8 lm_sensors install

It's OK to ignore that error, it doesn't hurt the system one way or the other.

Author:  TVBox [ Fri Jun 07, 2013 1:03 am ]
Post subject:  Re: R8 lm_sensors install

I am still striking out. If I run sensors I get this.
Code:
#sensors
acpitz-virtual-0
Adapter: Virtual device
Temp1:   +21.0 C   (crit  = +60,0 C)

K8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:  +33.0C
Core0 Temp: +25.0 C
Core1 Temp:  +33.0 C
Core1 Temp: +18.0 C

i am missing the information from it87. I have three modules that have to be loaded
    i2c-nforce2
    driver it87
    driver k8temp
To check the modules loaded I ran lsmod
Code:
# lsmod
k8temp   
i2c_nforce2

it87 is missing so I tried to load it manually
Code:
> modprobe it87
ERROR: could not insert 'it87': Device or resource busy

The Arch Wilki don't seem to be much help. https://wiki.archlinux.org/index.php/Lm_sensors
Any observations would be welcomed.

TVBox

Author:  graysky [ Fri Jun 07, 2013 2:03 pm ]
Post subject:  Re: R8 lm_sensors install

Did you run `sudo sensors-detect`?

Author:  slowtolearn [ Fri Jun 07, 2013 2:04 pm ]
Post subject:  Re: R8 lm_sensors install

TVBox wrote:
I am still striking out. If I run sensors I get this.
Code:
#sensors
acpitz-virtual-0
Adapter: Virtual device
Temp1:   +21.0 C   (crit  = +60,0 C)

K8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:  +33.0C
Core0 Temp: +25.0 C
Core1 Temp:  +33.0 C
Core1 Temp: +18.0 C

i am missing the information from it87. I have three modules that have to be loaded
    i2c-nforce2
    driver it87
    driver k8temp
To check the modules loaded I ran lsmod
Code:
# lsmod
k8temp   
i2c_nforce2

it87 is missing so I tried to load it manually
Code:
> modprobe it87
ERROR: could not insert 'it87': Device or resource busy

The Arch Wilki don't seem to be much help. https://wiki.archlinux.org/index.php/Lm_sensors
Any observations would be welcomed.

TVBox


The it87 driver is probably not loading due to a conflict with an ACPI resource.

A way to get around it is to use the acpi_enforce_resources=lax directive in your GRUB config as shown here, HOWEVER, please note the warnings about doing so in the lm_sensors FAQ.

I would do a Google for your motherboard model and lm_sensors to see which model (other than it87) you need to get loaded...

Author:  TVBox [ Mon Jun 10, 2013 4:01 pm ]
Post subject:  Re: R8 lm_sensors install

graysky
I did run sensors-detect

slowtolearn
I do believe I have a ACPI problem. R8 is using kernel 3.6.7 . Everything talked about in the links provided centered around kernel 2.6.31 but i did try changing the GRUB config as the link had directed with the same results. The mother board is a Biostar TF8200 and could find no other drivers talked about.

in the dmsg and kernel logs I find 'VID is disabled'
Code:
[ 2518.510633] it87: Found IT8718F chip at 0xa10, revision 5
[ 2518.510650] it87: VID is disabled (pins used for GPIO)
[ 2518.510720] ACPI Warning: 0x0000000000000a15-0x0000000000000a16 SystemIO conflicts with Region \SENP 1 (20120711/utaddress-251)
[ 2518.510734] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver


it87 has a dependency on "hwmon-vid" but i do not know if it is the same a VID listed above.
Code:
> modinfo it87
filename:       /usr/lib/modules/3.6.7-1-ARCH/kernel/drivers/hwmon/it87.ko.gz
license:        GPL
description:    IT8705F/IT871xF/IT872xF hardware monitoring driver
author:         Chris Gauthron, Jean Delvare <khali@linux-fr.org>
depends:        hwmon-vid
intree:         Y
vermagic:       3.6.7-1-ARCH SMP preempt mod_unload modversions
parm:           force_id:Override the detected device ID (ushort)
parm:           update_vbat:Update vbat if set else return powerup value (bool)
parm:           fix_pwm_polarity:Force PWM polarity to active high (DANGEROUS) (bool)


at the least I expected the see the hwmon-vid loaded but it did not load.
Code:
> modprobe -v hwmon-vid
> modprobe -v it87
ERROR: could not insert 'it87': Device or resource busy
insmod /usr/lib/modules/3.6.7-1-ARCH/kernel/drivers/hwmon/it87.ko.gz
>  lsmod | grep hwmon-vid
>  lsmod | grep it87


Packages that are not in the repository that might help are.
i2c_tools
rddtools
hdtemp >>> won't help but it would be nice to have in the repository
Dos anyone know if they are installed thru a larger package?

In the wiki https://wiki.archlinux.org/index.php/Lm_sensors it states
To automatically load the kernel modules at boot time:
Code:
systemctl enable lm_sensors.service

which doesn't work. what is the correct way to do this in LinHES

++++++++++++++++++++++
Note: the Following is on a completely separate hard drive and has noting to do with the above except to validate that it did work in earlier verisons.
To check with a earlier version I installed R7.2 and updated. Kernel is now 2.6.39.4-3 Installed LM_Sensors. in order to get it to work i had to install i2c_tools. Eventho sensors-detect needs i2c_dev to run that was not enough. I installed i2c_tools, it87 loaded and Sensors worked correctly.
+++++++++++++++++++++

I know I am kind of flock shooting here.
Thanks
TVBox

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/