Bug 623572

Summary: lm_sensors doesn't find/ load coretemp module automatically
Product: [Fedora] Fedora Reporter: David Kovalsky <dkovalsk>
Component: lm_sensorsAssignee: Nikola Pajkovsky <npajkovs>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 13CC: benl, dhoward, hdegoede, npajkovs, ovasik, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: lm_sensors-3.1.2-2.svn5857.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 611144
: 623587 (view as bug list) Environment:
Last Closed: 2010-09-14 04:58:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 611144    
Bug Blocks: 623587    

Description David Kovalsky 2010-08-12 08:04:41 UTC
+++ This bug was initially created as a clone of Bug #611144 +++

Created an attachment (id=429308)
/proc/cpuinfo

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
thinkpad-isa-0000
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)

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

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

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

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

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

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

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

coretemp-isa-0007
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).

HWMON_MODULES="sbs"

# 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=sbs








Adding coretemp to the above file works, so this seems to be only a matter of sensors-detect.

lm_sensors-3.1.2-2.fc13.x86_64
lm_sensors-libs-3.1.2-2.fc13.x86_64
lm_sensors-sensord-3.1.2-2.fc13.x86_64

Comment 1 David Kovalsky 2010-08-12 08:50:54 UTC
Talking to Nikola via IRC, the CPU model 30(0x1e) is not in sensors-detect.

Comment 2 David Kovalsky 2010-08-12 13:56:59 UTC
Adding the value ($probecpu->{model} == 0x1e) into coretemp_detect function of /usr/sbin/sensors-detect did do the trick.

Comment 3 Fedora Update System 2010-09-03 11:52:28 UTC
lm_sensors-3.1.2-2.svn5857.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/lm_sensors-3.1.2-2.svn5857.fc12

Comment 4 Fedora Update System 2010-09-03 11:52:34 UTC
lm_sensors-3.1.2-2.svn5857.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/lm_sensors-3.1.2-2.svn5857.fc13

Comment 5 Fedora Update System 2010-09-03 11:52:39 UTC
lm_sensors-3.1.2-2.svn5857.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/lm_sensors-3.1.2-2.svn5857.fc14

Comment 6 Fedora Update System 2010-09-03 16:42:53 UTC
lm_sensors-3.1.2-2.svn5857.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update lm_sensors'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/lm_sensors-3.1.2-2.svn5857.fc14

Comment 7 Fedora Update System 2010-09-14 04:58:48 UTC
lm_sensors-3.1.2-2.svn5857.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-09-15 05:31:17 UTC
lm_sensors-3.1.2-2.svn5857.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-09-15 05:45:41 UTC
lm_sensors-3.1.2-2.svn5857.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.