Hi Am 29. August 2017 18:35:26 MESZ schrieb Laurent Bigonville <bi...@debian.org>: >Le 29/08/17 à 18:00, alexander.stef...@infineon.com a écrit : >> Hi Laurent, > >Hello Alexander, > >>> 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.)? >tpm_version shows: > ># tpm_version >xK�N TPM 1.2 Version Info: > Chip Version: 1.2.3.6 > Spec Level: 2 > Errata Revision: 0 > TPM Vendor ID: SNS > TPM Version: 01010000 > Manufacturer Info: 534e5300 > > >> >>>> [ 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. > >I'll try and keep you posted. > >Thanks for your answer.
Can you also maybe post the dmesg output on 4.11 for reference? Peter > >Laurent Bigonville > >> >> Alexander > > >------------------------------------------------------------------------------ >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 -- Sent from my mobile ------------------------------------------------------------------------------ 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