4.15 kernel, Threadripper, lm-sensors

Nov 17, 2017
16
0
6
59
I have pve with a 4.15 kernel. I am trying to get lm-sensors to tell me the individual core temperatures for the CPU. It looks like TR family (17h) is not recognised, either by sensors-detect or some other part of my configuration. I had hoped this would "just work" with 4.15, but obviously there's something I not allowing for. Can anyone point me at the obvious please?

Thanks.


root@zen:/sys/devices/platform# uname -a
Linux zen 4.15.17-1-pve #1 SMP PVE 4.15.17-9 (Wed, 9 May 2018 13:31:43 +0200) x86_64 GNU/Linux
root@zen:/sys/devices/platform# sensors -v
sensors version 3.4.0 with libsensors version 3.4.0
root@zen:/sys/devices/platform#




# sensors-detect revision 6284 (2015-05-31 14:00:33 +0200)
# Board: ASRock X399 Taichi
# Kernel: 4.15.17-1-pve x86_64
# Processor: AMD Ryzen Threadripper 1950X 16-Core Processor (23/1/1)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... No
AMD Family 12h and 14h thermal sensors... No
AMD Family 15h thermal sensors... No
AMD Family 16h thermal sensors... No
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
Intel digital thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No
Intel 5500/5520/X58 thermal sensor... No
VIA C7 thermal sensor... No
VIA Nano thermal sensor... No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
 
The it87 driver is something I saw referenced when trying to understand what wasn't working, so it's interesting you reference that. It's clear I need to be running a "suitably" recent version to have Ryzen family recognised. But, lacking much familiarity with all of the conventions behind how kernels are maintained and defined these days, let alone how pve interacts with kernels and distributions, I thought the easiest thing was to "ask on the forums". I can see that one approach might be to make and install the latest it87 drivers, but I can also see this might be asking for problems mixing versions of components. I take your comment to initially mean that I should grab the latest it87 drivers, but your edit to mean that I already have them?
 
The it87 that has the IT8686 chip included needs to be compiled and installed (description on github). It will give you some more sensors from the super I/O chip. Only the cpu temp is available in the v4.15, more support has been added in v4.16 and v4.17 (upcoming). If you want to go with the newest addition, then you need to build the bleeding edge kernel.
 
I have real temperatures and clock frequencies now. Although temps are not per core, it lets me check my confidence in my cooling setup, which is the key thing I wanted to verify. Thank you again for the guidance.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!