Hi,
I have a ASUS motherboard and run the PVE, and I want to use lm-sensors to monitor hard driver status.
But the ASUS chip driver nct6775 has a bug in pve7, so I must compile it by myself. Refer here: https://bugzilla.kernel.org/show_bug.cgi?id=204807
To compile the nct6775, I need use a patch file to the standard kernel source code.
And now, I don't know how to compile kernel module in pve, I can't get a standard kernel source to use the patch file.
Please help me, maybe someone can describe the relevant method?
pve version: 7.0-10
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
kernel version:
5.11.22-2-pve #1 SMP PVE 5.11.22-3 (Sun, 11 Jul 2021 13:45:15 +0200) x86_64 GNU/Linux
I have a ASUS motherboard and run the PVE, and I want to use lm-sensors to monitor hard driver status.
But the ASUS chip driver nct6775 has a bug in pve7, so I must compile it by myself. Refer here: https://bugzilla.kernel.org/show_bug.cgi?id=204807
To compile the nct6775, I need use a patch file to the standard kernel source code.
And now, I don't know how to compile kernel module in pve, I can't get a standard kernel source to use the patch file.
Please help me, maybe someone can describe the relevant method?
pve version: 7.0-10
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
kernel version:
5.11.22-2-pve #1 SMP PVE 5.11.22-3 (Sun, 11 Jul 2021 13:45:15 +0200) x86_64 GNU/Linux