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:	Tue, 2 Apr 2013 09:03:08 -0500
From:	Kent Yoder <shpedoikal@...il.com>
To:	peterasplund@...too.se
Cc:	Peter.Huewe@...ineon.com, mail@...jiv.net, aaron.lu@...el.com,
	tpmdd-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [tpmdd-devel] tpm_tis driver failed to suspend, error -62

Hi Peter,

On Mon, Apr 1, 2013 at 4:17 PM,  <peterasplund@...too.se> wrote:
> 2013-03-28 14:12 skrev Peter.Huewe@...ineon.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@...to:/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@...to:/home/peter# tpm_version
> Tspi_Context_Connect failed: 0x00003011 - layer=tsp, code=0011 (17),
> Communication failure
> root@...to:/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&reg; 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@...ts.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

Download attachment "tpm_timeouts.patch" of type "application/octet-stream" (709 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ