Blacklist k10temp on AMD Zen machines

This commit is contained in:
Erwin Boskma 2024-10-02 12:12:44 +02:00
parent 5a4cde64ac
commit dbc235cdbf
Signed by: erwin
SSH key fingerprint: SHA256:OCinH/khuGY1LA9RG8YLM8GNH6C1DDXBdy3SNE+I5Hw
2 changed files with 13 additions and 4 deletions

View file

@ -133,6 +133,9 @@
"zenpower" "zenpower"
"nf_nat_ftp" "nf_nat_ftp"
]; ];
blacklistedKernelModules = [
"k10temp"
];
kernelParams = [ "amd_pstate.shared_mem=1" ]; kernelParams = [ "amd_pstate.shared_mem=1" ];
extraModulePackages = with config.boot.kernelPackages; [ extraModulePackages = with config.boot.kernelPackages; [
cpupower cpupower

View file

@ -146,7 +146,6 @@
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot = { boot = {
kernelPackages = pkgs.linuxPackages_6_10;
initrd = { initrd = {
availableKernelModules = [ availableKernelModules = [
"nvme" "nvme"
@ -158,15 +157,22 @@
]; ];
kernelModules = [ "dm-snapshot" ]; kernelModules = [ "dm-snapshot" ];
}; };
# NVIDIA driver is broken with Linux 6.11
kernelPackages = pkgs.linuxPackages_6_10;
kernelModules = [ kernelModules = [
"kvm-amd" "kvm-amd"
"apple-mfi-fastcharge" "apple-mfi-fastcharge"
"zenpower" "zenpower"
]; ];
extraModulePackages = with config.boot.kernelPackages; [ blacklistedKernelModules = [
zenpower "k10temp"
cpupower
]; ];
extraModulePackages = with config.boot.kernelPackages; [
cpupower
zenpower
];
loader = { loader = {
systemd-boot = { systemd-boot = {
enable = true; enable = true;