Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3250

Testing And Unstable • [Testing - Trixie] systemd-tpm2-setup 0x000009a2 error

$
0
0
I've got TPM problems:

× systemd-tpm2-setup-early.service - Early TPM SRK Setup     Loaded: loaded (/usr/lib/systemd/system/systemd-tpm2-setup-early.service; static)     Active: failed (Result: exit-code) since Wed 2024-11-27 01:12:23 MST; 2 weeks 3 days ago Invocation: ea5a2493fa0a41b9a5b2874b75a310f7       Docs: man:systemd-tpm2-setup.service(8)   Main PID: 535 (code=exited, status=1/FAILURE)   Mem peak: 1.8M        CPU: 19msNov 27 01:12:22 throne systemd-tpm2-setup[535]: WARNING:esys:src/tss2-esys/api/Esys_CreatePrimary.c:401:Esys_CreatePrimary_Finish() Received TPM ErrorNov 27 01:12:22 throne systemd-tpm2-setup[535]: ERROR:esys:src/tss2-esys/api/Esys_CreatePrimary.c:135:Esys_CreatePrimary() Esys Finish ErrorCode (0x000009a2)Nov 27 01:12:22 throne systemd-tpm2-setup[535]: Failed to get or create SRK: State not recoverableNov 27 01:12:23 throne systemd[1]: systemd-tpm2-setup-early.service: Main process exited, code=exited, status=1/FAILURENov 27 01:12:23 throne systemd[1]: systemd-tpm2-setup-early.service: Failed with result 'exit-code'.Nov 27 01:12:23 throne systemd[1]: Failed to start systemd-tpm2-setup-early.service - Early TPM SRK Setup.

and

× systemd-tpm2-setup.service - TPM SRK Setup     Loaded: loaded (/usr/lib/systemd/system/systemd-tpm2-setup.service; static)     Active: failed (Result: exit-code) since Wed 2024-11-27 01:12:25 MST; 2 weeks 3 days ago Invocation: 25d551e8ce9a4e4ea3b04a615f442561       Docs: man:systemd-tpm2-setup.service(8)   Main PID: 669 (code=exited, status=1/FAILURE)   Mem peak: 1.7M        CPU: 85msNov 27 01:12:23 throne systemd[1]: Starting systemd-tpm2-setup.service - TPM SRK Setup...Nov 27 01:12:25 throne systemd-tpm2-setup[669]: WARNING:esys:src/tss2-esys/api/Esys_CreatePrimary.c:401:Esys_CreatePrimary_Finish() Received TPM ErrorNov 27 01:12:25 throne systemd-tpm2-setup[669]: ERROR:esys:src/tss2-esys/api/Esys_CreatePrimary.c:135:Esys_CreatePrimary() Esys Finish ErrorCode (0x000009a2)Nov 27 01:12:25 throne systemd-tpm2-setup[669]: Failed to get or create SRK: State not recoverableNov 27 01:12:25 throne systemd[1]: systemd-tpm2-setup.service: Main process exited, code=exited, status=1/FAILURENov 27 01:12:25 throne systemd[1]: systemd-tpm2-setup.service: Failed with result 'exit-code'.Nov 27 01:12:25 throne systemd[1]: Failed to start systemd-tpm2-setup.service - TPM SRK Setup.

Also every 10 seconds is logged: tpm tpm0: tpm2_load_context: failed with a TPM error 0x0902

Example:
_KERNEL_SUBSYSTEMtpm_KERNEL_DEVICEc10:224_UDEV_DEVNODE/dev/tpm0_UDEV_SYSNAMEtpm0_TRANSPORTkernelPRIORITY4SYSLOG_FACILITY0SYSLOG_IDENTIFIERkernelMESSAGEtpm tpm0: tpm2_load_context: failed with a TPM error 0x0902_RUNTIME_SCOPEsystem

I tried to get help on this from linux-tpm2 list but still unresolved.  Laurent there thought it could be related to a tpm2 command is sent every 10s.  I've got:

 tpm2-abrmd.service - TPM2 Access Broker and Resource Management Daemon     Loaded: loaded (/usr/lib/systemd/system/tpm2-abrmd.service; enabled; preset: enabled)     Active: active (running) since Wed 2024-11-27 01:12:32 MST; 2 weeks 3 days ago Invocation: 2649f879e99646cca1d2e3b154ac58e9   Main PID: 880 (tpm2-abrmd)      Tasks: 7 (limit: 18793)     Memory: 676K (peak: 1.9M swap: 440K swap peak: 676K)        CPU: 4.135s     CGroup: /system.slice/tpm2-abrmd.service             └─880 /usr/sbin/tpm2-abrmdNov 27 01:12:32 throne systemd[1]: Starting tpm2-abrmd.service - TPM2 Access Broker and Resource Management Daemon...Nov 27 01:12:32 throne systemd[1]: Started tpm2-abrmd.service - TPM2 Access Broker and Resource Management Daemon.

but not sure if it's sending commands... I tried stopping it and there's still dmesg error every 10s so I guess it's something else.  0x000009a2 from the systemd errors is close to 0x0902 from dmesg errors maybe they're related.  I pretty much exhausted searching for solutions to the 0x0902 without luck, but have yet to see what others have done about the 0x000009a2, in time!  Resolving either the systemd or dmesg errors would be a step in the right direction!  Checking if anyone here has Ideas ahead of time... Thanks!

Statistics: Posted by scar — 2024-12-15 05:29 — Replies 0 — Views 39



Viewing all articles
Browse latest Browse all 3250

Trending Articles