On Mon, 30 Nov 2015 19:17:17 +0000, Alain Kalker wrote:

> Booting a debug build of OVMF on QEMU, with PcdShadowPeimOnS3Boot and
> PcdShadowPeimOnBoot set to FALSE, i'm hitting the following assertion:
> 
> --[last lines of debug output]--
> DXE IPL Entry
> 
> ASSERT_EFI_ERROR (Status = Invalid Parameter)
> ASSERT /home/miki/vcs/git/edk2/MdeModulePkg/Core/Pei/Image/Image.c(603):
> !
> EFI_ERROR (Status)
> --[end]--
> 
> This is on Arch Linux (x86_64), package versions: qemu 2.4.1-1, gdb
> 7.10-4.1 .

Full output from QEMU boot:

$ qemu-system-x86_64 -monitor none -serial none -chardev 
stdio,id=biosdebug -device isa-debugcon,iobase=0x402,chardev=biosdebug -
bios Build/OvmfX64/DEBUG_GCC49/FV/OVMF.fd
SecCoreStartupWithStack(0xFFFCC000, 0x818000)

Register PPI Notify: DCD0BE23-9586-40F4-B643-06522CED4EDE

Install PPI: 8C8CE578-8A3D-4F1C-9935-896185C32DD3

Install PPI: 5473C07A-3DCB-4DCA-BD6F-1E9689E7349A

The 0th FV start address is 0x00000820000, size is 0x000E0000, handle is 
0x820000

Register PPI Notify: 49EDB1C1-BF21-4761-BB12-EB0031AABB39

Register PPI Notify: EA7CA24B-DED5-4DAD-A389-BF827E8F9B38

Install PPI: B9E0ABFE-5979-4914-977F-6DEE78C278A6

Install PPI: DBE23AA9-A345-4B97-85B6-B226F1617389

Loading PEIM at 0x00000839BC0 EntryPoint=0x00000839E00 PcdPeim.efi

Install PPI: 06E81C58-4AD7-44BC-8390-F10265F72480

Install PPI: 01F34D25-4DE2-23AD-3FF3-36353FF323F1

Install PPI: 4D8B155B-C059-4C8F-8926-06FD4331DB8A

Install PPI: A60C6B59-E459-425D-9C69-0BCC9CB27D81

Loading PEIM at 0x00000843640 EntryPoint=0x00000843880 StatusCodePei.efi

Install PPI: 229832D3-7A30-4B36-B827-F40CB7D45436

Loading PEIM at 0x000008492C0 EntryPoint=0x00000849500 PlatformPei.efi

Select Item: 0x0

FW CFG Signature: 0x554D4551

Select Item: 0x1

FW CFG Revision: 0x1

QemuFwCfg interface is supported.

Platform PEIM Loaded

CMOS:

00: 05 00 50 00 15 00 02 30 11 15 26 02 00 80 00 00

10: 40 00 00 00 07 80 02 FF FF 00 00 00 00 00 00 00

20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

30: FF FF 20 00 00 07 00 20 30 00 00 00 00 12 00 00

40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Select Item: 0x19

Select Item: 0x25

S3 support was detected on QEMU

Install PPI: 7408D748-FC8C-4EE6-9288-C4BEC092A410

PublishPeiMemory: mPhysMemAddressWidth=36 PeiMemoryCap=65800 KB

PeiInstallPeiMemory MemoryBegin 0x3FBE000, MemoryLength 0x4042000

QemuInitializeRam called

Allocated Memory unaligned: Address = 0x7FD0000, Pages = 0x30, Type = 6 

After aligning to 0x10000 bytes: Address = 0x7FD0000, Pages = 0x20 

Updated aligned-mem HOB with BaseAddress = 7FD0000, Length = 20000, 
MemoryType = 6 

Created after-mem HOB with BaseAddress = 7FF0000, Length = 10000, 
MemoryType = 7 

Reserved variable store memory: 0x7FD0000; size: 128kb

Platform PEI Firmware Volume Initialization

Install PPI: 49EDB1C1-BF21-4761-BB12-EB0031AABB39

Notify: PPI Guid: 49EDB1C1-BF21-4761-BB12-EB0031AABB39, Peim notify entry 
point: 82491A

The 1th FV start address is 0x00000900000, size is 0x00900000, handle is 
0x900000

Select Item: 0x19

Select Item: 0x19

Temp Stack : BaseAddress=0x814000 Length=0x4000

Temp Heap  : BaseAddress=0x810000 Length=0x19E0

Total temporary memory:    32768 bytes.

  temporary memory stack ever used: 16384 bytes.

  temporary memory heap used:       6624 bytes.

Old Stack size 16384, New stack size 131072

Stack Hob: BaseAddress=0x3FBE000 Length=0x20000

Heap Offset = 0x37CE000 Stack Offset = 0x37C6000

TemporaryRamMigration(0x810000, 0x3FDA000, 0x8000)

Reinstall PPI: 8C8CE578-8A3D-4F1C-9935-896185C32DD3

Reinstall PPI: 5473C07A-3DCB-4DCA-BD6F-1E9689E7349A

Reinstall PPI: B9E0ABFE-5979-4914-977F-6DEE78C278A6

Install PPI: F894643D-C449-42D1-8EA8-85BDD8C65BDE

Loading PEIM at 0x00000856F00 EntryPoint=0x00000857140 DxeIpl.efi

Loading PEIM at 0x00007FC5000 EntryPoint=0x00007FC5240 DxeIpl.efi

Install PPI: 0AE8CE5D-E448-4437-A8D7-EBF5F194F731

Install PPI: 1A36E4E7-FAB6-476A-8E75-695A0576FDD7

Loading PEIM at 0x00000861140 EntryPoint=0x00000861380 S3Resume2Pei.efi

Install PPI: 6D582DBC-DB85-4514-8FCC-5ADF6227B147

DXE IPL Entry



ASSERT_EFI_ERROR (Status = Invalid Parameter)

ASSERT /home/****/vcs/git/edk2/MdeModulePkg/Core/Pei/Image/Image.c(603): !
EFI_ERROR (Status)

qemu: terminating on signal 2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to