Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761327Ab3DBODm (ORCPT ); Tue, 2 Apr 2013 10:03:42 -0400 Received: from mail-la0-f54.google.com ([209.85.215.54]:51785 "EHLO mail-la0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761282Ab3DBODk (ORCPT ); Tue, 2 Apr 2013 10:03:40 -0400 MIME-Version: 1.0 In-Reply-To: <733a6b303b7e9a3c4fb396acad9d9c5c@gentoo.se> References: <20130319023440.GA12425@aaronlu.sh.intel.com> <51540408.3000702@intel.com> <74A44E99E3274B4CB570415926B37D4414B14E@MUCSE501.eu.infineon.com> <733a6b303b7e9a3c4fb396acad9d9c5c@gentoo.se> From: Kent Yoder Date: Tue, 2 Apr 2013 09:03:08 -0500 Message-ID: Subject: Re: [tpmdd-devel] tpm_tis driver failed to suspend, error -62 To: peterasplund@gentoo.se Cc: Peter.Huewe@infineon.com, mail@srajiv.net, aaron.lu@intel.com, tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Content-Type: multipart/mixed; boundary=bcaec52d4d313c9a8b04d961348e Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4267 Lines: 92 --bcaec52d4d313c9a8b04d961348e Content-Type: text/plain; charset=ISO-8859-1 Hi Peter, On Mon, Apr 1, 2013 at 4:17 PM, wrote: > 2013-03-28 14:12 skrev Peter.Huewe@infineon.com: >> What also might be worth a look - in your bugzilla it states: >> [ 0.225891] pnp 00:0a: Plug and Play ACPI device, IDs IFX0102 PNP0c31 >> (active) >> [ 9.150673] tpm_tis 00:0a: 1.2 TPM (device-id 0xB, rev-id 16) >> [ 9.292148] tpm_tis 00:0a: Adjusting TPM timeout parameters. >> [ 10.084067] tpm_tis 00:0a: A TPM error (7) occurred attempting to >> read a pcr >> value >> [ 10.084077] tpm_tis 00:0a: TPM is disabled/deactivated (0x7) >> >> >> Can you perhaps try to enable your TPM in the BIOS? It's quite often >> hidden under "embedded security device" or "system security". >> Quite often you have to have a bios password set to access these >> settings. >> If your system does not have bios support for TPMs, please tell me so >> and I'll try to help you out. >> > > I've enabled it in BIOS now, and the output seems to be a bit > different. Not too uplifting though... > > root@zepto:/home/peter# dmesg | grep tpm > [ 14.631662] tpm_tis 00:08: 1.2 TPM (device-id 0xB, rev-id 16) > [ 14.748276] tpm_tis 00:08: Adjusting TPM timeout parameters. > [ 34.908128] tpm_tis 00:08: tpm_transmit: tpm_send: error -62 > [ 125.992108] tpm_tis 00:08: tpm_transmit: tpm_send: error -62 > [ 212.908502] tpm_tis 00:08: tpm_transmit: tpm_send: error -62 > root@zepto:/home/peter# tpm_version > Tspi_Context_Connect failed: 0x00003011 - layer=tsp, code=0011 (17), > Communication failure > root@zepto:/home/peter# tcsd -f > TCSD TDDL ioctl: (25) Inappropriate ioctl for device > TCSD TDDL Falling back to Read/Write device support. > TCSD TDDL ERROR: write to device /dev/tpm0 failed: Timer expired > TCSD TCS ERROR: TCS GetCapability failed with result = 0x1087 Can you cat /sys/class/misc/tpm0/device/timeouts? Ivan Pryvalov reported that his TPM showed values that were too small to keep from causing timeouts waiting on TPM commands, but too big to trigger the driver's code to scale them. (He saw 12000 for the 3 timeout values.) If you're seeing similar values, can you try the attached patch? Thanks, Kent > /Peter A > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > tpmdd-devel mailing list > tpmdd-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tpmdd-devel --bcaec52d4d313c9a8b04d961348e Content-Type: application/octet-stream; name="tpm_timeouts.patch" Content-Disposition: attachment; filename="tpm_timeouts.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hf14xby60 Y29tbWl0IDMxODExYzM4OGFhMjlhOWE5NGE2OGYxOTExMjc3MzM4NmRhZjNkYjkKQXV0aG9yOiBL ZW50IFlvZGVyIDxrZXlAbGludXgudm5ldC5pYm0uY29tPgpEYXRlOiAgIFR1ZSBNYXIgMjYgMTM6 NDE6NDkgMjAxMyAtMDUwMAoKICAgIHRlc3QgY29tbWl0IGZvciBpdmFuCiAgICAKICAgIFNpZ25l ZC1vZmYtYnk6IEtlbnQgWW9kZXIgPGtleUBsaW51eC52bmV0LmlibS5jb20+CgpkaWZmIC0tZ2l0 IGEvZHJpdmVycy9jaGFyL3RwbS90cG0uYyBiL2RyaXZlcnMvY2hhci90cG0vdHBtLmMKaW5kZXgg YWQ3YzczMi4uYjUyZTFiZSAxMDA2NDQKLS0tIGEvZHJpdmVycy9jaGFyL3RwbS90cG0uYworKysg Yi9kcml2ZXJzL2NoYXIvdHBtL3RwbS5jCkBAIC01NjMsNiArNTYzLDkgQEAgaW50IHRwbV9nZXRf dGltZW91dHMoc3RydWN0IHRwbV9jaGlwICpjaGlwKQogCQkvKiB0aW1lb3V0cyBpbiBtc2VjIHJh dGhlciB1c2VjICovCiAJCXNjYWxlID0gMTAwMDsKIAkJY2hpcC0+dmVuZG9yLnRpbWVvdXRfYWRq dXN0ZWQgPSB0cnVlOworCX0gZWxzZSBpZiAodGltZW91dCAmJiB0aW1lb3V0IDwgMjAwMDApIHsK KwkJc2NhbGUgPSAxMDA7CisJCWNoaXAtPnZlbmRvci50aW1lb3V0X2FkanVzdGVkID0gdHJ1ZTsK IAl9CiAJaWYgKHRpbWVvdXQpCiAJCWNoaXAtPnZlbmRvci50aW1lb3V0X2EgPSB1c2Vjc190b19q aWZmaWVzKHRpbWVvdXQgKiBzY2FsZSk7Cg== --bcaec52d4d313c9a8b04d961348e-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/