Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJavier Martinez Canillas
2020-08-19 07:47:48 UTC
+++ This bug was initially created as a clone of Bug #1869335 +++
Description of problem:
Attempting to pxe boot the latest Fedora 33 nightly (Fedora-33-20200816.n.0) fails to read the initrd.img
error: ../../grub-core/net/net.c:1795:timeout reading
`/fedora/Fedora-33-20200816.n.0/Everything/initrd.img'.
Version-Release number of selected component (if applicable):
grub2-2.04-28.fc33
Additional info:
Replacing grubaa64.efi from an earlier compose (Fedora-Rawhide-20200811.n.0) worked as expected.
--- Additional comment from Paul Whalen on 2020-08-17 15:27:39 UTC ---
Proposing as a blocker for F33 beta, criteria "It must be possible to install by booting the installation kernel directly (including via PXE) and correctly specifying a remote source for the installer itself."
--- Additional comment from Geoffrey Marr on 2020-08-17 23:41:28 UTC ---
Discussed during the 2020-08-17 blocker review meeting: [0]
The decision to classify this bug as an "AcceptedBlocker" was made as it violates the following criterion:
"It must be possible to install by booting the installation kernel directly (including via PXE)...", specifically concerning aarch64.
[0] https://meetbot.fedoraproject.org/fedora-blocker-review/2020-08-17/f33-blocker-review.2020-08-17-16.11.txt
--- Additional comment from Paul Whalen on 2020-08-18 01:51:40 UTC ---
Same error with grub2-2.04-27.fc33
--- Additional comment from Javier Martinez Canillas on 2020-08-18 10:34:54 UTC ---
I was also able to reproduce this issue.
With grub2-2.04-27.fc33:
grub> linux /images/pxeboot/vmlinuz
grub> initrd /images/pxeboot/initrd.img
error: ../../grub-core/net/net.c:1795:timeout reading
`/images/pxeboot/initrd.img'.
grub> echo $?
28
With grub2-2.04-25.fc33:
grub> linux /images/pxeboot/vmlinuz
grub> initrd /images/pxeboot/initrd.img
grub> echo $?
0
--- Additional comment from Javier Martinez Canillas on 2020-08-18 16:02:26 UTC ---
Could you please test using the attached grubaa64.efi binary?
--- Additional comment from Paul Whalen on 2020-08-18 16:18:18 UTC ---
(In reply to Javier Martinez Canillas from comment #5)
> Created attachment 1711746[details]
> grubaa64.efi
>
> Could you please test using the attached grubaa64.efi binary?
That works.
--- Additional comment from Javier Martinez Canillas on 2020-08-18 16:50:20 UTC ---
(In reply to Paul Whalen from comment #6)
> (In reply to Javier Martinez Canillas from comment #5)
> > Created attachment 1711746[details]
> > grubaa64.efi
> >
> > Could you please test using the attached grubaa64.efi binary?
>
> That works.
Thanks for testing. It's a build that drops the following patch:
https://src.fedoraproject.org/rpms/grub2/blob/f33/f/0238-tftp-Do-not-use-priority-queue.patch
I will dig deeper why that patch is leading to the TFTP regression.
Comment 2Javier Martinez Canillas
2020-08-19 07:49:59 UTC
I was also able to reproduce this bug with grub2-2.02-0.86.el7
Comment 3Javier Martinez Canillas
2020-08-19 08:13:28 UTC
It also happens on x86_64, is not specific to aarch64.
It's easier to reproduce with a large initrd, it worked correctly with an initrd with 53M but failed with one whose size is 69M.
Reproduced in virtual machine with RHEL-7.9-20200810.2-Server-x86_64
grub version
grub2-2.02-0.86.el7_8
initrd file created by dd
$dd if=/dev/zero of=initrd.big bs=1M count=69
- start pxeboot of uefi machine using grubx64.efi
- go to command line
grub> linuxefi /images/pxeboot/vmlinuz #fix path according your setup
grub> initrdefi /images/pxeboot/initrd_big.img
error: timeout reading `/images/pxeboot/initrd_big.img'.
grub> echo $?
28
grub>
The size limit lies somewhere between 66060288 Bytes (63 MiB) and 67108864 Bytes (64 MiB)
on the RHEL-7.9-20200810.2-Server-x86_64 initrd has 51187595 Bytes (49 MiB)
Verified on RHEL-7.9-20200821 x86_64 Server compose with grub2 efi binary updated to grub2-2.02-0.87.el7
didn't tried actual boot as I have no such large initrd image, but with artifficaly created file using dd it works as expected ("initrd" was transfered, kernel fails to unpack it)
Tried files 70 MB and 400 MB big - both seems to work.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (grub2 bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2020:4046
Isn't this issue also present when using HTTP protocol instead of TFTP?
It seems the issue is fixed when using TFTP menuentries, but not for HTTP ones, i.e. (http)/vmlinuz