* [tpm2] how can i use abrmd/tpmrm0 with tpm2-tools
@ 2018-12-12 15:45 Petko Manolov
0 siblings, 0 replies; 2+ messages in thread
From: Petko Manolov @ 2018-12-12 15:45 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 976 bytes --]
Hey guys,
I'm on Debian testing (tpm2-abrmd version 2.0.3, tpm2-tools 3.1.3, kernel
v4.19.8) and no matter how i play with environment variables i can't get the
tpm2_xxx to talk to the abrm daemon. Since this kernel has builtin RM i assume
there might be a collision between the userspace and kernel implementations.
I ran into this issue as my script's 'tpm2_load' runs out of memory (error
0x902). Running "tpm2-abrmd -f --allow-root" doesn't complain but:
# tpm2_takeownership -c
ERROR:tcti:src/tss2-tcti/tcti-device.c:319:Tss2_Tcti_Device_Init() Failed to open device file /dev/tpm0: Device or resource busy
ERROR: tcti init allocation routine failed for library: "device" options: "(null)"
ERROR: Could not load tcti, got: "device"
How do i tell tpm2_xxx to use the userspace daemon instead of /dev/tpm0?
I'd like to apologize if this has been answered before. If that's the case
please point me to the corresponding thread.
Petko
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [tpm2] how can i use abrmd/tpmrm0 with tpm2-tools
@ 2018-12-12 15:55 Tadeusz Struk
0 siblings, 0 replies; 2+ messages in thread
From: Tadeusz Struk @ 2018-12-12 15:55 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 650 bytes --]
On 12/12/18 7:45 AM, Petko Manolov wrote:
> # tpm2_takeownership -c
> ERROR:tcti:src/tss2-tcti/tcti-device.c:319:Tss2_Tcti_Device_Init() Failed to open device file /dev/tpm0: Device or resource busy
> ERROR: tcti init allocation routine failed for library: "device" options: "(null)"
> ERROR: Could not load tcti, got: "device"
>
> How do i tell tpm2_xxx to use the userspace daemon instead of /dev/tpm0?
>
> I'd like to apologize if this has been answered before. If that's the case
> please point me to the corresponding thread.
Try 'man tpm2_takeownership' and find the TCTI ENVIRONMENT and TCTI OPTIONS sections.
--
Tadeusz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-12 15:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-12 15:45 [tpm2] how can i use abrmd/tpmrm0 with tpm2-tools Petko Manolov
2018-12-12 15:55 Tadeusz Struk
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.