RE: [tpmdd-devel] tpm_tis driver failed to suspend, error -62

From: peterasplund
Date: Mon Apr 01 2013 - 17:01:26 EST


2013-03-28 14:12 skrev Peter.Huewe@xxxxxxxxxxxx:
Hi Aaron, Rajob, PeterA and everybody else

@PeterA:
Can you perhaps try find out the exact tpm version?
1) Install trousers and tpm_tools (emerge app-crypt/trousers
app-crypt/tpm-tools)
2) Kill the tcsd and run it in the foreground
# pkill -9 tcsd
# tcsd -f
(if it says up and running you can send it to background)

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

3) Run
#tpm_version and post the output.
root@zepto:/home/peter# tpm_version
Tspi_Context_Connect failed: 0x00003011 - layer=tsp, code=0011 (17), Communication failure

I will try to restart the laptop, as well as check the bios settings, and get back to you on this one.



Also the flags etc would perhaps be handy, they can be retrieved via
sysfs - on you machine it _should_ be
# cat /sys/devices/pnp0/00:0a/*
and also post the output.
root@zepto:/home/peter# ls /sys/devices/pnp0/00\:0a/
driver/ id power/ subsystem/
firmware_node/ options resources uevent
root@zepto:/home/peter# cat /sys/devices/pnp0/00\:0a/options
root@zepto:/home/peter# cat /sys/devices/pnp0/00\:0a/resources
state = active
irq 12
root@zepto:/home/peter# cat /sys/devices/pnp0/00\:0a/id
SYN1902
SYN1900
SYN0002
PNP0f13
root@zepto:/home/peter# cat /sys/devices/pnp0/00\:0a/uevent
DRIVER=i8042 aux

Cheers,
Peter A



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.

Thanks,
PeterH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/