From 849c4fc13ed8e9691214f238e38eda93ce154892 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 15 Nov 2026 21:06:27 +0000 Subject: silence probing of devices Firecracker doesn't have 8250.nr_uarts=1 stops probing of the legacy ports of ttyS1..ttyS3. --- default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index c061c16..5e250fd 100644 --- a/default.nix +++ b/default.nix @@ -12,7 +12,10 @@ let boot.loader.grub.enable = false; boot.kernelPackages = kernelPackages; boot.initrd.kernelModules = [ "virtio_mmio" "virtio_blk" "erofs" ]; - boot.kernelParams = [ "console=ttyS0" "reboot=k" "panic=1" ]; + boot.kernelParams = [ + "console=ttyS0" "reboot=k" "panic=1" + "8250.nr_uarts=1" # only ttyS0 exists (stops 0x2f8/0x3e8/0x2e8 probing) + ]; fileSystems."/" = { fsType = "tmpfs"; -- cgit v1.3.1