From 1045fa9118b3ba84ac95da04b1f0d28fcbcacb6e Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Wed, 29 Jul 2026 14:57:35 +0300 Subject: [PATCH] build(iso): drop gsp-off from boot menu, fail-safe keeps GPUs functional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bee.nvidia.mode=gsp-off loads the driver with NVreg_EnableGpuFirmware=0 and skips nvidia-uvm/nvidia-modeset, so CUDA (nvbandwidth/dcgm/nccl) can't run — and on Hopper H200 GSP is effectively mandatory anyway, so the mode is dead weight in this test image. Remove it from every boot entry. fail-safe is now bee.nvidia.mode=normal pci=realloc iommu=pt, so the GPUs come up with uvm and the GPU test actually runs under iommu=pt (the point of the entry). All four sources (grub.cfg + live.cfg.in templates, build.sh write_canonical_*) match. The internal GSP auto-fallback in bee-nvidia-load (normal mode, GSP init hangs >90s → retry with EnableGpuFirmware=0, then still load uvm) is left intact — it serves converted SXM->PCIe cards on other test targets and keeps CUDA working, unlike the removed explicit menu mode. Co-Authored-By: Claude Opus 4.8 --- iso/builder/build.sh | 8 ++++---- iso/builder/config/bootloaders/grub-efi/grub.cfg | 4 ++-- iso/builder/config/bootloaders/isolinux/live.cfg.in | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/iso/builder/build.sh b/iso/builder/build.sh index a8243cd..94b4c79 100755 --- a/iso/builder/build.sh +++ b/iso/builder/build.sh @@ -793,8 +793,8 @@ menuentry "EASY-BEE v${version_label} -- no GUI / no X11" { initrd ${initrd} } -menuentry "EASY-BEE v${version_label} -- fail-safe (gsp-off, pci=realloc, iommu=pt)" { - linux ${kernel} ${append_live} nomodeset bee.nvidia.mode=gsp-off pci=realloc iommu=pt net.ifnames=0 biosdevname=0 mitigations=off transparent_hugepage=always numa_balancing=disable pcie_aspm=off intel_idle.max_cstate=1 processor.max_cstate=1 nowatchdog nosoftlockup +menuentry "EASY-BEE v${version_label} -- fail-safe (pci=realloc, iommu=pt)" { + linux ${kernel} ${append_live} nomodeset bee.nvidia.mode=normal pci=realloc iommu=pt net.ifnames=0 biosdevname=0 mitigations=off transparent_hugepage=always numa_balancing=disable pcie_aspm=off intel_idle.max_cstate=1 processor.max_cstate=1 nowatchdog nosoftlockup initrd ${initrd} } @@ -849,10 +849,10 @@ label live-@FLAVOUR@-console append ${append_live} nomodeset bee.gui=off bee.nvidia.mode=normal net.ifnames=0 biosdevname=0 mitigations=off transparent_hugepage=always numa_balancing=disable pcie_aspm=off intel_idle.max_cstate=1 processor.max_cstate=1 nowatchdog nosoftlockup label live-@FLAVOUR@-failsafe - menu label EASY-BEE (^fail-safe: gsp-off, pci=realloc, iommu=pt) + menu label EASY-BEE (^fail-safe: pci=realloc, iommu=pt) linux ${kernel} initrd ${initrd} - append ${append_live} nomodeset bee.nvidia.mode=gsp-off pci=realloc iommu=pt net.ifnames=0 biosdevname=0 mitigations=off transparent_hugepage=always numa_balancing=disable pcie_aspm=off intel_idle.max_cstate=1 processor.max_cstate=1 nowatchdog nosoftlockup + append ${append_live} nomodeset bee.nvidia.mode=normal pci=realloc iommu=pt net.ifnames=0 biosdevname=0 mitigations=off transparent_hugepage=always numa_balancing=disable pcie_aspm=off intel_idle.max_cstate=1 processor.max_cstate=1 nowatchdog nosoftlockup label wipe-disks menu label *** WIPE ALL DISKS (irreversible!) *** diff --git a/iso/builder/config/bootloaders/grub-efi/grub.cfg b/iso/builder/config/bootloaders/grub-efi/grub.cfg index b678aaf..91fb01e 100644 --- a/iso/builder/config/bootloaders/grub-efi/grub.cfg +++ b/iso/builder/config/bootloaders/grub-efi/grub.cfg @@ -15,8 +15,8 @@ menuentry "EASY-BEE v@VERSION@ -- no GUI / no X11" { initrd @INITRD_LIVE@ } -menuentry "EASY-BEE v@VERSION@ -- fail-safe (gsp-off, pci=realloc, iommu=pt)" { - linux @KERNEL_LIVE@ @APPEND_LIVE@ nomodeset bee.nvidia.mode=gsp-off pci=realloc iommu=pt net.ifnames=0 biosdevname=0 mitigations=off transparent_hugepage=always numa_balancing=disable pcie_aspm=off intel_idle.max_cstate=1 processor.max_cstate=1 nowatchdog nosoftlockup +menuentry "EASY-BEE v@VERSION@ -- fail-safe (pci=realloc, iommu=pt)" { + linux @KERNEL_LIVE@ @APPEND_LIVE@ nomodeset bee.nvidia.mode=normal pci=realloc iommu=pt net.ifnames=0 biosdevname=0 mitigations=off transparent_hugepage=always numa_balancing=disable pcie_aspm=off intel_idle.max_cstate=1 processor.max_cstate=1 nowatchdog nosoftlockup initrd @INITRD_LIVE@ } diff --git a/iso/builder/config/bootloaders/isolinux/live.cfg.in b/iso/builder/config/bootloaders/isolinux/live.cfg.in index 6f2c1cc..165258b 100644 --- a/iso/builder/config/bootloaders/isolinux/live.cfg.in +++ b/iso/builder/config/bootloaders/isolinux/live.cfg.in @@ -18,10 +18,10 @@ label live-@FLAVOUR@-console append @APPEND_LIVE@ nomodeset bee.gui=off bee.nvidia.mode=normal net.ifnames=0 biosdevname=0 mitigations=off transparent_hugepage=always numa_balancing=disable pcie_aspm=off intel_idle.max_cstate=1 processor.max_cstate=1 nowatchdog nosoftlockup label live-@FLAVOUR@-failsafe - menu label EASY-BEE (^fail-safe: gsp-off, pci=realloc, iommu=pt) + menu label EASY-BEE (^fail-safe: pci=realloc, iommu=pt) linux @LINUX@ initrd @INITRD@ - append @APPEND_LIVE@ nomodeset bee.nvidia.mode=gsp-off pci=realloc iommu=pt net.ifnames=0 biosdevname=0 mitigations=off transparent_hugepage=always numa_balancing=disable pcie_aspm=off intel_idle.max_cstate=1 processor.max_cstate=1 nowatchdog nosoftlockup + append @APPEND_LIVE@ nomodeset bee.nvidia.mode=normal pci=realloc iommu=pt net.ifnames=0 biosdevname=0 mitigations=off transparent_hugepage=always numa_balancing=disable pcie_aspm=off intel_idle.max_cstate=1 processor.max_cstate=1 nowatchdog nosoftlockup label wipe-disks menu label *** WIPE ALL DISKS (irreversible!) ***