(SOLVED) lm_sensors problem

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

(SOLVED) lm_sensors problem

Postby daniewicz » Apr 3rd, '14, 02:37

Clean install of Mageia 4. I have the service lm_sensors set to start at boot but it will not start.

I realized this after I ran as root sensors-detect which gave:
Code: Select all
Now follows a summary of the probes I have just done.
Just press ENTER to continue: y

Driver `w83627hf':
  * ISA bus, address 0x290
    Chip `Winbond W83627HF/F/HG/G Super IO Sensors' (confidence: 9)

Driver `k8temp':
  * Chip `AMD K8 thermal sensors' (confidence: 9)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
Job for lm_sensors.service failed. See 'systemctl status lm_sensors.service' and 'journalctl -xn' for details.
Unloading i2c-dev... OK
Unloading cpuid...


so then I ran systemctl status lm_sensors.service
Code: Select all
# systemctl status lm_sensors.service
lm_sensors.service - Initialize hardware monitoring sensors
   Loaded: loaded (/usr/lib/systemd/system/lm_sensors.service; enabled)
   Active: failed (Result: exit-code) since Wed 2014-04-02 18:15:58 CDT; 20s ago
  Process: 15082 ExecStart=/usr/bin/sensors -s (code=exited, status=1/FAILURE)
  Process: 15078 ExecStart=/sbin/modprobe -qab $BUS_MODULES $HWMON_MODULES (code=exited, status=1/FAILURE)
 Main PID: 15082 (code=exited, status=1/FAILURE)

Apr 02 18:15:58 localhost sensors[15082]: No sensors found!
Apr 02 18:15:58 localhost sensors[15082]: Make sure you loaded all the kernel drivers you need.
Apr 02 18:15:58 localhost sensors[15082]: Try sensors-detect to find out which these are.
Apr 02 18:15:58 localhost systemd[1]: lm_sensors.service: main process exited, code=exited, status=1/FAILURE
Apr 02 18:15:58 localhost systemd[1]: Failed to start Initialize hardware monitoring sensors.
Apr 02 18:15:58 localhost systemd[1]: Unit lm_sensors.service entered failed state.


next I tried:
Code: Select all
#enable lm_sensors
# systemctl start lm_sensors
Job for lm_sensors.service failed. See 'systemctl status lm_sensors.service' and 'journalctl -xn' for details.


the contents of /etc/sysconfig/lm_sensors

Code: Select all
# Generated by sensors-detect on Wed Apr  2 18:18:33 2014
# This file is sourced by /etc/init.d/lm_sensors and defines the modules to
# be loaded/unloaded.
#
# The format of this file is a shell script that simply defines variables:
# HWMON_MODULES for hardware monitoring driver modules, and optionally
# BUS_MODULES for any required bus driver module (for example for I2C or SPI).

HWMON_MODULES="k8temp w83627hf


As suggested in 63477 (https://bugs.freedesktop.org/show_bug.cgi?id=63477) I removed all comments from this file but it did not help.

Suggestions?
Last edited by daniewicz on Apr 5th, '14, 00:38, edited 3 times in total.
The dude abides.
User avatar
daniewicz
 
Posts: 224
Joined: Feb 10th, '13, 03:37

Re: lm_sensors problem

Postby doktor5000 » Apr 3rd, '14, 20:04

daniewicz wrote:HWMON_MODULES="k8temp w83627hf


Just a copy&paste omission or is there really a doublequote sign missing at the end of the line?

Also, can you successfully load those kernel modules manually?
Code: Select all
modprobe k8temp
modprobe w83627hf
lsmod | grep -e k8temp -e w83627hf
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: lm_sensors problem

Postby daniewicz » Apr 3rd, '14, 22:47

Yes, the missing double-quote was a copy/paste error

Code: Select all
# modprobe k8temp
# modprobe w83627hf
modprobe: ERROR: could not insert 'w83627hf': Device or resource busy

# lsmod | grep -e k8temp -e w83627hf
k8temp                 12978  0
The dude abides.
User avatar
daniewicz
 
Posts: 224
Joined: Feb 10th, '13, 03:37

Re: lm_sensors problem

Postby doktor5000 » Apr 4th, '14, 00:44

daniewicz wrote:# modprobe w83627hf
modprobe: ERROR: could not insert 'w83627hf': Device or resource busy

Well, this seems like your issue. If the module for the sensor cannot be loaded, you better look at the output from dmesg to find out why.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: lm_sensors problem

Postby daniewicz » Apr 4th, '14, 04:04

I am in over my head and do not know how to interpret this

Code: Select all
# modprobe w83627hf
modprobe: ERROR: could not insert 'w83627hf': Device or resource busy

]# dmesg | grep -i w83627
[16377.018336] w83627hf: w83627hf: Found W83627HF chip at 0x290
The dude abides.
User avatar
daniewicz
 
Posts: 224
Joined: Feb 10th, '13, 03:37

Re: lm_sensors problem

Postby doktor5000 » Apr 4th, '14, 07:24

Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: lm_sensors problem

Postby daniewicz » Apr 5th, '14, 00:36

using acpi_enforce_resources=lax did the trick

Thanks!
The dude abides.
User avatar
daniewicz
 
Posts: 224
Joined: Feb 10th, '13, 03:37


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron