TPM2 (Trusted Platform Module) userspace development
 help / color / mirror / Atom feed
From: Chenxi Z <cxzhang1981 at hotmail.com>
To: tpm2@lists.01.org
Subject: [tpm2] tpm2_pcrread is not working because of tcti-abrmd
Date: Tue, 15 Dec 2020 01:13:16 +0000	[thread overview]
Message-ID: <20201215011316.4749.42@ml01.vlan13.01.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1559 bytes --]

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-abrmd

Warning: journal has been rotated since unit was started, output may be incomplete.

Thanks,
Chenxi

                 reply	other threads:[~2020-12-15  1:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201215011316.4749.42@ml01.vlan13.01.org \
    --to=tpm2@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox