-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
bug 🐛Programming errors, that need preferential fixingProgramming errors, that need preferential fixingsd-boot/sd-stub/bootctl
Milestone
Description
systemd version the issue has been seen with
256.7
Used distribution
NixOS 24.11 (unstable)
Linux kernel version used
6.11.2-asahi
CPU architectures issue was seen on
aarch64
Component
systemd-boot
Expected behaviour you didn't see
The system should boot
Unexpected behaviour you saw
The system doesn't boot, with the following error:
systemd-boot: Assertion 'BS->AllocatePages(type, memory_type, n_pages, &addr) == EFI_SUCCESS' failed at ../src/boot/efi/util.h:77@xmalloc_pages, halting.
Steps to reproduce the problem
- Have a working systemd-boot installation, for example 255.9 or prior versions
- Update systemd-boot to be version 256.7
- Reboot
Additional program output to the terminal or log subsystem illustrating the issue
Output of `bootctl` after rewriting BOOTAA64.efi with 255.9 (systemd-bootaa64.efi still 256.7):
System:
Firmware: UEFI 2.100 (Das U-Boot 8228.1792)
Firmware Arch: aa64
Secure Boot: disabled (setup)
TPM2 Support: no
Measured UKI: no
Boot into FW: not supported
Current Boot Loader:
Product: systemd-boot 255.9
Features: ✓ Boot counting
✓ Menu timeout control
✓ One-shot menu timeout control
✓ Default entry control
✓ One-shot entry control
✓ Support for XBOOTLDR partition
✓ Support for passing random seed to OS
✓ Load drop-in drivers
✓ Support Type #1 sort-key field
✓ Support @saved pseudo-entry
✓ Support Type #1 devicetree field
✓ Enroll SecureBoot keys
✓ Retain SHIM protocols
✓ Menu can be disabled
✓ Boot loader sets ESP information
ESP: /dev/disk/by-partuuid/05f0b715-554d-4882-91f6-16ee7cfee9f4
File: └─//EFI/BOOT/BOOTAA64.EFI
Random Seed:
System Token: not set
Exists: yes
Available Boot Loaders on ESP:
ESP: /efi (/dev/disk/by-partuuid/05f0b715-554d-4882-91f6-16ee7cfee9f4)
File: ├─/EFI/systemd/systemd-bootaa64.efi (systemd-boot 256.7)
└─/EFI/BOOT/BOOTAA64.EFI (systemd-boot 255.9)
No boot loaders listed in EFI Variables.
Boot Loader Entries:
$BOOT: /efi (/dev/disk/by-partuuid/05f0b715-554d-4882-91f6-16ee7cfee9f4)
token: nixos
Default Boot Loader Entry:
type: Boot Loader Specification Type #1 (.conf)
title: NixOS (Generation 142 NixOS Vicuna 24.11.20241104.fabad7a (Linux 6.11.2-asahi), built on 2024-11-05)
id: nixos-generation-142.conf
source: /efi//loader/entries/nixos-generation-142.conf
sort-key: nixos
version: Generation 142 NixOS Vicuna 24.11.20241104.fabad7a (Linux 6.11.2-asahi), built on 2024-11-05
machine-id: 2b6bce95b72c4da795466c43c4968a8e
linux: /efi//EFI/nixos/pcizc9skw890fbgmkqbqhmwrvlcq1wy0-linux-6.11.2-asahi-Image.efi
initrd: /efi//EFI/nixos/vj368yqjrif9pbmf3506fcslgmbw2l7l-initrd-linux-6.11.2-asahi-initrd.efi
options: init=/nix/store/gd48fq33xdzg9j265r4rfrcfxql2an4x-nixos-system-pluto-24.11.20241104.fabad7a/init boot.shell_on_fail nvme_apple.flush_interval=0 quiet loglevel=4 sys>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug 🐛Programming errors, that need preferential fixingProgramming errors, that need preferential fixingsd-boot/sd-stub/bootctl