Skip to content

Instantly share code, notes, and snippets.

@tobyp
Last active January 3, 2023 16:12
Show Gist options
  • Save tobyp/9ea2a3a2a553e5d5a3186c114f1b4223 to your computer and use it in GitHub Desktop.
Save tobyp/9ea2a3a2a553e5d5a3186c114f1b4223 to your computer and use it in GitHub Desktop.
Log of tpm2_startup based on https://github.com/tpm2-software/tpm2-tss/pull/2479 at 020c7c397a37627754ad2c81a867cd02241fa938
[~]% TSS2_LOG=all+INFO,tcti+TRACE LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/tpm2_startup -V -T "spi-lt2go" -c
debug:tcti:src/tss2-tcti/tctildr.c:161:tctildr_conf_parse() name_conf: "spi-lt2go"
debug:tcti:src/tss2-tcti/tctildr.c:168:tctildr_conf_parse() TCTI name: "spi-lt2go"
debug:tcti:src/tss2-tcti/tctildr-dl.c:314:tctildr_get_tcti() name: "spi-lt2go", conf: "(null)"
trace:tcti:src/tss2-tcti/tctildr-dl.c:151:tcti_from_file() Attempting to load TCTI file: spi-lt2go
debug:tcti:src/tss2-tcti/tctildr-dl.c:92:handle_from_name() Could not load TCTI file: "spi-lt2go": spi-lt2go: cannot open shared object file: No such file or directory
trace:tcti:src/tss2-tcti/tctildr.c:111:tcti_from_info() Attempting to load TCTI info
trace:tcti:src/tss2-tcti/tctildr.c:118:tcti_from_info() Loaded TCTI info named: tcti-spi-lt2go
trace:tcti:src/tss2-tcti/tctildr.c:119:tcti_from_info() TCTI description: TCTI for communicating with LetsTrust-TPM2Go.
trace:tcti:src/tss2-tcti/tctildr.c:120:tcti_from_info() TCTI config_help: Takes no configuration.
trace:tcti:src/tss2-tcti/tctildr.c:63:tcti_from_init() Initializing TCTI for config: (null)
debug:tcti:src/tss2-tcti/tcti-spi-helper.c:708:Tss2_Tcti_Spi_Helper_Init() Probing TPM...
trace:tcti:src/tss2-tcti/tcti-spi-helper.c:163:spi_tpm_helper_log_register_access() READ register 0xd40f00 (4 bytes) (size=4): 0000: 00000000
[repeat previous line 99 more times]
ERROR:tcti:src/tss2-tcti/tcti-spi-helper.c:719:Tss2_Tcti_Spi_Helper_Init() Probing TPM failed
debug:tcti:src/tss2-tcti/tctildr.c:94:tcti_from_init() TCTI init for function 0x7f71db8b56d0 failed with a000a
debug:tcti:src/tss2-tcti/tctildr.c:124:tcti_from_info() Could not initialize TCTI named: tcti-spi-lt2go
ERROR:tcti:src/tss2-tcti/tctildr-dl.c:169:tcti_from_file() Could not initialize TCTI file: spi-lt2go
ERROR:tcti:src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI
ERROR: Could not load tcti, got: "spi-lt2go"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment