tpmdd-devel Archive mirror
 help / color / mirror / Atom feed
From: Paul Menzel <pmenzel-KUpvgZVWgV9o1qOY/usvUg@public.gmane.org>
To: Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Linux Kernel Mailing List
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Denis 'GNUtoo' Carikli
	<GNUtoo-n+LsquliYkMdnm+yROfE0A@public.gmane.org>
Subject: Re: Regression between Linux 3.16 and 4.8/4.9 on Lenovo X60 with coreboot
Date: Tue, 04 Apr 2017 19:44:24 +0200	[thread overview]
Message-ID: <6cd95003c558c2d5aac6eaaa5cd3e86e@molgen.mpg.de> (raw)
In-Reply-To: <20170404171533.GA3255-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>

Dear Jason,


Thank you for your reply.


On 2017-04-04 19:15, Jason Gunthorpe wrote:
> On Tue, Apr 04, 2017 at 06:29:06PM +0200, Paul Menzel wrote:
> 
>> Unfortunately, there seems to have been a regression between Linux 
>> 3.16
>> and 4.8 and 4.9, so that the Linux kernel doesn’t create the TPM
>> device.
> 
> That old kernel did not check error codes when reading burst count,
> the new one does. It is quite possible the older kernel is failing to
> read burst count and subtly malfunctioning.

GNUtoo got the messages below. Unfortunately, I don’t know, what Linux 
Kernel that is.

```
tpm_tis 00:07: 1.2 TPM (device-id 0x3202, rev-id 5)
tpm tpm0: A TPM error (38) occurred attempting to determine the timeouts
tpm tpm0: Issuing TPM_STARTUP
tpm tpm0: [Hardware Error]: Adjusting reported timeouts: A 
10000->10000us B 10000->10000us C 0->750000us D 0->750000us
```

> It would be helpful if you could prove/disprove this statement by
> adding some debugging to 3.16.

Could you please help me with that? Can I enable certain options to get 
more debugging information?

> As to why the burst count cannot be read.. I don't know, check if
> increasing the retries helps, it could be this particular TPM is out
> of spec for the cold startup process.

How can I increase the retry count?

>> Remove module and run `sudo modprobe tpm_tis itpm=1 force=1`.
> 
> Is this really an 'itpm'? It doesn't look like it..

Sorry, I don’t know. Leaving that out, gives the same messages though.

```
tpm tpm0: Unable to read burstcount
tpm tpm0: tpm_transmit: tpm_send: error -16
tpm_tis tpm_tis: Could not get TPM timeouts and durations
```


Kind regards,

Paul Menzel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
tpmdd-devel mailing list
tpmdd-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

  parent reply	other threads:[~2017-04-04 17:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-04 16:29 Regression between Linux 3.16 and 4.8/4.9 on Lenovo X60 with coreboot Paul Menzel
     [not found] ` <31e0ed69-174b-93ce-abf2-66cf08b1594e-KUpvgZVWgV9o1qOY/usvUg@public.gmane.org>
2017-04-04 17:15   ` Jason Gunthorpe
     [not found]     ` <20170404171533.GA3255-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-04-04 17:44       ` Paul Menzel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-04-05 11:03 Maciej S. Szmigiero
     [not found] ` <c4bfd77e-3fb9-8a9b-28f5-48e6c13beb12-APzI5cXaD1zVlRWJc41N0YvC60bnQu0Y@public.gmane.org>
2017-04-05 13:36   ` Jarkko Sakkinen
2017-04-06  6:18   ` Paul Menzel
     [not found]     ` <bf4ca184f43cc7b6ee8069b63558087c-KUpvgZVWgV9o1qOY/usvUg@public.gmane.org>
2017-04-06 11:52       ` Maciej S. Szmigiero
2017-04-06 16:55       ` Jason Gunthorpe
     [not found]         ` <20170406165557.GD7657-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-04-06 18:26           ` Paul Menzel
     [not found]             ` <3d62bd7d4addc020c2f8e3c2edf3280e-KUpvgZVWgV9o1qOY/usvUg@public.gmane.org>
2017-04-06 19:10               ` Jason Gunthorpe
     [not found]                 ` <20170406191013.GA25011-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-04-07 20:13                   ` Jarkko Sakkinen
     [not found]                     ` <20170407201347.2qcyrdzgg2yikoen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-04-07 20:58                       ` Paul Menzel
2017-04-06 18:58           ` Jarkko Sakkinen
2017-04-08 10:40         ` [tpmdd-devel] " Denis 'GNUtoo' Carikli
     [not found]           ` <20170408123651.76f18ba4-r3nPC/fXJJgy06l1zSILBM/Rnsmy/zvw/z7RTEddyNg@public.gmane.org>
2017-04-08 20:25             ` Jason Gunthorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6cd95003c558c2d5aac6eaaa5cd3e86e@molgen.mpg.de \
    --to=pmenzel-kupvgzvwgv9o1qoy/usvug@public.gmane.org \
    --cc=GNUtoo-n+LsquliYkMdnm+yROfE0A@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).