public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* A VM failed to boot when I changed the gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size
@ 2019-01-23 11:40 Wuzongyong (Euler Dept)
  2019-01-23 15:57 ` Laszlo Ersek
  0 siblings, 1 reply; 6+ messages in thread
From: Wuzongyong (Euler Dept) @ 2019-01-23 11:40 UTC (permalink / raw)
  To: edk2-devel@lists.01.org; +Cc: Wanzongshun (Vincent), chenlixin


Hi,

Recently I do a test with edk2 on rhel platform. I resized the gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size value to 1TB for supporting multiple GPUs passthrough which have large bars .
But when I started a VM with a virtio nic and booted from the changed OVMF, it seems the VM failed to boot before loading ipxe. 
The uefi error log is like this:

!!!! X64 Exception Type - 0E(#PF - Page-Fault) CPU Apic ID - 00000000 !!!!
ExceptionData - 000000000000000B I:0 R:1 U:0 W:1 P:1 PK:0 S:0
RIP - 00000000BE4AD7F7, CS - 0000000000000038, RFLAGS - 0000000000010206
RAX - 0000000000000000, RCX - 0000000000000014, RDX - 0000010000000014
RBX - 00000000BE4BEFE0, RSP - 00000000BFEDE6F8, RBP - 00000000BE4BEFF0
RSI - 00000000BE4BEFF0, RDI - 00000000BE4BEFE0
R8 - 0000000000000000, R9 - 0000000000000000, R10 - 0000000000000000
R11 - 00000000BE4BB900, R12 - 00000000BE4BEFD0, R13 - 0000000000000060
R14 - 0000000000000084, R15 - 0000000000000070
DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030
GS - 0000000000000030, SS - 0000000000000030
CR0 - 0000000080010033, CR2 - 0000010000000014, CR3 - 00000000BF6BA000
CR4 - 0000000000000668, CR8 - 0000000000000000
DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000
DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400
GDTR - 00000000BF6A8A98 0000000000000047, LDTR - 0000000000000000
IDTR - 00000000BF29E018 0000000000000FFF, TR - 0000000000000000
FXSAVE_STATE - 00000000BFEDE350
!!!! Find image 1af41000.efidrv (ImageBase=00000000BE499000, EntryPoint=00000000BE49F1EB) !!!!

But when I decrease the PcdPciMmio64Size to 10 * 32 GB, the VM booted successfully.
I'm not familiar with uefi, could you please point out what wrong I have done?

Thanks,
Zongyong Wu



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-24 11:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-23 11:40 A VM failed to boot when I changed the gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size Wuzongyong (Euler Dept)
2019-01-23 15:57 ` Laszlo Ersek
2019-01-24  2:35   ` Wuzongyong (Euler Dept)
2019-01-24  8:21     ` Laszlo Ersek
2019-01-24  9:25       ` Wuzongyong (Euler Dept)
2019-01-24 11:28         ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox