From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bedivere.hansenpartnership.com (bedivere.hansenpartnership.com [96.44.175.130]) by mx.groups.io with SMTP id smtpd.web09.3502.1619647417115202943 for ; Wed, 28 Apr 2021 15:03:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=JyguWvH0; spf=pass (domain: hansenpartnership.com, ip: 96.44.175.130, mailfrom: james.bottomley@hansenpartnership.com) Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 5B8C012803D6; Wed, 28 Apr 2021 15:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1619647416; bh=zzYTLSCXVYPsPHsjzBlvD56nENOo8fiILzbM26VOlKY=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:From; b=JyguWvH0/Rh7K8mNK6OleFOoDCLb4pDkgSvZ3SiUGrkP5nEqKyNmlKIGZXRW0P/8w bqfpNxwL5/9vBHzt4sR6qF0C1rHDLGbAN59a4N02tZcmdrjK/akHI+eRky75hjulHf 14QV/bbrzXruzC1JFq6lQjn20usR0F4RjCDDDk+c= Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nDLe4-zQp7Ld; Wed, 28 Apr 2021 15:03:36 -0700 (PDT) Received: from jarvis.int.hansenpartnership.com (unknown [IPv6:2601:600:8280:66d1::527]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 0042C1280398; Wed, 28 Apr 2021 15:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1619647416; bh=zzYTLSCXVYPsPHsjzBlvD56nENOo8fiILzbM26VOlKY=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:From; b=JyguWvH0/Rh7K8mNK6OleFOoDCLb4pDkgSvZ3SiUGrkP5nEqKyNmlKIGZXRW0P/8w bqfpNxwL5/9vBHzt4sR6qF0C1rHDLGbAN59a4N02tZcmdrjK/akHI+eRky75hjulHf 14QV/bbrzXruzC1JFq6lQjn20usR0F4RjCDDDk+c= Message-ID: Subject: Re: [edk2-devel] Problem: TPM 2.0 event log by OVMF is shown empty in Linux kernel versions after 5.8 From: "James Bottomley" To: devel@edk2.groups.io, public@thson.de, Laszlo Ersek Cc: ardb+tianocore@kernel.org Date: Wed, 28 Apr 2021 15:03:35 -0700 In-Reply-To: <5e515f291a1a79c6564ad99824dd9b5bb03a0e94.camel@HansenPartnership.com> References: <8f68431ac5e7ef1f28037856f92da8327cdfb737.camel@HansenPartnership.com> <43dd4c32-4084-beaf-4f07-7f429fad5a7d@thson.de> <5e515f291a1a79c6564ad99824dd9b5bb03a0e94.camel@HansenPartnership.com> User-Agent: Evolution 3.34.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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