Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1163481 - F21 aarch64 compose fails to find gcdaa64.efi
Summary: F21 aarch64 compose fails to find gcdaa64.efi
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 21
Hardware: aarch64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64
TreeView+ depends on / blocked
 
Reported: 2014-11-12 19:21 UTC by D. Marlin
Modified: 2014-12-06 10:46 UTC (History)
6 users (show)

Fixed In Version: grub2-2.02-0.12.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-06 10:46:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description D. Marlin 2014-11-12 19:21:55 UTC
Description of problem:

F21 aarch64 compose fails when it does not find gcdaa64.efi:

  IOError: nothing matching /var/tmp/lorax.1EY_9N/installroot/boot/efi/EFI/*/gcdaa64.efi in /

This file needs to be added to the grub2-efi package.


Version-Release number of selected component (if applicable):

  grub2-efi-2.02-0.8.fc21.aarch64


How reproducible:

  consistently


Steps to Reproduce:
1.  run a compose using lorax for F21 on aarch64
2.
3.

Actual results:

2014-11-12 12:00:42,295:   install boot/efi/EFI/*/gcdaa64.efi EFI/BOOT/grubaa64.efi
  install boot/efi/EFI/*/gcdaa64.efi EFI/BOOT/grubaa64.efi
2014-11-12 12:00:42,303:   IOError: nothing matching /var/tmp/lorax.1EY_9N/installroot/boot/efi/EFI/*/gcdaa64.efi in /
  IOError: nothing matching /var/tmp/lorax.1EY_9N/installroot/boot/efi/EFI/*/gcdaa64.efi in /
Traceback (most recent call last):
  File "/usr/sbin/lorax", line 311, in <module>
    main(sys.argv)
  File "/usr/sbin/lorax", line 210, in main
    remove_temp=True)
  File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 343, in run
    treebuilder.build()
  File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 239, in build
    self._runner.run(templatefile, kernels=self.kernels)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 181, in run
    self._run(commands)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 200, in _run
    f(*args)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 233, in install
    for src in rglob(self._in(srcglob), fatal=True):
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 95, in rglob
    raise IOError("nothing matching %s in %s" % (pathname, root))
IOError: nothing matching /var/tmp/lorax.1EY_9N/installroot/boot/efi/EFI/*/gcdaa64.efi in /


Expected results:

Compose completes without error.


Additional info:

Comment 1 Brian Lane 2014-11-12 23:55:07 UTC
This should be fixed when builds start working. The current build issue is that there are several modules that aren't supported on aarch64. I tried a simple patch for backtrace but found that usb wasn't working either. I'm not sure if that's something that needs to be enabled for aarch64 or if it just isn't supported in grub.

build.log from a scratch build with backtrace module removed on aarch64:

http://arm.koji.fedoraproject.org//work/tasks/1790/2781790/build.log

Comment 2 D. Marlin 2014-11-13 02:20:27 UTC
(In reply to bcl from comment #1)
:
>  I tried a
> simple patch for backtrace but found that usb wasn't working either. I'm not
> sure if that's something that needs to be enabled for aarch64 or if it just
> isn't supported in grub.

If I understand correctly, USB is not quite supported on aarch64 yet (kernel driver work is still in progress).  I'm not sure if this is the cause of the error you encountered.

Comment 3 Fedora Update System 2014-11-20 16:42:09 UTC
grub2-2.02-0.12.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/grub2-2.02-0.12.fc21

Comment 4 Cole Robinson 2014-11-20 20:57:46 UTC
I think this is preventing the F21 aarch64 GA media from booting with no user intervention with qemu-system-aarch64 + uefi. I'll confirm it's fixed when the next compose appears

Comment 5 Fedora Update System 2014-11-22 20:22:04 UTC
Package grub2-2.02-0.12.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing grub2-2.02-0.12.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-15615/grub2-2.02-0.12.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-12-06 10:46:27 UTC
grub2-2.02-0.12.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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