[Bug 1911439] Re: Netboot improvements backport from hirsute

Launchpad Bug Tracker 1911439 at bugs.launchpad.net
Mon Jan 25 14:06:00 UTC 2021


This bug was fixed in the package grub2 - 2.04-1ubuntu26.8

---------------
grub2 (2.04-1ubuntu26.8) focal; urgency=medium

  * debian/patches/grub-install-backup-and-restore.patch: Fix-up the patch
    to correctly initialyze the names of the modules to restore. LP:
    #1907085
  * rhboot-f34-make-exit-take-a-return-code.patch,
    rhboot-f34-dont-use-int-for-efi-status.patch: allow grub to exit
    non-zero under EFI, this should allow falling back to the next
    BootOrder BootEntry. LP: #1865515
  * rhboot-f34-tcp-add-window-scaling-support.patch: speed up netboot
    transfer speed. LP: #1911439
  * rhboot-f34-support-non-ethernet.patch,
    ubuntu-fixup-rhboot-f34-support-non-ethernet.patch,
    ubuntu-fixup-rhboot-f34-support-non-ethernet-2.patch:
    add support for link layer addresses of up to 32-bytes. LP: #1911439
  * rhboot-f34-make-pmtimer-tsc-calibration-fast.patch:
    speed up calibration time, especially when booting VMs. LP: #1911439
  * minilzo: built using the distribution's minilzo. LP: #1911440

 -- Dimitri John Ledkov <xnox at ubuntu.com>  Wed, 13 Jan 2021 14:12:38
+0000

** Changed in: grub2 (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1911439

Title:
  Netboot improvements backport from hirsute

Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2 source package in Focal:
  Fix Released
Status in grub2 source package in Groovy:
  Fix Released
Status in grub2 source package in Hirsute:
  Fix Released

Bug description:
  [Impact]

   * There have been multiple reports on netboot failures using
  grubnetx64.efi. This backport attempts to cherrypick multiple patches
  to improve the netboot speed and hopefully reliability. Also timeouts.

  TCP window scaling is improved for faster data transfers.
  Support for larger link layer addresses is added.
  tsc-calibration is sped up - as it can take up to 51s currently for grub to fail to calibrate on some hardware configurations.

  All of the above should not break network boot deployments, and
  hopefully make them more reliable. Reliability of deployments is yet
  to be determined however.

  [Test Case]

  Let's ensure that network stack and network deployments still operate
  correctly.

   * Deploy MAAS

   * In /var/snap/maas/common, find the symlinks to grubx64.efi file
  which is signed grub net x64 EFI prebuilt app from grub2-signed
  package

   * Replace it with the /usr/lib/grub/x86_64-efi-
  signed/grubnetx64.efi.signed file from the grub2-signed package

   * Deploy a UEFI machine with MAAS

   * Observe that deployment is successful.

  [Where problems could occur]

   * The networking code in grub is changed, thus issues could happen in
  the network deployments of grub over pxe-boot / uefi-boot and similar.
  For example some machines/cards may have started to work (and
  previously didn't, and ended up booting off local drive) or stopped to
  work (thus failing to boot remotely).

  [Other Info]

   * These changes have been tested in MAAS on x86 UEFI already using
  the hirsute build of grub2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1911439/+subscriptions



More information about the foundations-bugs mailing list