Bug 25186

Summary: Update request: lm_sensors-3.5.0-2.1.mga7
Product: Mageia Reporter: Thomas Backlund <tmb>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: crxssi, mageia, sysadmin-bugs
Version: 7Keywords: advisory, validated_update
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA7-64-OK
Source RPM: lm_sensors CVE:
Status comment:

Description Thomas Backlund 2019-07-27 21:05:22 CEST
Updated to pull in all post 3.5.0 fixes from:
https://github.com/lm-sensors/lm-sensors/commits/master

mostly to detect more Amd cpus, including Ryzen 3000 series.

the kernel side fixes in kernel-5.1.20-2.mga7 as part of bug 25185

I've verified the Ryzen 3000 series part on my Ryzen 3600


SRPMS:
lm_sensors-3.5.0-2.1.mga7.src.rpm

i586:
liblm_sensors5-3.5.0-2.1.mga7.i586.rpm
liblm_sensors-devel-3.5.0-2.1.mga7.i586.rpm
liblm_sensors-static-devel-3.5.0-2.1.mga7.i586.rpm
lm_sensors-3.5.0-2.1.mga7.i586.rpm

x86_64:
lib64lm_sensors5-3.5.0-2.1.mga7.x86_64.rpm
lib64lm_sensors-devel-3.5.0-2.1.mga7.x86_64.rpm
lib64lm_sensors-static-devel-3.5.0-2.1.mga7.x86_64.rpm
lm_sensors-3.5.0-2.1.mga7.x86_64.rpm
Comment 1 PC LX 2019-07-31 12:32:19 CEST
Installed and tested without issues.

Tested sensors:
coretemp-isa-0000
nct6776-isa-0290

No regressions noticed.

Since this update is for Ryzen 3000 series will wait for more relevant tests and not mark it as OK.

System: Mageia 7, x86_64, Intel CPU.

$ uname -a
Linux marte 5.1.18-desktop-1.mga7 #1 SMP Sun Jul 14 10:08:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -qa | grep lm_sensors | sort
lib64lm_sensors5-3.5.0-2.1.mga7
liblm_sensors5-3.5.0-2.1.mga7
lm_sensors-3.5.0-2.1.mga7

CC: (none) => mageia

Comment 2 M D 2019-08-01 13:43:39 CEST
This is great it is being worked on so quickly.  I was just researching it, myself, since I have Mageia 7 with a Ryzen 3700x and X570 chipset, and there are no sensors.

It looks like ultimately there should be at least 9 or 10 sensors, based on a screenshot of "zenpower":

https://www.gamingonlinux.com/forum/topic/3991
https://github.com/ocerman/zenpower

CC: (none) => crxssi

Comment 3 Thomas Backlund 2019-08-03 21:12:37 CEST
Advisory, added to svn:

type: bugfix
subject: Updated lm_sensors packages updates hw support, including AMD Ryzen 3000 series
src:
  7:
   core:
     - lm_sensors-3.5.0-2.1.mga7
description: |
  This update provides additional hw detection support, including the newly
  released Amd Ryzen 3000 series.

  The updates are:
  * Add detection of AMD Family 17h model 30h
  * Add detection of AMD family 17h model 70h
  * Add detection of AMD Family 16h model 30h power sensors
  * Update AMD Family 15h power sensors detection
  * Add Hygon SoC driver detect support to use k10temp driver
  * Add driver for Fintek F75387SG/RG to sensors-detect
  * Adding AVERAGE option to fancontrol
  * sensors: Scale voltage and current values
  * configs: Add ASUS PRIME Z370-A motherboard
  * configs: add Supermicro X7DCL
  * configs: fix Supermicro X7DCL VTT limits
references:
 - https://bugs.mageia.org/show_bug.cgi?id=25186

Whiteboard: (none) => MGA7-64-OK
Keywords: (none) => advisory, validated_update
CC: (none) => sysadmin-bugs

Comment 4 Mageia Robot 2019-08-03 23:20:12 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0076.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 5 M D 2019-08-05 16:50:56 CEST
Installed the updates, ran sensors-detect, even rebooted.  I still only get:
----------
$ sensors
k10temp-pci-00c3
Adapter: PCI adapter
Tdie:         +46.0°C  (high = +70.0°C)
Tctl:         +46.0°C  

asus-isa-0000
Adapter: ISA adapter
cpu_fan:        0 RPM

$ lsmod | grep temp
k10temp                16384  0

$ lsmod | grep nct
nct6775                73728  0
hwmon_vid              16384  1 nct6775

$ uname -a
Linux 5.1.20-desktop-2.mga7 #1 SMP Fri Jul 26 23:04:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

$ rpm -q lm_sensors
lm_sensors-3.5.0-2.1.mga7
---------

Am I doing something wrong?
Comment 6 Thomas Backlund 2019-08-05 17:09:24 CEST
(In reply to M D from comment #5)
> Installed the updates, ran sensors-detect, even rebooted.  I still only get:
> ----------
> $ sensors
> k10temp-pci-00c3
> Adapter: PCI adapter
> Tdie:         +46.0°C  (high = +70.0°C)
> Tctl:         +46.0°C  
> 

This is from the k10temp module we added Ryzen 3000 series support to


> Am I doing something wrong?

Nope.

I assume you are referring to the zenpower stuff showing more info...

we dont have that packaged...
Comment 7 M D 2019-08-05 17:17:47 CEST
(In reply to Thomas Backlund from comment #6)

> I assume you are referring to the zenpower stuff showing more info...
> 
> we dont have that packaged...

Ah, I was confused, thinking there were included kernel modules that would supply additional information.  Thanks