Bug 1869987
Summary: | error: ../../grub-core/net/net.c:1795:timeout reading initrd.img | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Javier Martinez Canillas <fmartine> | |
Component: | grub2 | Assignee: | Bootloader engineering team <bootloader-eng-team> | |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 7.9 | CC: | bootloader-eng-team, djuarezg, emcnabb, extras-qa, fmartine, gmarr, hartsjc, ktordeur, lkundrak, lzap, pjanda, pjones, pvlasin, pwhalen, robatino, sadas | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | grub2-2.02-0.87.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1869335 | |||
: | 1871034 (view as bug list) | Environment: | ||
Last Closed: | 2020-09-29 20:59:07 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 245418, 1871034 |
Description
Javier Martinez Canillas
2020-08-19 07:47:48 UTC
I was also able to reproduce this bug with grub2-2.02-0.86.el7 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) Clearing Fedora metadata. 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 |