shim crashes on Mellanox BF1 SmartNIC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shim (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
shim-signed (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Systems that do not support QueryVariableInfo() EFI function fail to boot.
[Test plan]
Would be good to get this checked on the Mellanox BF1 SmartNIC on one release (shim is binary copied)
[Where problems could occur]
it might still fail to mirror variables on those platforms. Code looks like the variable could be uninitialized on error case, but it's actually set inside the call to 0 so that's good.
[Original bug report]
shim in focal-proposed (shim-signed 1.40.5) is crashing on Mellanox BF1 SmartNIC, showing this trace:
>>Start PXE over IPv4.
Station IP address is 192.168.100.2
Server IP address is 192.168.100.1
NBP filename is shimaa64.efi.signed
NBP filesize is 840024 Bytes
Downloading NBP file...
NBP file downloaded successfully.
Could not get variable storage info: Unsupported
Could not create MokListRT: Unsupported
Could not get variable storage info: Unsupported
Could not create MokListXRT: Unsupported
Could not get variable storage info: Unsupported
Could not create MokListRT: Unsupported
Could not get variable storage info: Unsupported
Could not create MokListXRT: Unsupported
Something has gone seriously wrong: import_mok_state() failed: Unsupported
ERROR: System Off: operation not handled.
PANIC at PC : 0x000000000045c488
Some EFI related kernel output:
[ 0.000000] efi: EFI v2.70 by EDK II
[ 0.000000] efi: SMBIOS=0xfafb0000 SMBIOS 3.0=0xf5b70000 ACPI=0xf5c10000 ACPI 2.0=0xf5c10014 MEMATTR=0xf769e018 ESRT=0xf7593098 MEMRESERVE=
[ 0.000000] Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz console=hvc0 console=ttyAMA0 earlycon=
[ 0.085871] Remapping and enabling EFI services.
[ 0.377821] DMI: https:/
[ 1.028977] Registered efivars operations
[ 2.481241] rtc-efi rtc-efi: registered as rtc0
[ 2.593647] EFI Variables Facility v0.08 2004-May-17
Changed in shim (Ubuntu): | |
status: | New → Fix Committed |
description: | updated |
Changed in shim-signed (Ubuntu): | |
status: | New → Fix Released |
See attached kernel log.