Bug 1641651 - ARM UEFI VM does not boot
Summary: ARM UEFI VM does not boot
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 29
Hardware: armv7hl
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-22 12:47 UTC by Nerijus Baliūnas
Modified: 2019-11-27 19:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-27 19:37:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nerijus Baliūnas 2018-10-22 12:47:51 UTC
Up until Fedora 28 I could boot my UEFI ARM VM (machine type virt-3.0) with these packages:
# rpm -qa|grep grub
grubby-8.40-90.kraxel.fc25.armv7hl
grub2-tools-2.02-0.rc1.kraxel.1.fc25.armv7hl
grub2-efi-2.02-0.rc1.kraxel.1.fc25.armv7hl

Fedora 29 upgraded them, and now I have:
grub2-common-2.02-62.fc29.noarch
grub2-tools-extra-2.02-62.fc29.armv7hl
grubby-8.40-90.kraxel.fc25.armv7hl
grub2-tools-minimal-2.02-62.fc29.armv7hl
grub2-efi-arm-2.02-62.fc29.armv7hl
grub2-tools-2.02-62.fc29.armv7hl

VM uses /usr/share/edk2.git/arm/QEMU_EFI-pflash.raw from edk2.git-arm-0-20180807.281.gc526dcd40f.noarch

Now VM boots to UEFI shell. If I restore /boot/efi/EFI/BOOT/BOOTARM.EFI from
grub2-efi-2.02-0.rc1.kraxel.1.fc25.armv7hl.rpm, VM boots OK.

If I copy /boot/efi/EFI/fedora/grubarm.efi to /boot/efi/EFI/BOOT/BOOTARM.EFI,
VM does not get to UEFI shell, starts to boot, but stops here:

EFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
MemoryAttributesTable:
  Version              - 0x00000001
  NumberOfEntries      - 0x00000010
  DescriptorSize       - 0x00000030
Entry (0xBEB08AA0)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF8D6000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000063
  Attribute         - 0x8000000000004000
Entry (0xBEB08AD0)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF939000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000003
  Attribute         - 0x8000000000020000
Entry (0xBEB08B00)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF93C000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000003
  Attribute         - 0x8000000000004000
Entry (0xBEB08B30)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF93F000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000003
  Attribute         - 0x8000000000020000
Entry (0xBEB08B60)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF942000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000003
  Attribute         - 0x8000000000004000
Entry (0xBEB08B90)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF945000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000009
  Attribute         - 0x8000000000020000
Entry (0xBEB08BC0)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF94E000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000003
  Attribute         - 0x8000000000004000
Entry (0xBEB08BF0)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF951000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000006
  Attribute         - 0x8000000000020000
Entry (0xBEB08C20)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF957000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000003
  Attribute         - 0x8000000000004000
Entry (0xBEB08C50)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF95A000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000004
  Attribute         - 0x8000000000020000
Entry (0xBEB08C80)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF95E000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000003
  Attribute         - 0x8000000000004000
Entry (0xBEB08CB0)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF961000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000003
  Attribute         - 0x8000000000020000
Entry (0xBEB08CE0)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF964000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000003
  Attribute         - 0x8000000000004000
Entry (0xBEB08D10)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF967000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000003
  Attribute         - 0x8000000000020000
Entry (0xBEB08D40)
  Type              - 0x5
  PhysicalStart     - 0x00000000BF96A000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x0000000000000002
  Attribute         - 0x8000000000004000
Entry (0xBEB08D70)
  Type              - 0x6
  PhysicalStart     - 0x00000000BF96C000
  VirtualStart      - 0x0000000000000000
  NumberOfPages     - 0x000000000000012C
  Attribute         - 0x8000000000004000
EFI stub: Exiting boot services and installing virtual address map...
VirtioBlkExitBoot: Context=0xBF0A4610
VirtioRngExitBoot: Context=0xBF0AEA10
SetUefiImageMemoryAttributes - 0x00000000BF966000 - 0x0000000000006000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000BF960000 - 0x0000000000006000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000BF959000 - 0x0000000000007000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000BF950000 - 0x0000000000009000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000BF944000 - 0x000000000000C000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000BF93E000 - 0x0000000000006000 (0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000BF938000 - 0x0000000000006000 (0x0000000000000008)

Comment 1 Ben Cotton 2019-10-31 20:37:44 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Ben Cotton 2019-11-27 19:37:46 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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