Your message dated Wed, 16 Apr 2025 22:39:21 +0000
with message-id <e1u5bpd-00fryv...@fasolo.debian.org>
and subject line Bug#1101152: fixed in edk2 2025.02-7
has caused the Debian Bug report #1101152,
regarding qemu-efi-aarch64: unable to boot arm64 kernel
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1101152: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101152
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: qemu-efi-aarch64
Version: 2025.02-4
Severity: important
X-Debbugs-Cc: debian-...@lists.debian.org, noisyc...@tutanota.com
User: debian-...@lists.debian.org
Usertags: arm64
Dear Maintainer,
You were right in #1099500, my bug has nothing to do with ovmf. After further
digging I found out the underlying cause of my issue is qemu-system-aarch64
being unable to directly boot a Debian kernel with the qemu-efi-aarch64 2025.02
firmware (tested with 2025.02-3, but 2025.02-4 mostly introduces doc changes so
I'm flagging the latter). What does not work for me is the following:
```
dd if=/usr/share/qemu-efi-aarch64/QEMU_EFI.fd of=vars.fd conv=notrunc
truncate -s 64m vars.fd
qemu-system-aarch64 -enable-kvm -machine virt -cpu host -m 512 -drive
if=pflash,format=raw,file=/usr/share/AAVMF/AAVMF_CODE.fd,readonly -drive
if=pflash,format=raw,file=vars.fd -kernel kernel -serial stdio
```
Here the `kernel` file passed as argument to the `-kernel` option is the arm64
kernel binary currently in experimental, obtained by downloading and unpacking
linux-image-6.13-arm64 (but I also tested linux-image-6.12.19-arm64). The
console just remains stuck at the EDK II shell:
```
UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (Debian distribution of EDK II, 0x00010000)
map: No mapping found.
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell>
```
Version 2024.11-5, by converse, is able to boot the kernel using the command
line above. Moreover, qemu-system-aarch64 is able to boot the kernel without
the qemu-efi-aarch64 firmware (i.e. by removing the two pflash drives above).
In both cases the kernel obviously panics immediately in the absence of a root,
but kernel logs start showing nonetheless.
For context, I came across this while using libguestfs. I am running a test
suite
which uses ruby-guestfs to set up some disks in a VM before actually booting it,
and tracing the commands it's using under the hood lead me to the minimal
reproducer above. On the other hand (despite my claim in Bug#1099500), booting
an image with arm64 unsigned grub on the removable path does seem to work.
Previously I had not realized the boot failure happened during the preparatory
phases of testing driven by libguestfs.
Cheers!
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)
Kernel: Linux 6.13.7-asahi (SMP w/8 CPU threads)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
qemu-efi-aarch64 depends on no packages.
qemu-efi-aarch64 recommends no packages.
Versions of packages qemu-efi-aarch64 suggests:
ii qemu-system-arm 1:9.2.2+ds-1+b1
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: edk2
Source-Version: 2025.02-7
Done: dann frazier <da...@debian.org>
We believe that the bug you reported is fixed in the latest version of
edk2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1101...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
dann frazier <da...@debian.org> (supplier of updated edk2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 16 Apr 2025 08:42:58 -0600
Source: edk2
Architecture: source
Version: 2025.02-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QEMU Team <pkg-qemu-de...@lists.alioth.debian.org>
Changed-By: dann frazier <da...@debian.org>
Closes: 1101152
Changes:
edk2 (2025.02-7) unstable; urgency=medium
.
* qemu-efi-aarch64: Fix regression with QEMU -kernel (Closes: #1101152):
- d/p/0001-OvmfPkg-QemuKernelLoaderFsDxe-fix-allocation-failure.patch
Checksums-Sha1:
43e3d4ffe43da93b09de1db7b28e1dca08eae6c5 2551 edk2_2025.02-7.dsc
7ca56c40f21606d6254fec441e6ff07f3dd4e3d2 48128 edk2_2025.02-7.debian.tar.xz
160b94bde550cb16aa89930fa1bf8fdba0491a18 11757 edk2_2025.02-7_source.buildinfo
Checksums-Sha256:
620ffaac25fe64d2d6b0c8cee29284af827017c52e4e4cbfb7ff108dc7f87602 2551
edk2_2025.02-7.dsc
9c0cab7d4e1bca9511cfa188d89ef15cd474845ec2b1f144f1ce045698dfaad4 48128
edk2_2025.02-7.debian.tar.xz
7255606f91b4933e67e5770cd8df7702b4c2a4a65f00b0306ab7fb85142cf1df 11757
edk2_2025.02-7_source.buildinfo
Files:
bd8aa993102bc3d9e88f75cd197036c5 2551 misc optional edk2_2025.02-7.dsc
fa80220451671c3944dccd07fd413ee0 48128 misc optional
edk2_2025.02-7.debian.tar.xz
c7d4d67767ab9248cf5b0efaaab9b51b 11757 misc optional
edk2_2025.02-7_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iIcEARYKAC8WIQQoGlxLiiPDxHQh9i5UW4ZA9GI6WAUCZ//CExEcZGFubmZAZGVi
aWFuLm9yZwAKCRBUW4ZA9GI6WF2wAQDIrl6cR7GfC0y+6G2noY8WX6zYNMeVMu98
u0Gdds5alAEA8G0U+0Ow15OBOoogX4rAIW06pkK4jHL6FhN5jTTdUQE=
=zi/D
-----END PGP SIGNATURE-----
pgpLfKKAvDxk7.pgp
Description: PGP signature
--- End Message ---