[Bug 1911439] Re: Netboot improvements backport from hirsute
Dimitri John Ledkov
1911439 at bugs.launchpad.net
Thu Jan 14 10:54:46 UTC 2021
** Description changed:
- Improve transfer speed.
- Support more NICs.
- Speed up tsc calibration.
+ [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 deplopad.lv/u/yments
+ 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.
** Also affects: grub2 (Ubuntu Hirsute)
Importance: Undecided
Status: New
** Also affects: grub2 (Ubuntu Groovy)
Importance: Undecided
Status: New
** Also affects: grub2 (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: grub2 (Ubuntu Hirsute)
Status: New => Fix Released
** Changed in: grub2 (Ubuntu Focal)
Status: New => In Progress
--
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:
In Progress
Status in grub2 source package in Groovy:
New
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 deplopad.lv/u/yments
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