Skip to content

Does gnu-efi inside shim may cause incompatibility with gnu-efi used for compilation with grub when secure boot enabled? #704

@Dvergatal

Description

@Dvergatal

Hi all,
just like in the subject I have encountered strange behavior.

Namely I'm building my OS within yocto project scarthgap release with secure boot enabled. Now for that purpose I'm using meta-secure-core which has shim-15.8 and it contains gnu-efi-3.0.12 - which is really old - but in openembeded-core it is already 3.0.17.

Now, what I have encountered is this strange bug Wind-River/meta-secure-core#79

TL:DR - grub hangs when disconnecting USB HID device e.g. keyboard (in my case the issue is more dramatic as we are using LTE modem connected with m.2 slot which is behaving like some kind of USB hub and it reconnects automatically and after couple of seconds the hang is occuring)

Now what I did to fix it was reverting back shim package to 15.2 which still supports external gnu-efi package and downgraded gnu-efi package to 3.0.14 which was used before in yocto kirkstone release and everything was working properly in it and it started to work again.

Now I know that you stopped to use external gnu-efi, but is it possible that maybe due to the difference in gnu-efi between shim and grub it may behave like that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions