grub2 UEFI PXE loads kernel/initrd very very slowly.

Bug #1514038 reported by David Monro
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

If I use the grub-mknetdir command with grub-efi-amd64 v 2.02~beta2-29 as follows:

grub-mknetdir -d /usr/lib/grub/x86_64-efi --net-directory=/var/lib/tftpboot --subdir=grub2-efi

to generate a PXE environment, and then boot a UEFI VM (or physical box) using this PXE environment, loading the kernel and initrd via TFTP takes a very long time (several minutes). This is due to a bug where grub2 doesn't open the protocol stack in exclusive mode and therefore doesn't actually end up receiving all the TFTP packets.

I have rebuilt the grub package with the attached patch (from fedora) and this completely fixes the problem, and the kernel and initrd take only a few seconds to load.

Cheers

David

Tags: patch
Revision history for this message
David Monro (davidm-ub) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch from fedora which fixes the problem" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.