asus-wmi-sensors * Threadripper

General support questions
Post Reply
northpoint
Posts: 101
Joined: 2016/05/23 11:57:12

asus-wmi-sensors * Threadripper

Post by northpoint » 2020/09/27 00:36:20

I have been trying to compile the asus-wmi-sensors module for use on a threadripper system running centos7. Everything I have tried so far has lead me down a rabbit hole unfortunately. The system this is going on is only available for short periods of time and is 15 miles away from me. So, I am trying to compile the module on my system first. My test system runs in virtualbox and has the same software specs as the production server.

Why do i need this?

Client is running a Threadripper and pushes it pretty darn hard to compile scientific data. It will crunch data for long periods and crashes. My suspicion is that it is overheating. When compiling its using all available threads to do this and takes a long time. I want to see the temps and possibly run a cron job to send temp data to me while it compiles data.

Code: Select all

Client hardware:

Asus PRIME X399 Series
AMD Threadripper 2990WX 32-Core
128GB DDR4-2400/2666
VIDIA GeForce GTX 1050 Ti 4GB GDDR5
First off, Here is the link to the module on github:

https://github.com/electrified/asus-wmi-sensors

I have Elrepo setup and updated. However, According to the wmi site the module only compiles with kernels 4.19 or better. There appears to be only two kernels available via elrepo - 5.8 MT and 4.4 LT.

Compile error with 4.4LT:

Code: Select all

[coffee@centos asus-wmi-sensors]$ cat /var/lib/dkms/asus-wmi-sensors/d3b68db/build/make.log
DKMS make.log for asus-wmi-sensors-d3b68db for kernel 4.4.237-1.el7.elrepo.x86_64 (x86_64)
Sat Sep 26 10:50:29 EDT 2020
  CC [M]  /var/lib/dkms/asus-wmi-sensors/d3b68db/build/asus-wmi-sensors.o
/var/lib/dkms/asus-wmi-sensors/d3b68db/build/asus-wmi-sensors.c:18:23: fatal error: linux/wmi.h: No such file or directory
 #include <linux/wmi.h>
                       ^
compilation terminated.
make[3]: *** [/var/lib/dkms/asus-wmi-sensors/d3b68db/build/asus-wmi-sensors.o] Error 1
make[2]: *** [_module_/var/lib/dkms/asus-wmi-sensors/d3b68db/build] Error 2
make[1]: *** [modules] Error 2
[coffee@centos asus-wmi-sensors]$ 
Ok, So I think the problem there is that the wmi header is not included in the 4.4 LT kernel. It also complains about outdated GCC and I need to upgrade that. So, I slide down the rabbit hole of dependencies with the 4.4 LT kernel.

I have not tried the 5.8x MT kernel because the last time I tried to install it on the production server I could not install the Nvidia driver for it. Evidently it was too new. I did load the 5.8 kernel in my centos7 in virtualbox but then guest additions would not compile for me.

Looking for options and advice if anyone has the asus-wmi-sensors module working on a threadripper.

Personal comment here ----> I thought I was in heaven with my x1800 and 16 threads. :)
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

User avatar
TrevorH
Forum Moderator
Posts: 29662
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: asus-wmi-sensors * Threadripper

Post by TrevorH » 2020/09/27 01:55:36

The minimum version of 4.19 is 15 versions newer than the 4.4 you tried so it's unsurprising it did not work.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

northpoint
Posts: 101
Joined: 2016/05/23 11:57:12

Re: asus-wmi-sensors * Threadripper

Post by northpoint » 2020/09/27 02:56:17

TrevorH wrote:
2020/09/27 01:55:36
The minimum version of 4.19 is 15 versions newer than the 4.4 you tried so it's unsurprising it did not work.
Yes.
So, Any thoughts on how I might install another kernel that will work with the nvidia driver and where to get it?
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /


northpoint
Posts: 101
Joined: 2016/05/23 11:57:12

Re: asus-wmi-sensors * Threadripper

Post by northpoint » 2020/09/28 02:01:26

Not sure where those changes need to be implemented.

Thank you for replying,
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

Post Reply

Return to “CentOS 7 - General Support”