Unraid 6.9.0-rc1 - CPU TEMP NCT6687 Linux Driver Support


Recommended Posts

I recently switched from an intel based system to an Ryzen 5950x on an MSI motherboard and discovered that dynamix system temp plugin does not detect cpu temp due to not having the correct driver in the linux kernel.

The driver in question is the NCT6687 driver and it was recently added to the latest linux NEXT kernel in hwmon 6683 driver

 

https://www.reddit.com/r/linuxhardware/comments/kahmb1/nct_6687_support_added_to_linux_kernel/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

 

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/hwmon?h=next-20201215

 

Noting that unraid 6.9.0-rc1 is running kernel 5.9.13 and that 5.9.14 also doesn’t contain the updated driver package, is there a way for me to install this driver package?

 

TIA

Link to comment
11 hours ago, Bolagnaise said:

Much appreciated. Have a great day/night. 

I've tried something now but no garantuee that it works...

 

Open up the Unraid terminal and copy paste this:

cd /tmp
wget https://fastdl.minenet.at/nct-1.txz
installpkg nct-1.txz
depmod -a
modprobe nct6687

 

The package is based on this source (slightly modified to easily create a Slackware package).

 

EDIT: I forgot to say this package will only work on Unraid 6.9.0 RC1 !!!

  • Thanks 2
Link to comment
1 hour ago, ich777 said:

I've tried something now but no garantuee that it works...

 

Open up the Unraid terminal and copy paste this:


cd /tmp
wget https://fastdl.minenet.at/nct-1.txz
installpkg nct-1.txz
depmod -a
modprobe nct6687

 

The package is based on this source (slightly modified to easily create a Slackware package).

 

EDIT: I forgot to say this package will only work on Unraid 6.9.0 RC1 !!!

Your an actual god. It worked, thank you so much!

Edited by Bolagnaise
Link to comment
18 minutes ago, Bolagnaise said:

Thanks very much mate, really appreciate the help. Please consider setting up a donate link on your signature:)

Search in the CA App for my username and the click in my username on a Docker and you will see the Donate button.

In the Unraid-Kernel-Helper thread should be also a link I think. :D

Link to comment
48 minutes ago, UNOPARATOR said:

v6.9-rc2 can show the CPU temp without anything special, @ich777 what does your .txz package solve for RC2?

I tried the above script - changing the url for RC2 - but modprobe line gives an error:

Oh nice didn't know that since I don't got such hardware. ;)

 

As I mentioned above you have to change the link and also the filename is now different where you install tge package. ;)

 

EDIT: Then this is depricated and I will not build it for further versions of Unraid.

Link to comment

First of all, as I mentioned in my previous post, I did change the url to your RC2 .txz link, ran all lines one by one in unRAID Terminal, but the last line gave an error. Should I change anything in System Temps before trying?

 

Secondly, RC2 only shows the CPU temp but no MB temp or fans. Did your workaround offer those values?

I know you don't own such hardware but who would know what your package does other than yourself, right? ;) (maybe @Bolagnaise does, since your RC1 package worked for him.)

Link to comment
1 minute ago, UNOPARATOR said:

First of all, as I mentioned in my previous post, I did change the url to your RC2 .txz link, ran all lines one by one in unRAID Terminal, but the last line gave an error. Should I change anything in System Temps before trying?

 

Secondly, RC2 only shows the CPU temp but no MB temp or fans. Did your workaround offer those values?

I know you don't own such hardware but who would know what your package does other than yourself, right? ;) (maybe @Bolagnaise does, since your RC1 package worked for him.)

what motherboard do you own?

 

Link to comment
30 minutes ago, UNOPARATOR said:

I know you don't own such hardware but who would know what your package does other than yourself, right? ;)

As I mentioned above this is not my work, I only compiled it and made a package for Unraid so that it installs correctly and is user friendly, please look at the Github repo from above that I've linked.

From my understanding this is only the Kernel Module for NCT6687 so that the temps and fans are recognized and also that you can control the fans also please note that with different implementations from different manifacturers not everything can/will work correctly.

 

1 hour ago, UNOPARATOR said:

modprobe: ERROR: could not insert 'nct6687': No such device

If it gives you this error than something went wrong at the installation of the package and/or depmod.

 

EDIT: @Bolagnaise is this needed for RC2? Should I build it for upcoming versions of Unraid?

  • Thanks 1
Link to comment

3 minutes ago, UNOPARATOR said:

Supposedly by, the github repo owner tested this with a B550 MB.

Since I'm not a linux expert, I don't know why the procedure gave an error. :( 

Can you try it once more and give me the output of every command?

 

  1. cd /tmp
  2. wget https://github.com/ich777/unraid-plugins-repo/releases/download/5.10.1-Unraid/nct6687d-1.txz
  3. installpkg nct6687d-1.txz
  4. depmod -a
  5. modprobe nct6687
Link to comment
2 minutes ago, ich777 said:

 

Can you try it once more and give me the output of every command?

 

  1. cd /tmp
  2. wget https://github.com/ich777/unraid-plugins-repo/releases/download/5.10.1-Unraid/nct6687d-1.txz
  3. installpkg nct6687d-1.txz
  4. depmod -a
  5. modprobe nct6687
Quote

root@UNONAS:~# cd /tmp
root@UNONAS:/tmp# wget https://github.com/ich777/unraid-plugins-repo/releases/download/5.10.1-Unraid/nct6687d-1.txz
--2020-12-20 14:03:25-- https://github.com/ich777/unraid-plugins-repo/releases/download/5.10.1-Unraid/nct6687d-1.txz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/307910727/6c47ef00-41e2-11eb-898f-bae39626833e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201220%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201220T110328Z&X-Amz-Expires=300&X-Amz-Signature=409f9f1cb55662ea01030f337a3286ca147754be3d38f81b746365324992c125&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=307910727&response-content-disposition=attachment%3B filename%3Dnct6687d-1.txz&response-content-type=application%2Foctet-stream [following]
--2020-12-20 14:03:28-- https://github-production-release-asset-2e65be.s3.amazonaws.com/307910727/6c47ef00-41e2-11eb-898f-bae39626833e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201220%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201220T110328Z&X-Amz-Expires=300&X-Amz-Signature=409f9f1cb55662ea01030f337a3286ca147754be3d38f81b746365324992c125&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=307910727&response-content-disposition=attachment%3B filename%3Dnct6687d-1.txz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.78.84
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.78.84|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5900 (5.8K) [application/octet-stream]
Saving to: ‘nct6687d-1.txz.1’

nct6687d-1.txz.1               100%[====================================================>]   5.76K  --.-KB/s    in 0s      

2020-12-20 14:03:32 (24.5 MB/s) - ‘nct6687d-1.txz.1’ saved [5900/5900]

root@UNONAS:/tmp# installpkg nct6687d-1.txz
Verifying package nct6687d-1.txz.
Installing package nct6687d-1.txz:
PACKAGE DESCRIPTION:
Package nct6687d-1.txz installed.
root@UNONAS:/tmp# depmod -a
root@UNONAS:/tmp# modprobe nct6687
modprobe: ERROR: could not insert 'nct6687': No such device
root@UNONAS:/tmp#

 

Edited by UNOPARATOR
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.