You are not logged in.

#1 2023-12-10 02:59:57

luser
Member
Registered: 2016-08-27
Posts: 114

Failed to start TPM2 PCR Machine ID Measurement (TPM2 present)

I've had this issue and resolved it on a machine without a TPM2, but now I'm seeing it on a machine that actually has a TPM2. It's irritating because I've set up a silent boot that is marred by a thrice posted message (with "Failed" in red): Failed to start TPM2 PCR Machine ID Measurement. My system is fully up to date.

$ ls -l /dev | grep tpm

crw-rw----   1 tss  root     10,   224 Dec  9 18:26 tpm0
crw-rw----   1 root tss     253, 65536 Dec  9 18:26 tpmrm0

$ sudo dmidecode | grep TPM -A 8

TPM Device
        Vendor ID: 
        Specification Version: 2.0
        Firmware Revision: 1.3
        Description: NUVOTON
        Characteristics:
                Family configurable via platform software support
        OEM-specific Information: 0x00000000

$ systemctl status systemd-pcrmachine.service

× systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement
     Loaded: loaded (/etc/systemd/system/systemd-pcrmachine.service; static)
     Active: failed (Result: exit-code) since Sat 2023-12-09 18:26:07 PST; 17min ago
       Docs: man:systemd-pcrmachine.service(8)
    Process: 496 ExecStart=/usr/lib/systemd/systemd-pcrphase --machine-id --graceful (code=exited, status=203/EXEC)
   Main PID: 496 (code=exited, status=203/EXEC)
        CPU: 5ms

Dec 09 18:26:07 epic9 systemd[1]: Starting TPM2 PCR Machine ID Measurement...
Dec 09 18:26:07 epic9 systemd[1]: systemd-pcrmachine.service: Main process exited, code=exited, status=203/EXEC
Dec 09 18:26:07 epic9 systemd[1]: systemd-pcrmachine.service: Failed with result 'exit-code'.
Dec 09 18:26:07 epic9 systemd[1]: Failed to start TPM2 PCR Machine ID Measurement.

I'm using a unified kernel, and I've tried adding the following binaries to mkinitcpio.conf and running mkinitcpio without success:
/usr/lib/libtss2-esys.so.0 /usr/lib/libtss2-rc.so.0 /usr/lib/libtss2-tcti-device.so.0

I'm not actually using the TPM2 for anything, and I just want to make the boot quiet again. I've spent way more time on this than this post may indicate, so I'm wondering whether anyone knows how to fix the problem. . .

[edited to add dmidecode info]

Last edited by luser (2023-12-10 03:05:08)


luser: an epithet applied by Windows users to linux users

Offline

Board footer

Powered by FluxBB