tpm2-software / tpm2-abrmd

TPM2 Access Broker & Resource Management Daemon implementing the TCG spec.
https://github.com/tpm2-software/tpm2-abrmd
BSD 2-Clause "Simplified" License
115 stars 97 forks source link

Initialization fails with error 0xb000b #405

Closed moneeb777 closed 6 years ago

moneeb777 commented 6 years ago
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
Desktop$ uname -a
Linux ubuntu 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
moneeb777 commented 6 years ago

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
martinezjavier commented 6 years ago

@moneeb777 did you run ldconfig after installing tpm2-tss libraries?

Also, please use the mailing list for questions and just file an issue once is confirmed that's a bug.

moneeb777 commented 6 years ago

@martinezjavier yes I did run it earlier. I tried doing it again now just in case and the error persists.

Ok. I have emailed on the mailing list. You can close this for now.

moneeb777 commented 6 years ago

Issue resolved. Correct command is:

sudo -u tss tpm2-abrmd --tcti=libtss2-tcti-mssim.so