From: <Alexander.Steffen-d0qZbvYSIPpWk0Htik3J/w@public.gmane.org> To: bigon-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Subject: Re: tpm device not showing up in /dev anymore Date: Tue, 29 Aug 2017 16:00:49 +0000 [thread overview] Message-ID: <dcad0104c46d4d5f88e642862bdb42c2@MUCSE603.infineon.com> (raw) In-Reply-To: <f9526f55-df96-64fc-a4d6-877ce04e7156-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> Hi Laurent, > Since the version 4.12 (I also tested with 4.13-rc5) of the kernel, the tpm > device is not showing up in /dev/. In dmesg I can see the following > lines: Do you know what TPM you are using exactly (model number, firmware version, etc.)? > > [ 1.772153] tpm_tis 00:06: 1.2 TPM (device-id 0x6871, rev-id 1) [ > > 1.788106] tpm tpm0: tpm_transmit: tpm_send: error -5 [ 1.788146] > > tpm tpm0: A TPM error (-5) occurred attempting to determine the > > timeouts [ 1.788194] tpm_tis: probe of 00:06 failed with error -5 [ > > 1.796865] ima: No TPM chip found, activating TPM-bypass! (rc=-19) [ > > 10.085245] tpm_inf_pnp 00:06: Found TPM with ID IFX0102 > > If I'm reverting to 4.11, everything is working fine. Error -5 is EIO, which is as far as I can tell only used in few places (related to expect flag checks) in the tpm_transmit code path that first reports that error. If this is what causes the problem, then it only tells us that the TPM did not understand the command correctly (it received not enough/too much data). I cannot see any obvious changes between 4.11 and 4.12 that might affect the behavior in that region. > An idea how to troubleshoot this? Can you run git bisect on the changes between 4.11 and 4.12, so that we find the offending commit? It is probably sufficient to limit the search to commits that touch something in drivers/char/tpm. Alexander ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
next prev parent reply other threads:[~2017-08-29 16:00 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-08-28 11:28 Laurent Bigonville [not found] ` <f9526f55-df96-64fc-a4d6-877ce04e7156-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> 2017-08-29 16:00 ` Alexander.Steffen-d0qZbvYSIPpWk0Htik3J/w [this message] [not found] ` <dcad0104c46d4d5f88e642862bdb42c2-nFblLGNE8XKJSz+rYg/bSJowlv4uC7bZ@public.gmane.org> 2017-08-29 16:35 ` Laurent Bigonville [not found] ` <47c4300b-8701-79a6-1c58-3a5853f4c5e3-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> 2017-08-29 17:39 ` Peter Huewe 2017-08-29 18:55 ` Laurent Bigonville [not found] ` <595efb25-8d87-f39d-037f-9c9a98462339-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> 2017-08-31 12:10 ` Alexander.Steffen-d0qZbvYSIPpWk0Htik3J/w [not found] ` <857106e4bb864bb8a68b1381fffc8f50-nFblLGNE8XKJSz+rYg/bSJowlv4uC7bZ@public.gmane.org> 2017-08-31 16:40 ` Jerry Snitselaar 2017-09-01 12:10 ` Laurent Bigonville [not found] ` <0d9be244-ace0-030d-6ff9-c4e94c63b7e9-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> 2017-09-06 4:05 ` Jarkko Sakkinen [not found] ` <20170906040555.fqedhmo5277sd6fq-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> 2017-10-14 8:13 ` Jerry Snitselaar 2017-10-21 8:53 ` Laurent Bigonville [not found] ` <b63b765d-2477-d9fe-9d80-c2ea7e582bce-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> 2017-10-23 13:23 ` Jarkko Sakkinen [not found] ` <20171023132346.jbqgokwv3ah2oqjo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> 2017-10-23 13:45 ` Jerry Snitselaar 2017-10-23 13:48 ` Laurent Bigonville 2017-10-24 13:51 ` Jarkko Sakkinen [not found] ` <20171024135123.uqail7olnespun4k-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> 2017-10-24 14:57 ` Jerry Snitselaar 2017-10-24 16:07 ` Jarkko Sakkinen [not found] ` <20171024160725.r6kj452jdzpkbb6o-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> 2017-11-09 0:04 ` Laurent Bigonville [not found] ` <8f4df9a9-c8cd-832f-4c3f-5305fabab7a8-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> 2017-11-09 19:58 ` Laurent Bigonville [not found] ` <0a6e4771-f871-b3ca-b5b0-26dbd9efa8b1-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> 2017-11-09 23:50 ` Jerry Snitselaar [not found] ` <20171109235005.pmklfw6zkjirahfa-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> 2017-11-10 2:19 ` Jerry Snitselaar 2017-10-25 8:04 ` Laurent Bigonville 2017-09-06 5:09 Jerry Snitselaar
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=dcad0104c46d4d5f88e642862bdb42c2@MUCSE603.infineon.com \ --to=alexander.steffen-d0qzbvysippwk0htik3j/w@public.gmane.org \ --cc=bigon-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org \ --cc=tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \ --subject='Re: tpm device not showing up in /dev anymore' \ /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
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 NNTP newsgroup(s).