Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be unavailable on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1342162 - AArch64: AAVMF fails to run without this fix (revert), backport it
Summary: AArch64: AAVMF fails to run without this fix (revert), backport it
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.3
Hardware: aarch64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Andrew Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1173755
TreeView+ depends on / blocked
 
Reported: 2016-06-02 14:53 UTC by Andrew Jones
Modified: 2016-11-10 01:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-02 15:03:42 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Andrew Jones 2016-06-02 14:53:01 UTC
AAVMF fails with messages like the following when running with verbose mode.

NorFlashBlockIsLocked: WARNING: Block LOCKED DOWN
EraseSingleBlock(BlockAddress=0x04000000: VPP Range Error
EraseSingleBlock(BlockAddress=0x04000000: Command Sequence Error
EraseSingleBlock(BlockAddress=0x04000000: Block Erase Error StatusRegister:0xFFFFFFFF
EraseSingleBlock(BlockAddress=0x04000000: Block Locked Error
NorFlashBlockIsLocked: WARNING: Block LOCKED DOWN
EraseSingleBlock(BlockAddress=0x04000000: VPP Range Error
EraseSingleBlock(BlockAddress=0x04000000: Command Sequence Error
EraseSingleBlock(BlockAddress=0x04000000: Block Erase Error StatusRegister:0xFFFFFFFF
EraseSingleBlock(BlockAddress=0x04000000: Block Locked Error
NorFlashBlockIsLocked: WARNING: Block LOCKED DOWN
EraseSingleBlock(BlockAddress=0x04000000: VPP Range Error
EraseSingleBlock(BlockAddress=0x04000000: Command Sequence Error
EraseSingleBlock(BlockAddress=0x04000000: Block Erase Error StatusRegister:0xFFFFFFFF
EraseSingleBlock(BlockAddress=0x04000000: Block Locked Error
NorFlashBlockIsLocked: WARNING: Block LOCKED DOWN
EraseSingleBlock(BlockAddress=0x04000000: VPP Range Error
EraseSingleBlock(BlockAddress=0x04000000: Command Sequence Error
EraseSingleBlock(BlockAddress=0x04000000: Block Erase Error StatusRegister:0xFFFFFFFF
EraseSingleBlock(BlockAddress=0x04000000: Block Locked Error
NorFlashBlockIsLocked: WARNING: Block LOCKED DOWN
EraseSingleBlock(BlockAddress=0x04000000: VPP Range Error
EraseSingleBlock(BlockAddress=0x04000000: Command Sequence Error
EraseSingleBlock(BlockAddress=0x04000000: Block Erase Error StatusRegister:0xFFFFFFFF
EraseSingleBlock(BlockAddress=0x04000000: Block Locked Error
NorFlashBlockIsLocked: WARNING: Block LOCKED DOWN
EraseSingleBlock(BlockAddress=0x04000000: VPP Range Error
EraseSingleBlock(BlockAddress=0x04000000: Command Sequence Error
EraseSingleBlock(BlockAddress=0x04000000: Block Erase Error StatusRegister:0xFFFFFFFF
EraseSingleBlock(BlockAddress=0x04000000: Block Locked Error
NorFlashBlockIsLocked: WARNING: Block LOCKED DOWN
EraseSingleBlock(BlockAddress=0x04000000: VPP Range Error
EraseSingleBlock(BlockAddress=0x04000000: Command Sequence Error
EraseSingleBlock(BlockAddress=0x04000000: Block Erase Error StatusRegister:0xFFFFFFFF
EraseSingleBlock(BlockAddress=0x04000000: Block Locked Error
NorFlashBlockIsLocked: WARNING: Block LOCKED DOWN
EraseSingleBlock(BlockAddress=0x04000000: VPP Range Error
EraseSingleBlock(BlockAddress=0x04000000: Command Sequence Error
EraseSingleBlock(BlockAddress=0x04000000: Block Erase Error StatusRegister:0xFFFFFFFF
EraseSingleBlock(BlockAddress=0x04000000: Block Locked Error
NorFlashBlockIsLocked: WARNING: Block LOCKED DOWN
EraseSingleBlock(BlockAddress=0x04000000: VPP Range Error
EraseSingleBlock(BlockAddress=0x04000000: Command Sequence Error
EraseSingleBlock(BlockAddress=0x04000000: Block Erase Error StatusRegister:0xFFFFFFFF
EraseSingleBlock(BlockAddress=0x04000000: Block Locked Error
NorFlashBlockIsLocked: WARNING: Block LOCKED DOWN
EraseSingleBlock(BlockAddress=0x04000000: VPP Range Error
EraseSingleBlock(BlockAddress=0x04000000: Command Sequence Error
EraseSingleBlock(BlockAddress=0x04000000: Block Erase Error StatusRegister:0xFFFFFFFF
EraseSingleBlock(BlockAddress=0x04000000: Block Locked Error
EraseSingleBlock(BlockAddress=0x04000000: Block Locked Error (try to erase 10 times)
Loading driver CBD2E4D5-7068-4FF5-B462-9822B4AD8D60
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 13B2B2140
add-symbol-file /builddir/build/BUILD/ovmf-90bb4c5/Build/ArmVirtQemu-AARCH64/DEBUG_GCC48/AARCH64/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe/DEBUG/VariableRuntimeDxe.dll 0x138A70000
InsertImageRecord - 0x3BFFFAD8
InsertImageRecord - 0x0000000138A60000 - 0x0000000000050000
ImageRecordCount - 0x2
  Image - /builddir/build/BUILD/ovmf-90bb4c5/Build/ArmVirtQemu-AARCH64/DEBUG_GCC48/AARCH64/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe/DEBUG/VariableRuntimeDxe.dll
  Section - '.text   '
  VirtualSize          - 0x00020000
  VirtualAddress       - 0x00010000
  SizeOfRawData        - 0x00020000
  PointerToRawData     - 0x00010000
  PointerToRelocations - 0x00000000
  PointerToLinenumbers - 0x00000000
  NumberOfRelocations  - 0x00000000
  NumberOfLinenumbers  - 0x00000000
  Characteristics      - 0x60000020
ImageCode: 0x0000000138A70000 - 0x0000000000020000
  Section - '.data   '
  Section - '.reloc  '
ImageCode SegmentCount - 0x1
Loading driver at 0x00138A60000 EntryPoint=0x00138A70050 VariableRuntimeDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 13B2B26D8
VarCheckLibRegisterSetVariableCheckHandler - 0x38A7E510 Success
Firmware Volume for Variable Store is corrupted
 
ASSERT_EFI_ERROR (Status = Volume Corrupt)
ASSERT [VariableRuntimeDxe] /builddir/build/BUILD/ovmf-90bb4c5/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c(460): !EFI_ERROR (Status)


The fix is
  b138e654a Revert "memory: Drop FlatRange.romd_mode"

Comment 1 Andrew Jones 2016-06-02 15:03:42 UTC
Oops. I forgot this patch isn't necessary for RHEL7.3, as we don't have the patch it's reverting! Too much upstream QEMU use lately, not enough RHEL. OK, that was a fun Bugzilla opening/closing exercise...


Note You need to log in before you can comment on or make changes to this bug.