The UEFI boot path's limitations, in full
An appendix to notes/x86-uefi-boot.md, whose BUGS section keeps the short list. This is every entry as it was written, sentence-split for the prose limits.
- The bench procedure's firmware steps are now checked against the machine; the rest of it is still
one run old. The old entry here said every firmware-menu path, key and setting name came from the
7050's documented behavior rather than from this machine. It said the first person to follow it
should expect one of them to be worded differently on the screen. That prediction was right, once:
step 3's "Serial port: enabled" is a single five-way radio with no enable, and picking
COM1is the whole of it. Steps 1, 2 and 4 were correct as written.notes/xenon-firmware.mdis the full transcription, and is what a bench session should read instead of guessing. What is not retired: the F2 and F12 keys, the\EFI\BOOT\BOOTX64.EFIfallback and the triage table are still from one successful run and Dell's documentation, not from repeated use. - The kernel is placed at one address chosen at link time, and 32 MiB is not a guarantee. It clears
every low reservation OVMF makes and nothing more; a firmware that wants that range refuses the
boot. The image is not physically relocatable, and making it so is a milestone rather than a
constant.
.bootis linked at its physical address, because a 32-bit instruction stream cannot name a 64-bit one. Its absolute self-references are what would have to become position-independent. - The bench procedure still boots one core, unlike the runner. Nothing stops two, and two work under OVMF; the procedure is written for a first bring-up where every variable costs.
- The suite under firmware runs at one core. So nothing exercises AP bring-up under UEFI and the
scheduler's cross-core tests together. That is
ap_boot's open two-core defect rather than anything about firmware, and it is the PVH runner's situation too. - Nothing verifies what the loader hands over. The kernel and the archive are bytes the loader was
compiled with, so the trust boundary is the build.
measured_boot's manifest is not consulted, and the image is not signed. That is also why Secure Boot has to be off. - A stale
.efion a stick is silent when the stick was made by hand. The loader embeds the kernel, so a stick that was written last week boots last week's kernel with nothing to say so.cargo xtask uefi-imagerebuilds both every time, which moves the hazard to the copy step rather than removing it. A stick written bystick_makercarriesNIFE.TXTwith the build and each file's digest (notes/boot-stick.md), which makes it checkable, not fresh. uefi-testcan go red after its own suite has passed, and the message around it points at the wrong cause. The sixth stranger run of milestone 117 (the stranger test) (2026-09-19, on the dev Mac, two other lanes gating beside it) saw the kernel suite under OVMF printtest result: ok. 215 passed, 71 skipped. Then it printeduefi-test: qemu exited Some(1), not 3, soscript/testfailed at its last step. The lines QEMU printed just before it,vtd_iova_to_sspte: detected sspte permission errorandvtd_iommu_translate: detected translation failure, read as the cause and are not. They are the deliberate DMA-escape tests' faults. A clean re-run ofcargo xtask uefi-testan hour later, on the same machine and the same Homebrew QEMU 11.1.1, printed the same two lines and passed. The stranger concluded the QEMU version was to blame, which that re-run does not support. That the two lines are expected is written in the block of milestone 215 (a PCI function's interrupt reaches nothing on x86_64), and nowhere a reader meets the failure. What made QEMU exit 1 rather than 3 is unmeasured: one red in two runs is a rate nobody has taken yet.
The loader binary's BUGS, in full
uefi_loader/src/main.rs keeps one line per entry. The full accounts:
- Secure Boot must be off. The image is unsigned, and by calef's ruling on milestone 500 (a stick
that boots with Secure Boot on, or a page that says how to turn it off) nothing signs it. A
stranger turns Secure Boot off by
notes/turning-secure-boot-off.md. Under QEMU it is the difference betweenedk2-x86_64-code.fdandedk2-x86_64-secure-code.fd. - The kernel is embedded rather than loaded from the filesystem. That is one file on the stick
instead of three, and no
SimpleFileSystemprotocol to speak, at the cost of rebuilding the loader whenever the kernel changes.cargo xtask uefi-imageandcargo xtask stickdo both in one command, and the stick carries aNIFE.TXTnaming its build. A stale file is no longer silent; it is still stale. - Nothing validates the UEFI tables' header CRCs. The firmware is the trust root at this point in boot, and there is nothing to check it against that is not also the firmware.
- Nothing verifies what the loader hands over at boot.
build.rsdoes refuse to embed an archive the kernel does not vouch for, which is the one check that matters at build time. - The
hvm_start_infocommand line carries only what the loader decided. Nothing reads a configuration file off the stick.handoff::cmdlinewrites up to four words, andCMDLINE_LENadds them up: the screen (milestone 243 (a machine with no serial port)), the boot slot key and digit,boot_slot::medium::NVME, andSCREEN_HOLDunder thescreen_holdfeature. loader-design.md has each word's contract. - The screen is taken as the firmware left it. On aarch64 and riscv64 it is not handed over at all: those kernels learn about a display from the device tree, and the firmware's GOP framebuffer is not in it.
- AP bring-up under UEFI is proved on OVMF and nowhere else (milestone 195 (finish the UEFI boot
path));
uefi_loader/src/arch/x86_64has the detail. - A
PixelBitMaskorPixelBltOnlyadapter gets no screen onx86_64. APixelBltOnlyadapter has no linear framebuffer, only a boot-servicesBltcall that is gone by the time the kernel runs. APixelBitMaskadapter describes its channels by masksmachine_discovery::framebuffercannot express. The loader says so before it hands over.