RE: [Regression 4.15-rc2] New messages `tpm tpm0: A TPM error (2314) occurred continue selftest`

From: Mario.Limonciello
Date: Fri Dec 15 2017 - 09:40:02 EST


> -----Original Message-----
> From: Paul Menzel [mailto:pmenzel@xxxxxxxxxxxxx]
> Sent: Friday, December 15, 2017 5:54 AM
> To: Limonciello, Mario <Mario_Limonciello@xxxxxxxx>; Alexander Steffen
> <Alexander.Steffen@xxxxxxxxxxxx>; Jason Gunthorpe <jgg@xxxxxxxx>
> Cc: linux-integrity@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Rafael J.
> Wysocki <rafael.j.wysocki@xxxxxxxxx>; Len Brown <len.brown@xxxxxxxxx>
> Subject: Re: [Regression 4.15-rc2] New messages `tpm tpm0: A TPM error (2314)
> occurred continue selftest`
>
> [Adding Rafael and Len as they, to my knowledge, also use or have a
> access to a Dell XPS 13 9360. With latest Linux master do you get TPM
> self-test errors, when cold starting the system without the power supply
> plugged in?]
>
> Dear Mario, dear Alexander,
>
>
> the added line breaks to the quoted parts really mess up the citation.
> Can we please try to use MUAs avoiding that, or fixing that manually?

I don't know what you mean. I think this is directed at Alexander?
If this is directed to me I can't change mail clients, sorry.

<snip>

> >
> > Yes it's required for the TPM model/vendor that is used in the XPS model that
> > Paul has. If you try to run the upgrade without clearing it the firmware will
> > reject the upgrade.
>
> Mario, thank you for your quick reaction.
>
> [â]
>
> 1. Can you reproduce this issue too?

I haven't seen this, but if this is a regression I also have not run anything
later than 4.15-rc1 right now.

> 2. How do I find out, what TPM firmware version is installed?

fwupd will tell you. Documentation (and code) here:
https://github.com/hughsie/fwupd/tree/master/plugins/dell

> 3. Updating to the firmware 2.4.2 from December 17th, 2017 didnât fix

The TPM in the XPS is a discrete TPM that is treated separately from the system
firmware payload. It supports both a "1.2" and a "2.0" firmware.

It is independently flashed from a separate TPM payload that is distributed
on LVFS.