tpm2_pcrread is not working because of tcti-abrmd
Chenxi Z
Hi,
Can I know why tpm2 tools is not working. Below are logs. Thank you for the help in advace.
[root(a)myhost ~]# tpm2_pcrread
** (process:3459977): WARNING **: 17:05:49.915: Failed to create connection with service: Timeout was reached WARNING:tcti:src/tss2-tcti/tctildr.c:79:tcti_from_init() TCTI init for function 0x7f0481c01ac0 failed with a0008 WARNING:tcti:src/tss2-tcti/tctildr.c:109:tcti_from_info() Could not initialize TCTI named: tcti-abrmd ERROR:tcti:src/tss2-tcti/tctildr-dl.c:150:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-tabrmd.so.0
(and hangs)
[root(a)myhost ~]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
... ...
Version info:
[root(a)myhost~]# rpm -qa | grep tpm2
tpm2-tss-2.4.3.x86_64
tpm2-tools-4.3.0.x86_64
tpm2-abrmd-2.3.3.x86_64
[root(a)myhost ~]# service tpm2-abrmd status
Redirecting to /bin/systemctl status tpm2-abrmd.service
● tpm2-abrmd.service - TPM2 Access Broker and Resource Management Daemon
Loaded: loaded (/usr/lib/systemd/system/tpm2-abrmd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2020-12-14 16:48:42 PST; 15min ago
Main PID: 3422797 (tpm2-abrmd)
IO: 0B read, 0B written
Tasks: 4
Memory: 2.0M
CPU: 49ms
CGroup: /system.slice/tpm2-abrmd.service
└─3422797 /usr/sbin/tpm2-abrmdWarning: journal has been rotated since unit was started, output may be incomplete.
Thanks,
Chenxi
Chenxi Z
rebooting the host helped and resolved this issue. Tpm2-pcrread is back to work well.
I have multiple hosts having the same issue. Rebooting is a heavy operation. Other than rebooting hosts, Is there a way to reset TPM HW through command line?
Roberts
Not that I am aware of. If tpm2_pcrread isn't working, then I doubt if a command existed to do what you want, that the command would even reach the TPM.
Quoted 15 lines
-----Original Message-----
From: Chenxi Z <cxzhang1981(a)hotmail.com>
Sent: Tuesday, December 15, 2020 7:00 PM
To: tpm2(a)lists.01.org
Subject: [tpm2] Re:tpm2_pcrreadis not working because of tcti-abrmdrebooting the host helped and resolved this issue. Tpm2-pcrread is back to work well.
I have multiple hosts having the same issue. Rebooting is a heavy operation. Other than rebooting hosts, Is there a way to reset TPM HW through command line?
_______________________________________________
tpm2 mailing list -- tpm2(a)lists.01.org
To unsubscribe send an email to tpm2-leave(a)lists.01.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s