about summary refs log tree commit diff
path: root/machines/devhell
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2021-07-06 09:59:06 +0100
committerdevhell <devhell@mailfresser.de>2021-07-06 09:59:06 +0100
commit283748723ff96cb405e6a8dce2d688d73acb0ae4 (patch)
treea38d1e08fd9fe5498308ad3ac04e9a5771487a47 /machines/devhell
parent0601360c183a064732bcaa4d0d0a75c6a635bcfb (diff)
machines/{gunnr,eir}: Force `none` scheduler
Without this, the kernel tries to use `mq-deadline` for gunnr. The
invocation for eir was wrong anyway, so this should fix it.
Diffstat (limited to 'machines/devhell')
-rw-r--r--machines/devhell/eir.nix2
-rw-r--r--machines/devhell/gunnr.nix4
2 files changed, 5 insertions, 1 deletions
diff --git a/machines/devhell/eir.nix b/machines/devhell/eir.nix
index cbe391a7..162ba78d 100644
--- a/machines/devhell/eir.nix
+++ b/machines/devhell/eir.nix
@@ -18,7 +18,7 @@
       availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" ];
       kernelModules = [ "fuse" ];
       postDeviceCommands = ''
-        echo noop > /sys/block/sda/queue/scheduler
+        echo none > /sys/block/sda/queue/scheduler
       '';
     };
 
diff --git a/machines/devhell/gunnr.nix b/machines/devhell/gunnr.nix
index 9c482e8f..967ff403 100644
--- a/machines/devhell/gunnr.nix
+++ b/machines/devhell/gunnr.nix
@@ -21,6 +21,10 @@
     initrd = {
       availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
       kernelModules = [ "fuse" "amdgpu" ];
+      postDeviceCommands = ''
+        echo none > /sys/block/sda/queue/scheduler
+        echo none > /sys/block/sdb/queue/scheduler
+      '';
     };
 
     kernelParams = [ "pcie_aspm=off" ];