Skip to content

[Bug]: Allocated TCG2 event log buffer size is too small #867

Description

@paddylandau

Version

7.2.16

Host OS Type

Linux

Host OS name + version

Ubuntu 24.04 LTS

Host Architecture

x86

Guest OS Type

Linux

Guest Architecture

x86

Guest OS name + version

Ubuntu 26.04 LTS

Component

EFI

What happened?

When starting the guest, specifically after the selection has been made on the GRUB screen, there is a brief warning as follows:

EFI stub: WARNING: Failed to measure data for event 1: 0x800000000000000b

From what I have been told, this means that the UEFI firmware's memory buffer allocated for recording the human-readable TCG Event Log ran out of space.

The solution (I believe) is to increase the hard-coded memory buffer for the TCG event log when assigning a virtual TPM 2 to the guest. The user (me) has no control over the size.

Log file:
VBox.log

How can we reproduce this?

The guest is a fairly standard installation of Ubuntu 26.04, installed without the TPM-backed FDE method. Subsequently, Clevis was installed.

I suspect that the addition of Clevis increased the memory requirements, because it increases the size of /boot/initrd.img and the number of event log entries. This might be what triggers the EFI_VOLUME_FULL message.

Did you upload all of your necessary log files, screenshots, etc.?

  • Yes, I've uploaded all pertinent files to this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions