Hello Heinrich, Here's my setup:
Hardware: HiFive Premier P550 OS: Ubuntu 24.04.3 LTS Kernel: Linux 6.6.77-2-premier (SiFive official image, from https://github.com/sifiveinc/hifive-premier-p550-ubuntu) QEMU Startup command: qemu-system-riscv64 -smp 4 \ -M virt,acpi=off,pflash0=pflash0,pflash1=pflash1 \ -enable-kvm -m 4096 \ -nographic \ -blockdev node-name=pflash0,driver=file,read-only=on,filename=RISCV_VIRT_CODE.fd \ -blockdev node-name=pflash1,driver=file,filename=RISCV_VIRT_VARS.fd \ -drive if=none,file="$(ls *.qcow2)",format=qcow2,id=hd0 -device virtio-blk-device,drive=hd0 EDK2: 2024.02-2ubuntu0.4 If I start QEMU with a virtual hard disk, EDK2 crashes, but it doesn't when only using pflash. Additionally, if the first boot only uses pflash and the second boot includes the virtual hard disk, there is no problem; but when I copy the .fd file again from /usr/share/qemu-efi-riscv64 and start EDK2 with the hard disk, it crashes (so the issue might be related to RISCV_VIRT_VARS.fd). Oh, by manually typing boot command in EFI shell, I found out that it's EDK2 crashes when loading grub2. Please let me know if you need any additional details. Best regards Mahno -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2077731 Title: [SRU] riscv64 EDK 2 crashes in KVM based emulation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/2077731/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
