[Bug 2043084] Re: GRUB menu loading failure via HTTP Boot on BlueField

Julian Andres Klode 2043084 at bugs.launchpad.net
Thu Nov 9 10:25:57 UTC 2023


Reassigning to boot engineering. BlueField seems to be arm64? I
reassigned this to grub2-unsigned accordingly.

This is not something you should be touching yourselves, really.

** Changed in: grub2 (Ubuntu)
       Status: New => Triaged

** Changed in: grub2 (Ubuntu)
     Assignee: Chengen Du (chengendu) => (unassigned)

** Package changed: grub2 (Ubuntu) => grub2-unsigned (Ubuntu)

** Changed in: grub2-unsigned (Ubuntu)
     Assignee: (unassigned) => Mate Kukri (mkukri)

** Also affects: grub2-unsigned (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: grub2-unsigned (Ubuntu Noble)
   Importance: Undecided
     Assignee: Mate Kukri (mkukri)
       Status: Triaged

** Also affects: grub2-unsigned (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: grub2-unsigned (Ubuntu Mantic)
   Importance: Undecided
       Status: New

** Tags added: foundations-todo

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

Title:
  GRUB menu loading failure via HTTP Boot on BlueField

Status in grub2-unsigned package in Ubuntu:
  Triaged
Status in grub2-unsigned source package in Focal:
  New
Status in grub2-unsigned source package in Jammy:
  New
Status in grub2-unsigned source package in Mantic:
  New
Status in grub2-unsigned source package in Noble:
  Triaged

Bug description:
  [Impact]
  The GRUB menu fails to load via HTTP boot but functions properly with PXE boot, displaying the error message:
  error: Fail to send a request! status=0x8000000000000002.

  The error code 0x8000000000000002 corresponds to GRUB_EFI_INVALID_PARAMETER.
  Notably, this issue is unreproducible in QEMU but surfaces on BlueField.

  [Fix]
  Bisecting Oracle's patches, we confirmed with the customer that the issue was resolved with the following commit:
  	https://github.com/rhboot/grub2/commit/205b7b44bb2a7911f1e8c1ce22d66c111a4b429e

  [Test Plan]
  We've requested the customer to test the patch on BlueField.
  Our test plan will focus on checking for any regressions after applying this patch.

  1. Run a DHCP server on the host and configure /etc/dhcp/dhcpd.conf with the provided content.
  ...
  host http_boot {
    option host-name "http_boot";
    hardware ethernet XX:XX:XX:XX:XX:XX;
    fixed-address 192.168.122.10;
    class "HTTPClient" {
      match if substring (option vendor-class-identifier, 0, 10) = "HTTPClient";
      option vendor-class-identifier "HTTPClient";
      filename <-efi's path->;
    }
  }
  ...
  2. Start a UEFI VM and use "virsh console" for access.
  3. Execute "systemctl reboot --firmware-setup" in the console to enter the UEFI interface.
  4. Test the successful loading of the GRUB menu by selecting "Boot Manager" -> "UEFI HTTPv4."

  [Where problems could occur]
  The patch only updates a member variable type to comply with UEFI 2.9, preserving the original behavior.
  In QEMU, using EFI v2.70 from EDK II, we can still access the GRUB menu.

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




More information about the foundations-bugs mailing list