From cab1483a95fc916a01d287b39669023934678d75 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 28 Sep 2015 21:57:54 +0200 Subject: [PATCH] Blacklist the xen_fbfront kernel module This gets rid of a 30 second delay during boot. See e.g https://github.com/coreos/bugs/issues/208. --- nixos/modules/virtualisation/amazon-image.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix index 165109f20b5..bf2364a0459 100644 --- a/nixos/modules/virtualisation/amazon-image.nix +++ b/nixos/modules/virtualisation/amazon-image.nix @@ -26,7 +26,9 @@ let cfg = config.ec2; in # Prevent the nouveau kernel module from being loaded, as it # interferes with the nvidia/nvidia-uvm modules needed for CUDA. - boot.blacklistedKernelModules = [ "nouveau" ]; + # Also blacklist xen_fbfront to prevent a 30 second delay during + # boot. + boot.blacklistedKernelModules = [ "nouveau" "xen_fbfront" ]; # Generate a GRUB menu. Amazon's pv-grub uses this to boot our kernel/initrd. boot.loader.grub.version = if cfg.hvm then 2 else 1;