On 03/07/2018 12:10 PM, Hans de Goede wrote:
Both according to the BIOS and to the /sys/class/tpm/tpm0/device/description
file it is a TPM 2.0.
I see, so you can choose enabling the TPM 1.2 or TPM 2.0 device? At least that's
the case on my X1 Carbon laptop. I've both a hardware TPM 1.2 and a firmware TPM
2.0 that's implemented as an Intel ME application (AFAIU).
I'm actually amazed that this machine has a TPM at all, a quick internet
search shows that it is a software implemented TPM running as part of the
TXE firmware.
A quick search suggests that it comes with Windows 10?
For start, can you please check if you can boot a v4.16-rcX kernel with the
TPM device enabled? That way we will know that at least that it consistently
fails on this machine and is not and isolated issue.
I just tried and v4.16-rc3 boots fine for me, repeatedly.
That's an interesting data point.
I guess Jeremy's model may actually have something in the TPM log
I don't think so. The UEFI firmware already does some measurements and also
does shim. So you *should* have some logs.
while my TPM log is empty... Is there anyway to make sure the TPM
log has some info to retreive?
Are you also able to read the TPM event logs?
$ hexdump /sys/kernel/security/tpm0/binary_bios_measurements
The UEFI firmware does some measurements and so does shim. So you should
have some event logs. What version of shim are you using? And also would
be good to know if it's the same shim version that Jeremy is using.