All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Tricca <philip.b.tricca at intel.com>
To: tpm2@lists.01.org
Subject: Re: [tpm2] Initialization fails with error 0xb000b
Date: Wed, 28 Mar 2018 10:49:15 -0700	[thread overview]
Message-ID: <20180328174915.GB25666@intel.com> (raw)
In-Reply-To: HE1PR03MB3164B429D84E85C20125579EF6A30@HE1PR03MB3164.eurprd03.prod.outlook.com

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

Hi Moneeb,

On Wed, Mar 28, 2018 at 05:15:10PM +0000, Moneeb Azhar wrote:
> Hey,
> 
> I am getting the following error on execution:
> 
> ubuntu:~/Desktop$ sudo tpm2-abrmd --allow-root --tcti=libtcti-socket.so
> ** (tpm2-abrmd:36554): WARNING **: failed to dlopen library: libtcti-socket.so
> ** (tpm2-abrmd:36554): CRITICAL **: TCTI initialization failed: 0xb000b
> 
> Same error if i execute as tss:
> 
> $ sudo -u tss tpm2-abrmd --tcti=libtcti-socket.so
> [sudo] password for wisn:
> ** (tpm2-abrmd:38290): WARNING **: failed to dlopen library: libtcti-socket.so
> ** (tpm2-abrmd:38290): CRITICAL **: TCTI initialization failed: 0xb000b
> 
> 
> I did ldconfig after installation with no effect. I created a gist of the installation steps I took, in case this helps: https://gist.github.com/moneeb777/ceabfad71462d4ffc3e0c25a9da2b2ff
> 
> Can someone guide me with this?

Gladly. Running as root vs running as tss user in this case shouldn't
have an impact. The daemon isn't able to open the shared object based on
the name you've provided. This library has been renamed in the tpm2-tss
repo in anticipation of our next major release. It is now called
"libtss2-tcti-mssim.so".

Dan just updated the man page for the daemon so that we're using the
right names in the examples:
https://github.com/tpm2-software/tpm2-abrmd/commit/98dd707fe58d839e2e642e2c9108c77e277b94f2

This of course assumes you're working off of the 'master' branch of the
repos of course.

Hope this helps,
Philip

             reply	other threads:[~2018-03-28 17:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-28 17:49 Philip Tricca [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-28 18:26 [tpm2] Initialization fails with error 0xb000b Moneeb Azhar
2018-03-28 17:15 Moneeb Azhar

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=20180328174915.GB25666@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.