Public bug reported:

Running QEMU with the max CPU model causes the AArch64 UEFI firmware to
hang:

qemu-system-aarch64 \
    -machine virt \
    -cpu max \
    -m 2G \
    -smp 2 \
    -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd \
    -nographic

Output:

UEFI firmware (version 2025.11-3ubuntu7.2 built at 14:10:51 on Aug 26
2026)

The firmware hangs at this point.

With -d int enabled for debugging, the following exception is reported
continuously:

Taking exception 3 [Prefetch Abort] on CPU 0
...from EL1 to EL1
...with ESR 0x21/0x86000006
...with FAR 0x5200
...with SPSR 0x23c5
...with ELR 0x5200
...to EL1 PC 0x5200 PSTATE 0x23c5

For comparison, the issue is not observed when using -cpu neoverse-v1 or
other CPU models instead of -cpu max.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: qemu-efi-aarch64 2025.11-3ubuntu7.2
ProcVersionSignature: Ubuntu 7.0.0-31.31-generic 7.0.14
Uname: Linux 7.0.0-31-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Mon Sep 21 15:46:44 2026
InstallationDate: Installed on 2025-07-21 (427 days ago)
InstallationMedia: Ubuntu-Server 25.04 "Plucky Puffin" - Release amd64 
(20250415.2)
PackageArchitecture: all
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/usr/bin/zsh
 TERM=alacritty
 XDG_RUNTIME_DIR=<set>
SourcePackage: edk2
UpgradeStatus: Upgraded to resolute on 2026-04-25 (149 days ago)

** Affects: edk2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167864

Title:
  EDK2 hangs when launched with qemu-system-aarch64 -cpu max

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/2167864/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to