lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 15 Dec 2017 15:24:22 +0000
From:   <Mario.Limonciello@...l.com>
To:     <pmenzel@...gen.mpg.de>, <Alexander.Steffen@...ineon.com>,
        <jgg@...pe.ca>
CC:     <linux-integrity@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <rafael.j.wysocki@...el.com>, <len.brown@...el.com>
Subject: RE: [Regression 4.15-rc2] New messages `tpm tpm0: A TPM error (2314)
 occurred continue selftest`

> -----Original Message-----
> From: Paul Menzel [mailto:pmenzel@...gen.mpg.de]
> Sent: Friday, December 15, 2017 9:11 AM
> To: Limonciello, Mario <Mario_Limonciello@...l.com>; Alexander Steffen
> <Alexander.Steffen@...ineon.com>; Jason Gunthorpe <jgg@...pe.ca>
> Cc: linux-integrity@...r.kernel.org; linux-kernel@...r.kernel.org;
> rafael.j.wysocki@...el.com; len.brown@...el.com
> Subject: Re: [Regression 4.15-rc2] New messages `tpm tpm0: A TPM error (2314)
> occurred continue selftest`
> 
> Dear Mario,
> 
> 
> On 12/15/17 15:39, Mario.Limonciello@...l.com wrote:
> >> -----Original Message-----
> >> From: Paul Menzel [mailto:pmenzel@...gen.mpg.de]
> >> Sent: Friday, December 15, 2017 5:54 AM
> >> To: Limonciello, Mario <Mario_Limonciello@...l.com>; Alexander Steffen
> >> <Alexander.Steffen@...ineon.com>; Jason Gunthorpe <jgg@...pe.ca>
> >> Cc: linux-integrity@...r.kernel.org; linux-kernel@...r.kernel.org; Rafael J.
> >> Wysocki <rafael.j.wysocki@...el.com>; Len Brown <len.brown@...el.com>
> >> 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@...ineon.com>) that line breaks were
> added to quotes. Your only adds a long “Original Message” header.
> 
File->Options->Mail->Replies and Forwards
Change "When Replying to a message"
to "Prefix each line of the original message"

That should help.

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

I don't personally use a TPM with Linux on the XPS 9360, but TPM was 
tested by our partners when the XPS 9360 was enabled for Ubuntu.

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

If you're unwilling to upgrade to a newer userspace, you can write 
a simple application that can use the new dell-smbios from 4.15 interface to look this up.

Most of the work is already done (see
https://github.com/torvalds/linux/blob/master/tools/wmi/dell-smbios-example.c#L179)

You'll just need to add some parsing around the output (see fwupd code) to
tell the version.  If you do this, please feel free to submit it platform-x86, it may be useful
for someone else in this sample application too.

Given you don't have a newer fwupd on your system you won't be able to "easily" flash
the newer TPM firmware.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ