On Mon, 15 Apr 2019 at 23:02, Gary Lin <g...@suse.com> wrote: > > On Sun, Apr 14, 2019 at 12:52:29PM -0700, Ard Biesheuvel wrote: > > Delete the explicit machine type check for option ROM images, and instead, > > rely on the LoadImage() boot service to decide whether an option ROM can > > be dispatched or not. This permits platforms to ship with emulators to > > execute option ROMs that are not native to the processor architecture. > > > After applying this patch, my OVMF VM failed to boot if e1000 or iPXE > were enabled. It failed with the following message: > > Loading driver at 0x0007E537000 EntryPoint=0x0007E53C06D 8086100e.efi > InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 7F003B98 > ProtectUefiImageCommon - 0x7F002BC0 > - 0x000000007E537000 - 0x000000000009F900 > Image type IA32 can't be started on X64 UEFI system. > ASSERT MdeModulePkg/Core/Dxe/Mem/Pool.c(698): Head->Signature == ((('p') | > ('h' << 8)) | ((('d') | ('0' << 8)) << 16)) || Head->Signature == ((('p') | > ('h' << 8)) | ((('d') | ('1' << 8)) << 16)) > > It seems OVMF was trying to load the IA32 driver and failed. >
Thanks Gary, I am looking into this. It should fail gracefully after failing to start the image, but perhaps we should not attempt to start cross-type images in the first place (which is closer to the previous situation) -- Ard. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#39179): https://edk2.groups.io/g/devel/message/39179 Mute This Topic: https://groups.io/mt/31133142/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-