Public bug reported: This is latest release QEMU-5.2.0 on Arch Linux running kernel 5.10.13, latest OVMF etc.
I'm seeing the following crash when loading an audio driver from the OpenCore[1] project in the UEFI shell: KVM internal error. Suberror: 1 emulation failure RAX=0000000000000000 RBX=0000000000000000 RCX=0000000000000000 RDX=0000000000000000 RSI=0000000000000000 RDI=000000007e423628 RBP=000000007fee6a90 RSP=000000007fee6a08 R8 =0000000000000000 R9 =0000000000000080 R10=0000000000000000 R11=0000000000000000 R12=000000007eeaf828 R13=0000000000000000 R14=0000000000000000 R15=000000007fee6a67 RIP=00000000000b0000 RFL=00000246 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] CS =0038 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] FS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] GS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] LDT=0000 0000000000000000 0000ffff 00008200 DPL=0 LDT TR =0000 0000000000000000 0000ffff 00008b00 DPL=0 TSS64-busy GDT= 000000007f9ee698 00000047 IDT= 000000007f27a018 00000fff CR0=80010033 CR2=0000000000000000 CR3=000000007fc01000 CR4=00000668 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000d00 Code=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <ff> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Here's the QEMU command line I'm using: qemu-system-x86_64 \ -machine q35,accel=kvm \ -cpu host,+topoext,+invtsc \ -smp 4,sockets=1,cores=2 \ -m 4096 \ -drive file=/usr/share/edk2-ovmf/x64/OVMF_CODE.fd,if=pflash,format=raw,readonly=on \ -drive file=OVMF_VARS.fd,if=pflash,format=raw \ -usb -device usb-tablet -device usb-kbd \ -drive file=OpenCore-0.6.6.img,format=raw \ -device ich9-intel-hda,bus=pcie.0,addr=0x1b \ -device hda-micro,audiodev=hda \ -audiodev pa,id=hda,server=/run/user/1000/pulse/native The driver loads fine when using the "no connect" switch. eg: Shell> load -nc fs0:\efi\oc\drivers\audiodxe.efi Shell> Image 'fs0:\EFI\OC\Drivers\AudioDxe.efi' loaded at 7E3C7000 - Success However, the crash occurs when loading normally. Any ideas? Thanks. [1]: https://github.com/acidanthera/OpenCorePkg/releases ** Affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1914986 Title: KVM internal error. Suberror: 1 - OVMF / Audio related Status in QEMU: New Bug description: This is latest release QEMU-5.2.0 on Arch Linux running kernel 5.10.13, latest OVMF etc. I'm seeing the following crash when loading an audio driver from the OpenCore[1] project in the UEFI shell: KVM internal error. Suberror: 1 emulation failure RAX=0000000000000000 RBX=0000000000000000 RCX=0000000000000000 RDX=0000000000000000 RSI=0000000000000000 RDI=000000007e423628 RBP=000000007fee6a90 RSP=000000007fee6a08 R8 =0000000000000000 R9 =0000000000000080 R10=0000000000000000 R11=0000000000000000 R12=000000007eeaf828 R13=0000000000000000 R14=0000000000000000 R15=000000007fee6a67 RIP=00000000000b0000 RFL=00000246 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] CS =0038 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] FS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] GS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] LDT=0000 0000000000000000 0000ffff 00008200 DPL=0 LDT TR =0000 0000000000000000 0000ffff 00008b00 DPL=0 TSS64-busy GDT= 000000007f9ee698 00000047 IDT= 000000007f27a018 00000fff CR0=80010033 CR2=0000000000000000 CR3=000000007fc01000 CR4=00000668 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000d00 Code=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <ff> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Here's the QEMU command line I'm using: qemu-system-x86_64 \ -machine q35,accel=kvm \ -cpu host,+topoext,+invtsc \ -smp 4,sockets=1,cores=2 \ -m 4096 \ -drive file=/usr/share/edk2-ovmf/x64/OVMF_CODE.fd,if=pflash,format=raw,readonly=on \ -drive file=OVMF_VARS.fd,if=pflash,format=raw \ -usb -device usb-tablet -device usb-kbd \ -drive file=OpenCore-0.6.6.img,format=raw \ -device ich9-intel-hda,bus=pcie.0,addr=0x1b \ -device hda-micro,audiodev=hda \ -audiodev pa,id=hda,server=/run/user/1000/pulse/native The driver loads fine when using the "no connect" switch. eg: Shell> load -nc fs0:\efi\oc\drivers\audiodxe.efi Shell> Image 'fs0:\EFI\OC\Drivers\AudioDxe.efi' loaded at 7E3C7000 - Success However, the crash occurs when loading normally. Any ideas? Thanks. [1]: https://github.com/acidanthera/OpenCorePkg/releases To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1914986/+subscriptions