[edk2-devel] Problem: TPM 2.0 event log by OVMF is shown empty in Linux kernel versions after 5.8

James Bottomley James.Bottomley at HansenPartnership.com
Wed Apr 28 22:03:35 UTC 2021


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




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#74582): https://edk2.groups.io/g/devel/message/74582
Mute This Topic: https://groups.io/mt/82391340/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list