You are not logged in.

#1 2022-06-09 19:08:06

lawaniya
Member
Registered: 2022-06-09
Posts: 1

Unable to use TPM 2.0 chip and EFI variables are inaccessible

Suddenly efibootmgr has stopped listing boot entries when I run

 sudo efibootmgr -v2 

,
It shows the following output:

 
Could not read variable 'BootNext': No such file or directory
error trace:
 efivarfs.c:268 efivarfs_get_variable(): open(/sys/firmware/efi/efivars/BootNext-8be4df61-93ca-11d2-aa0d-00e098032b8c): No such file or directory
 lib.c:140 efi_get_variable(): ops->get_variable failed: No such file or directory
Could not read variable 'BootCurrent': No such file or directory
error trace:
 efivarfs.c:268 efivarfs_get_variable(): open(/sys/firmware/efi/efivars/BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c): No such file or directory
 lib.c:140 efi_get_variable(): ops->get_variable failed: No such file or directory
Could not read variable 'Timeout': No such file or directory
error trace:
 efivarfs.c:268 efivarfs_get_variable(): open(/sys/firmware/efi/efivars/Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c): No such file or directory
 lib.c:140 efi_get_variable(): ops->get_variable failed: No such file or directory
Could not read variable 'BootOrder': No such file or directory
error trace:
 efivarfs.c:268 efivarfs_get_variable(): open(/sys/firmware/efi/efivars/BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c): No such file or directory
 lib.c:140 efi_get_variable(): ops->get_variable failed: No such file or directory
 efibootmgr.c:372 read_order(): efi_get_variable failed: No such file or directory
No BootOrder is set; firmware will attempt recovery
Could not read variable 'MirrorCurrent': No such file or directory
error trace:
 efivarfs.c:268 efivarfs_get_variable(): open(/sys/firmware/efi/efivars/MirrorCurrent-7b9be2e0-e28a-4197-ad3e-32f062f9462c): No such file or directory
 lib.c:140 efi_get_variable(): ops->get_variable failed: No such file or directory
Could not read variable 'MirrorRequest': No such file or directory
error trace:
 efivarfs.c:268 efivarfs_get_variable(): open(/sys/firmware/efi/efivars/MirrorRequest-7b9be2e0-e28a-4197-ad3e-32f062f9462c): No such file or directory
 lib.c:140 efi_get_variable(): ops->get_variable failed: No such file or directory

I can use efibootmgr to create new entries in UEFI menu, they persist even after reboots but when I try to list them after a reboot with efibootmgr it gives the same errors.
efibootmgr used to work previously but I didn't use it for sometime and now it doesn't work.

I also tried to use my TPM 2.0 chip for LUKS unlocking but systemd-cryptenroll says no TPM2 were found. I am mentioning this here in case there is some relation.
I tested my ram using the self test utility provided by Dell in UEFI menu and all tests were passed.

$ uname -mrs 
Linux 5.18.1-arch1-1 x86_64
$ sudo dmesg | grep tpm
[    1.633168] tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xdd8e2000-0xdd8e2fff flags 0x200] vs dd8e2000 4000
[    1.633217] tpm_crb MSFT0101:00: can't request region for resource [mem 0xdd8e2000-0xdd8e2fff]
[    1.633238] tpm_crb: probe of MSFT0101:00 failed with error -16

Offline

Board footer

Powered by FluxBB