haomingbai n00b
Joined: 12 Nov 2021 Posts: 8
|
Posted: Mon Jul 22, 2024 2:01 am Post subject: Cannot unlock encrypted devices with TPM devices. |
|
|
In recent days, I cannot unlock my disk with tpm, I searched the log with journalctl and the logs are as follows:
Code: | haomingbai@haomingbai-PC ~ % journalctl -b -1 -r --grep tpm
7月 22 09:17:24 haomingbai-PC systemd[1]: Stopped Early TPM SRK Setup.
7月 22 09:17:24 haomingbai-PC systemd[1]: systemd-tpm2-setup-early.service: Deactivated successfully.
7月 22 09:17:24 haomingbai-PC systemd[1]: Stopped TPM SRK Setup.
7月 22 09:17:24 haomingbai-PC systemd[1]: systemd-tpm2-setup.service: Deactivated successfully.
7月 22 09:17:24 haomingbai-PC systemd[1]: Stopped TPM PCR Machine ID Measurement.
7月 22 09:17:24 haomingbai-PC systemd[1]: Stopped TPM PCR Barrier (Initialization).
7月 22 09:17:24 haomingbai-PC systemd[1]: Stopping TPM PCR Barrier (Initialization)...
7月 22 09:17:23 haomingbai-PC systemd[1]: Stopped TPM PCR Barrier (User).
7月 22 09:17:23 haomingbai-PC systemd[1]: Stopping TPM PCR Barrier (User)...
7月 22 09:16:40 haomingbai-PC systemd[1]: Finished TPM PCR Barrier (User).
7月 22 09:16:40 haomingbai-PC systemd[1]: Starting TPM PCR Barrier (User)...
7月 22 09:16:40 haomingbai-PC systemd[1]: Finished TPM PCR Barrier (Initialization).
7月 22 09:16:40 haomingbai-PC systemd[1]: Starting TPM PCR Barrier (Initialization)...
7月 22 09:16:39 haomingbai-PC systemd[1]: Condition check resulted in /dev/tpmrm0 being skipped.
7月 22 09:16:39 haomingbai-PC systemd[1]: Finished TPM SRK Setup.
7月 22 09:16:39 haomingbai-PC systemd-tpm2-setup[1025]: SRK saved in '/var/lib/systemd/tpm2-srk-public-key.pem' matches SRK in TPM2.
7月 22 09:16:39 haomingbai-PC systemd-tpm2-setup[1025]: SRK already stored in the TPM.
7月 22 09:16:39 haomingbai-PC systemd[1]: Starting TPM SRK Setup...
7月 22 09:16:39 haomingbai-PC systemd[1]: Finished TPM PCR Machine ID Measurement.
7月 22 09:16:39 haomingbai-PC systemd[1]: Finished Early TPM SRK Setup.
7月 22 09:16:39 haomingbai-PC systemd-tpm2-setup[993]: SRK public key saved to '/run/systemd/tpm2-srk-public-key.tpm2b_public' in TPM2B_PUBLIC format.
7月 22 09:16:39 haomingbai-PC systemd-tpm2-setup[993]: SRK public key saved to '/run/systemd/tpm2-srk-public-key.pem' in PEM format.
7月 22 09:16:39 haomingbai-PC systemd-tpm2-setup[993]: SRK already stored in the TPM.
7月 22 09:16:39 haomingbai-PC systemd[1]: Starting Early TPM SRK Setup...
7月 22 09:16:39 haomingbai-PC systemd[1]: Starting TPM PCR Machine ID Measurement...
7月 22 09:16:39 haomingbai-PC systemd[1]: Listening on Make TPM PCR Policy.
7月 22 09:16:39 haomingbai-PC systemd[1]: Listening on TPM PCR Measurements.
7月 22 09:16:39 haomingbai-PC systemd[1]: systemd 256.2 running in system mode (+PAM -AUDIT -SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTS>
7月 22 09:16:15 haomingbai-PC systemd[1]: systemd 256.2 running in system mode (+PAM -AUDIT -SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTS>
7月 22 09:16:15 haomingbai-PC kernel: ACPI: Reserving TPM2 table memory at [mem 0x44ad9000-0x44ad904b]
7月 22 09:16:15 haomingbai-PC kernel: ACPI: TPM2 0x0000000044AD9000 00004C (v04 LENOVO CB-01 00000001 ACPI 00040000)
7月 22 09:16:15 haomingbai-PC kernel: efi: ACPI=0x44afe000 ACPI 2.0=0x44afe014 TPMFinalLog=0x448c6000 SMBIOS=0x3ffb7000 MEMATTR=0x3870b018 ESRT=0x389ae018 RNG=0x44a0df18 INITRD=0x3870d218 TPMEventLog=0x386dd018
|
I do think the Quote: | 7月 22 09:16:39 haomingbai-PC systemd[1]: Condition check resulted in /dev/tpmrm0 being skipped.
| may help, but I am not sure. _________________ a new user of gentoo |
|