Bug 1869335

Summary: error: ../../grub-core/net/net.c:1795:timeout reading initrd.img
Product: [Fedora] Fedora Reporter: Paul Whalen <pwhalen>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: fmartine, gmarr, jcajka, lkundrak, pbrobinson, pjones, psundara, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: AcceptedBlocker
Fixed In Version: grub2-2.04-29.fc33 grub2-2.04-29.fc34 grub2-2.04-31.fc34 grub2-2.04-23.fc32 grub2-2.04-31.fc33 grub2-2.04-34.eln108 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1869987 (view as bug list) Environment:
Last Closed: 2020-08-21 10:32:58 UTC Type: Bug
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, 1766775    
Attachments:
Description Flags
grubaa64.efi none

Description Paul Whalen 2020-08-17 15:15:33 UTC
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.

Comment 1 Paul Whalen 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."

Comment 2 Geoffrey Marr 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

Comment 3 Paul Whalen 2020-08-18 01:51:40 UTC
Same error with grub2-2.04-27.fc33

Comment 4 Javier Martinez Canillas 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

Comment 5 Javier Martinez Canillas 2020-08-18 16:02:26 UTC
Created attachment 1711746 [details]
grubaa64.efi

Could you please test using the attached grubaa64.efi binary?

Comment 6 Paul Whalen 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.

Comment 7 Javier Martinez Canillas 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 8 Fedora Update System 2020-08-21 10:32:58 UTC
FEDORA-2020-6888b64b0d has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2020-08-21 11:14:59 UTC
FEDORA-2020-a75d237bd0 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2020-08-31 12:31:58 UTC
FEDORA-2020-9d7c0d5262 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2020-08-31 12:52:53 UTC
FEDORA-2020-959fec6242 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-959fec6242

Comment 12 Fedora Update System 2020-08-31 18:58:09 UTC
FEDORA-2020-959fec6242 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-959fec6242`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-959fec6242

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Prashanth Sundararaman 2020-09-15 12:37:06 UTC
Is it possible to backport the fix to Fedora 32? I am seeing this problem with Fedora 32 on aarch64.

Comment 14 Fedora Update System 2020-09-15 13:20:19 UTC
FEDORA-2020-a15f088661 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-a15f088661

Comment 15 Javier Martinez Canillas 2020-09-15 13:21:10 UTC
(In reply to Prashanth Sundararaman from comment #13)
> Is it possible to backport the fix to Fedora 32? I am seeing this problem
> with Fedora 32 on aarch64.

Backported this to F32 and pushed an update.

Comment 16 Fedora Update System 2020-09-15 16:23:39 UTC
FEDORA-2020-a15f088661 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-a15f088661`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-a15f088661

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2020-09-17 16:01:20 UTC
FEDORA-2020-a15f088661 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2020-09-25 16:40:20 UTC
FEDORA-2020-959fec6242 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2021-01-12 16:37:53 UTC
FEDORA-2021-976bd8ab94 has been pushed to the Fedora ELN stable repository.
If problem still persists, please make note of it in this bug report.