TPM2 (Trusted Platform Module) userspace development
 help / color / mirror / Atom feed
From: Tadeusz Struk <tstruk at gmail.com>
To: tpm2@lists.01.org
Subject: [tpm2] Re: Error: "Could not initialize TCTI file" when calling tpm2_nvreadpublic
Date: Mon, 01 Jun 2020 09:29:45 -0700	[thread overview]
Message-ID: <6c4d9e03-a80e-532e-c12e-ddf7cbc56a54@gmail.com> (raw)
In-Reply-To: 20200601071935.2851.76678@ml01.vlan13.01.org

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

On 6/1/20 12:19 AM, Chenxi Z wrote:
> ~$ tpm2_nvreadpublic
> 
> ** (process:3426476): CRITICAL **: 23:52:45.971: CreateConnection expected to return 1 handles, received 2
> WARNING:tcti:src/tss2-tcti/tctildr.c:62:tcti_from_init() TCTI init for function 0x7f5a0003da10 failed with a0001
> WARNING:tcti:src/tss2-tcti/tctildr.c:92: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
> 0x1c00002:
> ... ...
> 
> if I do a restart "service tpm2-abrmd restart", then this issue can be resolved. I would like to resolve this without using the workaround.

What do you get when you run "service tpm2-abrmd status" before calling tpm2_nvreadpublic?

             reply	other threads:[~2020-06-01 16:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-01 16:29 Tadeusz Struk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-01 21:32 [tpm2] Re: Error: "Could not initialize TCTI file" when calling tpm2_nvreadpublic Chenxi Z

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=6c4d9e03-a80e-532e-c12e-ddf7cbc56a54@gmail.com \
    --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