Bug#955390: grub-install: error: failed to register the EFI boot entry: Bad address.

Steve McIntyre steve at einval.com
Tue Mar 31 02:37:00 BST 2020


Control: reassign -1 grub2-common

Hi Kibi!

On Tue, Mar 31, 2020 at 03:16:54AM +0200, Cyril Brulebois wrote:
>Package: shim-signed-common
>Version: 1.33+15+1533136590.3beb971-7
>Severity: important
>
>Hi,
>
>This system was initially installed with jessie with grub-pc on MBR,
>upgraded to stretch, switched to grub-efi-amd64 on UEFI (to handle
>bigger disks), and that was working rather fine.
>
>Upgrading to buster, I'm now seeing this when trying to configure the
>shim-signed-common package. I'm enclined to think it might be a GRUB
>issue instead, but I'm filing this against the affected package anyway
>since I don't know any better (maybe shim-* is triggering some GRUB
>issue…) at the moment.

This is definitely an issue from grub-install rather than shim*. It's
Colin's new code in grub-install that's throwing errors. As to why,
I'm not sure I'm afraid...

>    Setting up shim-signed-common (1.33+15+1533136590.3beb971-7) ...
>    Installing for x86_64-efi platform.
>    File descriptor 3 (pipe:[21154245]) leaked on vgs invocation. Parent PID 3633: grub-install
>    File descriptor 3 (pipe:[21154245]) leaked on vgs invocation. Parent PID 3633: grub-install
>    grub-install: warning: efivarfs_get_variable: open(/sys/firmware/efi/efivars/blk0-47c7b225-c42a-11d2-8e57-00a0c969723b): No such file or directory.
>    grub-install: warning: efi_get_variable: ops->get_variable failed: No such file or directory.
>    grub-install: warning: efi_va_generate_file_device_path_from_esp: could not open device for ESP: Bad address.
>    grub-install: warning: efi_generate_file_device_path_from_esp: could not generate File DP from ESP: Bad address.
>    grub-install: error: failed to register the EFI boot entry: Bad address.
>    dpkg: error processing package shim-signed-common (--configure):
>     installed shim-signed-common package post-installation script subprocess returned error exit status 1
>    dpkg: dependency problems prevent configuration of shim-signed:amd64:
>     shim-signed:amd64 depends on shim-signed-common (= 1.33+15+1533136590.3beb971-7); however:
>      Package shim-signed-common is not configured yet.
>    
>    dpkg: error processing package shim-signed:amd64 (--configure):
>     dependency problems - leaving unconfigured
>    Errors were encountered while processing:
>     shim-signed-common
>     shim-signed:amd64
>
>Feel free to let me know if you'd rather see me file a bug report
>against one of the GRUB binary instead…

I'd say reassign to grub2-common; that's where grub-install comes
from. Doing that now.

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
Into the distance, a ribbon of black
Stretched to the point of no turning back




More information about the Pkg-grub-devel mailing list