Public bug reported:

On resolute, when running a UC26 image with qemu, an emulated TPM and
OVMF_CODE_4M.secboot.fd, ovmf crashes:

!!!! X64 Exception Type - 0E(#PF - Page-Fault)  CPU Apic ID - 00000000 !!!!
ExceptionData - 0000000000000003  I:0 R:0 U:0 W:1 P:1 PK:0 SS:0 SGX:0
RIP  - 0000000077907F05, CS  - 0000000000000038, RFLAGS - 0000000000210293
RAX  - 000000000000000A, RCX - 0000000068529C60, RDX - 0000000000000C60
RBX  - 000000006852D08C, RSP - 000000007BF7A110, RBP - 000000007BF7A160
RSI  - 000000007948E741, RDI - 0000000077ADDFE0
R8   - 000000000000000A, R9  - 000000006852D00A, R10 - 000000006852D000
R11  - 0000000000000000, R12 - FFFFFFFF1A57D000, R13 - 000000006850D000
R14  - 000000006852D08C, R15 - 0000000077909008
DS   - 0000000000000030, ES  - 0000000000000030, FS  - 0000000000000030
GS   - 0000000000000030, SS  - 0000000000000030
CR0  - 0000000080010033, CR2 - 0000000068529C60, CR3 - 000000007B801000
CR4  - 0000000000000668, CR8 - 0000000000000000
DR0  - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000
DR3  - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400
GDTR - 000000007B5DD000 0000000000000057, LDTR - 0000000000000000
IDTR - 000000007AEB3018 0000000000000FFF,   TR - 0000000000000048
FXSAVE_STATE - 000000007B5DC460
!!!! Find image based on IP(0x77907F05) (No PDB)  (ImageBase=00000000777766C0, 
EntryPoint=00000000777996C0) !!!!

Full command is:

/usr/bin/qemu-system-x86_64 -smp 4 -m 4096 -d cpu_reset -D /tmp/work-
dir/qemu.log -machine q35 -global ICH9-LPC.disable_s3=1 -nographic -net
nic,model=virtio -net user,hostfwd=tcp::8022-:22 -drive
file=/usr/share/OVMF/OVMF_CODE_4M.ms.fd,if=pflash,format=raw,unit=0,readonly=on
-drive file=/tmp/work-dir/image/OVMF_VARS_4M.fd,if=pflash,format=raw
-chardev socket,id=chrtpm,path=/var/snap/test-snapd-swtpm/current/swtpm-
sock -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0
-object rng-random,id=rng0,filename=/dev/urandom -device virtio-rng-
pci,rng=rng0 -drive file=/tmp/work-dir/ubuntu-
core-26.img,cache=none,format=raw,id=disk1,if=none -device virtio-blk-
pci,drive=disk1,bootindex=1 -chardev
socket,telnet=on,host=localhost,server=on,port=7777,wait=off,id=char0,logfile=/tmp/work-
dir/serial.log,logappend=on -serial chardev:char0 -monitor
tcp:127.0.0.1:8888,server,nowait

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

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

Title:
  ovmf crashes when used with qemu and an emulated TPM

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


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

Reply via email to