All of lore.kernel.org
 help / color / mirror / Atom feed
* [tpm2] Initialization fails with error 0xb000b
@ 2018-03-28 17:15 Moneeb Azhar
  0 siblings, 0 replies; 3+ messages in thread
From: Moneeb Azhar @ 2018-03-28 17:15 UTC (permalink / raw)
  To: tpm2

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

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?

Regards,
Moneeb

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1460 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [tpm2] Initialization fails with error 0xb000b
@ 2018-03-28 18:26 Moneeb Azhar
  0 siblings, 0 replies; 3+ messages in thread
From: Moneeb Azhar @ 2018-03-28 18:26 UTC (permalink / raw)
  To: tpm2

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

Thanks a lot.


________________________________
From: Philip Tricca <philip.b.tricca(a)intel.com>
Sent: Wednesday, March 28, 2018 10:49 PM
To: Moneeb Azhar
Cc: tpm2(a)lists.01.org
Subject: Re: [tpm2] Initialization fails with error 0xb000b

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

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 3005 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [tpm2] Initialization fails with error 0xb000b
@ 2018-03-28 17:49 Philip Tricca
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Tricca @ 2018-03-28 17:49 UTC (permalink / raw)
  To: tpm2

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-28 18:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-28 17:15 [tpm2] Initialization fails with error 0xb000b Moneeb Azhar
2018-03-28 17:49 Philip Tricca
2018-03-28 18:26 Moneeb Azhar

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.