Description of problem:
AArch64 systems fail to display the grub menu when PXE booted and instead drop to a grub prompt.
Version-Release number of selected component (if applicable):
Everytime, tested on both mustang and seattle systems.
Steps to Reproduce:
1. Use the latest from Rawhide compose - Fedora-Rawhide-20161214.n.1
2. Attempt to pxe boot the system using BOOTAA64.EFI
grub prompt displayed
grub.cfg loaded, menu displayed.
Booting from USB using either BOOTAA64.EFI or grubaa64.efi works on the mustang.
Last known working with PXE - grub2-efi-2.02-0.34.fc26.
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.
I'm unable to reproduce this with latest (Fedora-Rawhide-20170303.n.0). It pxe boots fine on a AMD Seattle system using firmware ROD1002C
(In reply to Mark Salter from comment #2)
> I'm unable to reproduce this with latest (Fedora-Rawhide-20170303.n.0). It
> pxe boots fine on a AMD Seattle system using firmware ROD1002C
Are you using the grub that ships with the latest image in the PXE config?
I used grubaa64.efi from grub2-efi-2.02-0.38.fc26.aarch64.rpm. But you got me to thinking, so I grabbed the BOOTAA64.EFI and grubaa64.efi from the os/EFI directory and used those successfully also.
Created attachment 1261314 [details]
fix malformed tftp packets
After chatting with pwhalen about this, I was able to reproduce by moving the grub file to the top level tftp dir. I did a packet capture and saw corrupted tftp read requests. There appeared to be an extra byte between the filename and type fields in the read request. This turned out to be caused by a downstream patch:
This patch collapses contiguous slashes in a filename to a single slash in the tftp packet. But it still advanced the packet buffer pointer and len based on length of original name. Anyway, an easy fix. Patch atteched.
grub2-2.02-0.40.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-01b07bc086
grub2-2.02-0.40.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-01b07bc086
grub2-2.02-0.40.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.