Bug 611144 - lm_sensors doesn't load coretemp module automatically
Summary: lm_sensors doesn't load coretemp module automatically
Status: CLOSED DUPLICATE of bug 616760
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: lm_sensors
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Nikola Pajkovsky
QA Contact: BaseOS QE - Apps
Depends On:
Blocks: 623572 623587
TreeView+ depends on / blocked
Reported: 2010-07-03 22:49 UTC by David Kovalsky
Modified: 2014-03-31 23:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 623572 (view as bug list)
Last Closed: 2010-08-12 08:24:11 UTC

Attachments (Terms of Use)
/proc/cpuinfo (6.33 KB, application/octet-stream)
2010-07-03 22:49 UTC, David Kovalsky
no flags Details
proposed patch (1.61 KB, patch)
2010-07-21 15:36 UTC, Nikola Pajkovsky
no flags Details | Diff

Description David Kovalsky 2010-07-03 22:49:22 UTC
Created attachment 429308 [details]

For Core i7 processors and running sensors-detect, coretemp module is not loaded automatically and temperatures not shown. If I manually modprobe coretemp, I see the output.

[test@kovinek ~]$ sensors
Adapter: ISA adapter
fan1:       3563 RPM
temp1:       +78.0°C                                    
temp2:        +0.0°C                                    
temp3:        +0.0°C                                    
temp4:        +0.0°C                                    
temp5:        +0.0°C                                    
temp6:        +0.0°C                                    
temp7:        +0.0°C                                    
temp8:        +0.0°C                                    

(coretemp module which I don't see without manually modprobing coretemp)

Adapter: ISA adapter
Core 0:      +76.0°C  (high = +84.0°C, crit = +100.0°C)  

Adapter: ISA adapter
Core 1:      +76.0°C  (high = +84.0°C, crit = +100.0°C)  

Adapter: ISA adapter
Core 2:      +77.0°C  (high = +84.0°C, crit = +100.0°C)  

Adapter: ISA adapter
Core 3:      +77.0°C  (high = +84.0°C, crit = +100.0°C)  

Adapter: ISA adapter
Core 4:      +78.0°C  (high = +84.0°C, crit = +100.0°C)  

Adapter: ISA adapter
Core 5:      +78.0°C  (high = +84.0°C, crit = +100.0°C)  

Adapter: ISA adapter
Core 6:      +77.0°C  (high = +84.0°C, crit = +100.0°C)  

Adapter: ISA adapter
Core 7:      +77.0°C  (high = +84.0°C, crit = +100.0°C)  

[test@kovinek ~]$ cat /etc/sysconfig/lm_sensors 
# Generated by sensors-detect on Thu Jul  1 13:38:56 2010
# 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).


# 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.



Comment 2 Nikola Pajkovsky 2010-07-07 08:28:11 UTC
Do you have installed lm_sensors-sensord?

Comment 3 David Kovalsky 2010-07-08 12:40:02 UTC
Yes, lm_sensors-sensord-3.1.1-8.el6.x86_64

Comment 4 David Kovalsky 2010-07-08 13:53:53 UTC
Furthermore, even if I set 


in /etc/sysconfig/lm_sensors

service sensord start doesn't load the module.

Checking the initscript, only sensord is sourced from /etc/sysconfig/. 

It seems like 2 bugs to me:
1) sensors-detect doesn't create a proper config file with coretemp module specified

2) lm_sensors ship a file that isn't used anywhere - /etc/sysconfig/lm_sensors

Comment 5 David Kovalsky 2010-07-08 13:54:41 UTC

# configuration for harware sensors monitoring daemon
# in intevrals use suffix "m" for minutes, "s" for seconds, "h" for hours
# 0 means turning facility off

# interval between scanning alarms

# interval between logging

# interval between RRD logging

# RRD db location
# RRD_LOGFILE=/var/log/sensors.rrd

Comment 6 David Kovalsky 2010-07-08 14:01:00 UTC
If it makes a difference, I ran sensors-detect before installing lm_sensors-sensord.

Issues mentioned above don't seem to be limited only to Core i7, raising priority.

Comment 7 Nikola Pajkovsky 2010-07-21 15:36:36 UTC
Created attachment 433450 [details]
proposed patch

Damn, I forgot add a few lines into init script.

Comment 8 Nikola Pajkovsky 2010-08-12 08:24:11 UTC

*** This bug has been marked as a duplicate of bug 616760 ***

Note You need to log in before you can comment on or make changes to this bug.