public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "James Bottomley" <James.Bottomley@HansenPartnership.com>
To: devel@edk2.groups.io, public@thson.de, Laszlo Ersek <lersek@redhat.com>
Cc: ardb+tianocore@kernel.org
Subject: Re: [edk2-devel] Problem: TPM 2.0 event log by OVMF is shown empty in Linux kernel versions after 5.8
Date: Wed, 28 Apr 2021 15:03:35 -0700	[thread overview]
Message-ID: <f31849e661d5d12acc0a6a3ec5e1cbb7c48495b9.camel@HansenPartnership.com> (raw)
In-Reply-To: <5e515f291a1a79c6564ad99824dd9b5bb03a0e94.camel@HansenPartnership.com>

On Wed, 2021-04-28 at 10:19 -0700, James Bottomley wrote:
> On Wed, 2021-04-28 at 16:56 +0200, Thore Sommer wrote:
> > TPM2 @ 0x0000000000000000
> >     0000: 54 50 4D 32 4C 00 00 00 04 7F 42 4F 43 48 53
> > 20  TPM2L.....BOCHS 
> >     0010: 42 58 50 43 54 50 4D 32 01 00 00 00 42 58 50
> > 43  BXPCTPM2....BXPC
> >     0020: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 00  ................
> >     0030: 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 00  ................
> >     0040: 00 00 01 00 00 C0 BB 7E 00 00 00
> > 00              .......~....
> 
> This is actually pretty much exactly what I see in the working OVMF
> 
> TPM2 @ 0x0000000000000000
>     0000: 54 50 4D 32 4C 00 00 00 04 DB 42 4F 43 48 53
> 20  TPM2L.....BOCHS 
>     0010: 42 58 50 43 54 50 4D 32 01 00 00 00 42 58 50
> 43  BXPCTPM2....BXPC
>     0020: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00  ................
>     0030: 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00  ................
>     0040: 00 00 01 00 00 60 BE 7F 00 00 00
> 00              .....`......
> 
> So it looks like the empty acpi table theory doesn't fly.

Actually, there's another possibility, which is that you're not booting
via the efi stub.  This is somewhat tricky to get right in grub, so you
can rule this out by booting ovmf to a shell and then executing vmlinuz
directly from the shell.

James



  parent reply	other threads:[~2021-04-28 22:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 19:56 Problem: TPM 2.0 event log by OVMF is shown empty in Linux kernel versions after 5.8 Thore Sommer
2021-04-26 23:44 ` [edk2-devel] " James Bottomley
2021-04-27  7:40   ` Thore Sommer
2021-04-27 14:00     ` Lendacky, Thomas
2021-04-27 15:35       ` Thore Sommer
2021-04-27 16:28       ` James Bottomley
2021-04-28 11:47   ` Laszlo Ersek
2021-04-28 14:56     ` Thore Sommer
2021-04-28 17:19       ` James Bottomley
2021-04-28 20:31         ` Thore Sommer
2021-04-28 22:03         ` James Bottomley [this message]
2021-04-29  8:20           ` Thore Sommer
2021-04-29  9:43           ` Thore Sommer
2021-04-30 15:51             ` Laszlo Ersek

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-list 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=f31849e661d5d12acc0a6a3ec5e1cbb7c48495b9.camel@HansenPartnership.com \
    --to=devel@edk2.groups.io \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox