[Bug 2029407] Re: Creating boot option for non-ACPI systems fails
Benjamin Drung
2029407 at bugs.launchpad.net
Mon Oct 23 15:20:43 UTC 2023
** Tags removed: foundations-todo
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to efivar in Ubuntu.
https://bugs.launchpad.net/bugs/2029407
Title:
Creating boot option for non-ACPI systems fails
Status in efivar package in Ubuntu:
Fix Released
Bug description:
On an riscv64 emulated system with ACPI grub-install fails.
After enabling debug output I see the following log:
efivar: linux.c:464 device_get(): No such file or directory: could not access /sys/block/nvme1n1/device/driver
efivar: util.h:324 get_file(): No such file or directory: could not open file "/sys/devices/pci0000:00/firmware_node/path" for reading
efivar: util.h:324 get_file(): No such file or directory: could not open file "/sys/devices/pci0000:00/firmware_node/hid" for reading
efivar: linux-acpi.c:63 parse_acpi_hid_uid(): No such file or directory: could not read devices/pci0000:00/firmware_node/hid
efivar: linux.c:509 device_get(): No such file or directory: parsing pci_root failed
efivar: creator.c:194 efi_va_generate_file_device_path_from_esp(): No such file or directory: could not get ESP disk info
efivar: creator.c:349 efi_generate_file_device_path_from_esp(): No such file or directory: could not generate File DP from ESP
efibootmgr.c: efi.c:389 make_linux_load_option(): No such file or directory: efi_generate_file_device_path_from_esp() = -1 (failed)
efibootmgr.c: efibootmgr.c:321 make_var(): No such file or directory: make_linux_load_option() failed
efibootmgr.c: efibootmgr.c:370 make_var(): No such file or directory: Could not set variable
Could not prepare Boot variable: No such file or directory
There is a bug in device_get() that leads to exiting after one of the
parsers failing instead of continuing with the next parser.
I have created an upstream merge request
https://github.com/rhboot/efivar/pull/246
and a Debian merge request
https://salsa.debian.org/efi-team/efivar/-/merge_requests/13.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/efivar/+bug/2029407/+subscriptions
More information about the foundations-bugs
mailing list