From: "Ricardo Araújo" <ricardo@lsd.ufcg.edu.br>
To: edk2-devel@lists.01.org
Subject: Missing boot related measurements at TPM 2.0 PCRs 0-7 with OVMF
Date: Wed, 1 Aug 2018 14:33:45 -0300 (BRT) [thread overview]
Message-ID: <551258016.93465.1533144825411.JavaMail.zimbra@lsd.ufcg.edu.br> (raw)
Hi everyone,
I'm using OVMF with a simulated TPM 2.0 (from https://github.com/stefanberger/swtpm) and I noticed lately that PCRs 0-7 are zeroed after booting the vm (ubuntu 18.04) and the only message related to this in dmesg is:
[ 2.286690] tpm_tis 00:06: 2.0 TPM (device-id 0x1, rev-id 1)
[ 2.303753] tpm tpm0: A TPM error (256) occurred continue selftest
[ 2.314199] tpm tpm0: starting up the TPM manually
I found this started to happen after this commit , previous commits to that are showing boot time measurements on PCR 0-7 normally and the error message is gone. Has anyone experienced the same behavior? I followed the instructions here for building OVMF but I added the parameters -D TPM2_ENABLE=TRUE -D SECURE_BOOT_ENABLE=TRUE -D HTTP_BOOT_ENABLE=TRUE. Is there anything else I need to add to enable these measurements?
Regards,
Ricardo Araujo
www.lsd.ufcg.edu.br/~ricardo
next reply other threads:[~2018-08-01 17:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-01 17:33 Ricardo Araújo [this message]
2018-08-01 17:50 ` Missing boot related measurements at TPM 2.0 PCRs 0-7 with OVMF Ricardo Araújo
2018-08-01 21:49 ` Laszlo Ersek
2018-08-02 2:04 ` Zhang, Chao B
2018-08-02 13:14 ` Laszlo Ersek
2018-08-03 0:22 ` Zhang, Chao B
2018-08-03 13:39 ` Ricardo Araújo
2018-08-03 14:45 ` Laszlo Ersek
2018-08-06 15:26 ` Zhang, Chao B
2018-08-09 14:09 ` Marc-André Lureau
2018-08-09 14:55 ` Laszlo Ersek
2018-08-09 15:46 ` Zhang, Chao B
2018-08-09 16:09 ` 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=551258016.93465.1533144825411.JavaMail.zimbra@lsd.ufcg.edu.br \
--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