From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=150.165.85.253; helo=mta-zimbra.lsd.ufcg.edu.br; envelope-from=ricardo@lsd.ufcg.edu.br; receiver=edk2-devel@lists.01.org Received: from mta-zimbra.lsd.ufcg.edu.br (mta-zimbra.lsd.ufcg.edu.br [150.165.85.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A6285210C7AEA for ; Wed, 1 Aug 2018 10:50:49 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mta-zimbra.lsd.ufcg.edu.br (Postfix) with ESMTP id EFC5C3A2DDD for ; Wed, 1 Aug 2018 14:50:47 -0300 (-03) Received: from mta-zimbra.lsd.ufcg.edu.br ([127.0.0.1]) by localhost (mta-zimbra.lsd.ufcg.edu.br [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id wbWIDEX4YK2h; Wed, 1 Aug 2018 14:50:46 -0300 (-03) Received: from localhost (localhost [127.0.0.1]) by mta-zimbra.lsd.ufcg.edu.br (Postfix) with ESMTP id F212B3A2DFA; Wed, 1 Aug 2018 14:50:45 -0300 (-03) X-Virus-Scanned: amavisd-new at mta-zimbra.lsd.ufcg.edu.br Received: from mta-zimbra.lsd.ufcg.edu.br ([127.0.0.1]) by localhost (mta-zimbra.lsd.ufcg.edu.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id rrDx94q6pjVn; Wed, 1 Aug 2018 14:50:45 -0300 (-03) Received: from mta-zimbra.lsd.ufcg.edu.br (mta-zimbra.lsd.ufcg.edu.br [150.165.85.253]) by mta-zimbra.lsd.ufcg.edu.br (Postfix) with ESMTP id B00C73A2DDD; Wed, 1 Aug 2018 14:50:45 -0300 (-03) Date: Wed, 1 Aug 2018 14:50:45 -0300 (BRT) From: Ricardo =?utf-8?Q?Ara=C3=BAjo?= Reply-To: Ricardo =?utf-8?Q?Ara=C3=BAjo?= To: Ricardo =?utf-8?Q?Ara=C3=BAjo?= Cc: edk2-devel@lists.01.org Message-ID: <1169526465.93534.1533145845454.JavaMail.zimbra@lsd.ufcg.edu.br> In-Reply-To: <551258016.93465.1533144825411.JavaMail.zimbra@lsd.ufcg.edu.br> References: <551258016.93465.1533144825411.JavaMail.zimbra@lsd.ufcg.edu.br> MIME-Version: 1.0 X-Originating-IP: [10.30.0.39] X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - GC68 (Linux)/8.6.0_GA_1153) Thread-Topic: Missing boot related measurements at TPM 2.0 PCRs 0-7 with OVMF Thread-Index: XQ8KzFAL/yjJZX5Yqi5YcbqndMQDEflmsS6e Subject: Re: Missing boot related measurements at TPM 2.0 PCRs 0-7 with OVMF X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2018 17:50:50 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The commit I was referring to is: https://github.com/tianocore/edk2/commit/= f15cb995bb3880b77e15afe6facd3da05e599a17 Regards, Ricardo Araujo -=20 www.lsd.ufcg.edu.br/~ricardo=20 ----- Mensagem original ----- De: "Ricardo Ara=C3=BAjo" Para: edk2-devel@lists.01.org Enviadas: Quarta-feira, 1 de agosto de 2018 14:33:45 Assunto: [edk2] Missing boot related measurements at TPM 2.0 PCRs 0-7 with = OVMF Hi everyone,=20 I'm using OVMF with a simulated TPM 2.0 (from https://github.com/stefanberg= er/swtpm) and I noticed lately that PCRs 0-7 are zeroed after booting the v= m (ubuntu 18.04) and the only message related to this in dmesg is:=20 [ 2.286690] tpm_tis 00:06: 2.0 TPM (device-id 0x1, rev-id 1)=20 [ 2.303753] tpm tpm0: A TPM error (256) occurred continue selftest=20 [ 2.314199] tpm tpm0: starting up the TPM manually=20 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 messa= ge is gone. Has anyone experienced the same behavior? I followed the instru= ctions here for building OVMF but I added the parameters -D TPM2_ENABLE=3DT= RUE -D SECURE_BOOT_ENABLE=3DTRUE -D HTTP_BOOT_ENABLE=3DTRUE. Is there anyth= ing else I need to add to enable these measurements?=20 Regards,=20 Ricardo Araujo=20 www.lsd.ufcg.edu.br/~ricardo=20 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel