[Regression] breaks GRUB install on an nvme device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Efivar |
Fix Released
|
Unknown
|
|||
efivar (Ubuntu) |
Fix Released
|
Undecided
|
dann frazier | ||
Focal |
Fix Released
|
Undecided
|
dann frazier | ||
Groovy |
Fix Released
|
Undecided
|
dann frazier |
Bug Description
[Impact]
Grub fails to install on systems with nvme-subsys storage when installing focal, or upgrading from bionic to focal. As symptom of the latter is shown below:
┌──────
│ │
│ GRUB failed to install to the following devices: │
│ │
│ /dev/nvme0n1p1 │
│ │
│ Do you want to continue anyway? If you do, your computer may not start │
│ up properly. │
│ │
│ Writing GRUB to boot device failed - continue? │
│ │
│ <Yes> <No>
I've hit this on 2 systems so far - a high-end Nvidia server and an older ARM Server.
[Test Case]
On a system with an EFI System Partition residing on an nvme-subsys block device, run grub-install:
$ sudo /usr/sbin/
Installing for x86_64-efi platform.
/usr/sbin/
/usr/sbin/
Also, regression test on a system with a non-nvme-subsys NVMe device.
[Regression Potential]
There's a risk that a parsing bug will introduce a regression to other systems - most at risk are systems with NVMe block devices. Supposedly nvme-fabrics systems were not previously supported and, as a side-effect of this backport, will now be. However, it's possible - like was the case with bionic/nvme-subsys - that nvme-fabrics *used* to happen to work, and now will work differently or even break. Ideally we'd be able to test on such a system, but I don't know where to find that hardware.
This fix has been in groovy since just after beta (minus an innocuous debug statement that upstream requested during review), and the same patches apply cleanly to focal, which should help mitigate the risk by way of some real world exposure.
Changed in efivar: | |
status: | Unknown → New |
tags: | added: blocks-hwcert-server |
Changed in efivar (Ubuntu Groovy): | |
status: | New → In Progress |
assignee: | nobody → dann frazier (dannf) |
Changed in efivar (Ubuntu Focal): | |
assignee: | nobody → dann frazier (dannf) |
status: | New → In Progress |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in efivar: | |
status: | New → Fix Released |
This bug was fixed in the package efivar - 37-5ubuntu1
---------------
efivar (37-5ubuntu1) groovy; urgency=medium
* Add support for nvme-fabrics and nvme-subsystem devices. LP: #1891718.
-- dann frazier <email address hidden> Sat, 03 Oct 2020 11:09:53 -0600