Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34764 - [systemd][lm_sensors] lm_sensors.service don't load module w83627ehf at start

Attached to Project: Arch Linux
Opened by kiko loche (kikoloche) - Saturday, 13 April 2013, 10:28 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 24 April 2013, 23:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:lm_sensors.service don't load module w83627ehf at start


Additional info:
* package version(s)
lm_sensors 3.3.3-2
* config and/or log files etc.
this is my /etc/conf.d/lm_sensors:

# Generated by sensors-detect on Sat Apr 13 12:08:47 2013
# 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="coretemp w83627ehf"

# For compatibility reasons, modules are also listed individually as variables
# MODULE_0, MODULE_1, MODULE_2, etc.
# You should use BUS_MODULES and HWMON_MODULES instead if possible.

MODULE_0=coretemp
MODULE_1=w83627ehf



Steps to reproduce:

1-start the system
2-$ sensors give the following output:
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +35.0°C (high = +78.0°C, crit = +100.0°C)
Core 1: +33.0°C (high = +78.0°C, crit = +100.0°C)
3-$ modprobe w83627ehf
4-$ The output of sensors now is:
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +36.0°C (high = +78.0°C, crit = +100.0°C)
Core 1: +33.0°C (high = +78.0°C, crit = +100.0°C)

w83627dhg-isa-0290
Adapter: ISA adapter
Vcore: +1.33 V (min = +0.00 V, max = +1.74 V)
in1: +0.92 V (min = +1.66 V, max = +1.63 V) ALARM
AVCC: +3.33 V (min = +2.98 V, max = +3.63 V)
+3.3V: +3.33 V (min = +2.98 V, max = +3.63 V)
in4: +1.66 V (min = +2.01 V, max = +0.60 V) ALARM
in5: +1.68 V (min = +0.42 V, max = +1.50 V) ALARM
in6: +1.86 V (min = +1.06 V, max = +1.12 V) ALARM
3VSB: +3.46 V (min = +2.98 V, max = +3.63 V)
Vbat: +3.30 V (min = +2.70 V, max = +3.63 V)
fan1: 1454 RPM (min = 2518 RPM, div = 8) ALARM
fan2: 423 RPM (min = 2343 RPM, div = 16) ALARM
fan3: 0 RPM (min = 10546 RPM, div = 128) ALARM
fan4: 0 RPM (min = 958 RPM, div = 128) ALARM
fan5: 0 RPM (min = 10546 RPM, div = 128) ALARM
temp1: +36.0°C (high = -126.0°C, hyst = +4.0°C) ALARM sensor = thermistor
temp2: +34.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
temp3: +43.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
cpu0_vid: +0.000 V
intrusion0: ALARM

5 $ sudo systemctl status lm_sensors.service
lm_sensors.service - Initialize hardware monitoring sensors
Loaded: loaded (/usr/lib/systemd/system/lm_sensors.service; enabled)
Active: active (exited) since sáb 2013-04-13 12:20:28 CEST; 3min 37s ago
Process: 1772 ExecStop=/sbin/modprobe -qabr $BUS_MODULES $HWMON_MODULES (code=exited, status=1/FAILURE)
Process: 1777 ExecStart=/usr/bin/sensors -s (code=exited, status=0/SUCCESS)
Process: 1775 ExecStart=/sbin/modprobe -qab $BUS_MODULES $HWMON_MODULES (code=exited, status=1/FAILURE)

abr 13 12:20:28 salon systemd[1]: Starting Initialize hardware monitoring sensors...
abr 13 12:20:28 salon modprobe[1775]: modprobe: ERROR: missing parameters. See -h.
abr 13 12:20:28 salon systemd[1]: Started Initialize hardware monitoring sensors.

This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 24 April 2013, 23:24 GMT
Reason for closing:  Fixed
Comment by Ray Kingdon (raymondo) - Saturday, 13 April 2013, 14:38 GMT
After the latest system update I had a similar problem with the lm_sensors.service not loading a module (but in my case a failure to load the it87 module). I downgraded the lm_sensors package but the problem remained. However, downgrading the systemd and systemd-sysvcompat packages from 201-1 back to 200-1 fixed the problem. There were no problems upgrading the lm_sensors package to 3.3.3-2. So the bug appears to be related to the systemd/systemd-sysvcompat packages rather than lm_sensors.
Hope this helps.
Comment by Eric Belanger (Snowman) - Saturday, 13 April 2013, 22:17 GMT
What happens if you modprobe the modules manually? Do they get loaded?
Comment by Eric Belanger (Snowman) - Sunday, 14 April 2013, 08:40 GMT Comment by Eric Belanger (Snowman) - Sunday, 14 April 2013, 08:44 GMT
Dave: I'll let you decide if this patch should be applied on the systemd package.
Comment by Eric Belanger (Snowman) - Sunday, 14 April 2013, 23:34 GMT
Should be fixed with systemd 201-2 in [testing].

Loading...