All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kenneth Goldman <kgoldman at us.ibm.com>
To: tpm2@lists.01.org
Subject: [tpm2] Re: abrmd crashing - how to debug?
Date: Tue, 09 Mar 2021 15:16:46 -0500	[thread overview]
Message-ID: <OFAC01F3E6.388DCB4F-ON00258693.006F310A-85258693.006F663F@notes.na.collabserv.com> (raw)
In-Reply-To: a5967af7-8d95-1f14-f629-09083244e00d@gmail.com

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

> From: Tadeusz Struk <tstruk(a)gmail.com>
> To: Kenneth Goldman <kgoldman(a)us.ibm.com>, tpm2(a)lists.01.org
> Date: 03/09/2021 02:51 PM
> Subject: [EXTERNAL] Re: [tpm2] abrmd crashing - how to debug?
>
> Hi Ken,
> On 3/5/21 2:29 PM, Kenneth Goldman wrote:
> > Ubuntu focal with WSL, abrmd compiled from source
> >
> > After about 5 minutes of sending commands, abrmd crashes. I
> originally found it with keylime, but I can reproduce it with a
> simple bash loop on pcrread.
> >
> > abrmd exits, the tool output is:
> >
> > ** (process:21067): CRITICAL **: 17:25:10.862: failed to allocate
> dbus proxy object: Could not connect: Connection refused
> > WARNING:tcti:src/tss2-tcti/tctildr.c:79:tcti_from_init() TCTI init
> for function 0x7ff5f6dbbe10 failed with a0008
> > WARNING:tcti:src/tss2-tcti/tctildr.c:109:tcti_from_info() Could
> not initialize TCTI named: tcti-abrmd
> > ERROR:tcti:src/tss2-tcti/tctildr-dl.c:154:tcti_from_file() Could
> not initialize TCTI file: tabrmd
> > ERROR:tcti:src/tss2-tcti/tctildr.c:416:Tss2_TctiLdr_Initialize_Ex
> () Failed to instantiate TCTI
> > ERROR: Could not load tcti, got:
"tabrmd:bus_name=com.intel.tss2.Tabrmd"
> >
> > How would I debug?
> >
> > I would expect that nothing that a single application does should
> crash abrmd.
>
> I think it's not the abrmd that's failing, but the application that
> is trying to
> use tcti-abrmd to communicate with abrmd running in the background.
> It can not get the dbus handler so it just prints an error and fails.
> Can you look for some system dbus logs to see if there are any errors
there?

Sorry, but abrmd exits - with no error message.  Its window just goes back
to
the command prompt.  I'd call that a crash, assuming it should never exit.

If you tell me where 'the system dbus logs' are, I'd be willing
to post them.




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

             reply	other threads:[~2021-03-09 20:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 20:16 Kenneth Goldman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-15 11:58 [tpm2] Re: abrmd crashing - how to debug? ericc6727
2022-04-13 10:35 jasonadamses
2021-03-11 17:05 Kenneth Goldman
2021-03-09 22:45 Roberts, William C
2021-03-09 19:50 Tadeusz Struk

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=OFAC01F3E6.388DCB4F-ON00258693.006F310A-85258693.006F663F@notes.na.collabserv.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.