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

From: Paul Menzel
Date: Fri Dec 15 2017 - 10:11:03 EST


Dear Mario,


On 12/15/17 15:39, Mario.Limonciello@xxxxxxxx wrote:
-----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`

[â]

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.

I think it started in Alexanderâs reply (Message-ID: <10b81a727ba940889095fa4bb29d0863@xxxxxxxxxxxx>) that line breaks were added to quotes. Your only adds a long âOriginal Messageâ header.

<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.

Well as far as I understood it, itâs not a regression, and there is now just better error reporting. Did you ever get the TPM to work?

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

Unfortuntately itâs not listed with fwupd 0.7.0-0ubuntu4.3 in Ubuntu 16.04.3 LTS installed by Dell.

```
$ fwupdmgr get-devices
ro__sys_devices_pci0000_00_0000_00_02_0
Guid: 3ec3df3a-2290-56e5-9d2f-eda62e9ab50b
Provider: Udev
Flags: internal|locked
DeviceVendor: Intel Corporation
Created: 2017-12-15
Trusted: none

UEFI-5ffdbc0d-f340-441c-a803-8439c8c0ae10-dev0
Guid: 5ffdbc0d-f340-441c-a803-8439c8c0ae10
DisplayName: XPS 13 9360
Provider: UEFI
Flags: internal|allow-offline|require-ac
Version: 0.2.4.2
VersionLowest: 0.2.4.2
Created: 2017-12-15
Trusted: none

usb:00:05
Guid: 87c78d19-a3ed-5778-9b69-8eb701529940
DisplayName: Integrated_Webcam_HD
Provider: USB
Flags: none
Version: 99.24
Created: 2017-12-15
Trusted: none

usb:00:04
Guid: 0f15c153-cc04-589b-8886-aba87f98918d
DisplayName: Touchscreen
Provider: USB
Flags: none
Version: 17.17
Created: 2017-12-15
Trusted: none

```

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

[The date is December 12th, 2017.]

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.

It looks like I am out of luck with Ubuntu 16.04.3 [1].


Kind regards,

Paul


[1] https://github.com/hughsie/fwupd/issues/301#issuecomment-342164366

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature