Public bug reported:

Binary package hint: linux-image-generic

Hi,
I'm using the latest "proposed" linux kernel with Jaunty: 

fwyz...@katchoo:~$ uname -a
Linux katchoo 2.6.28-15-generic #48-Ubuntu SMP Wed Jul 29 08:53:35 UTC 2009 
x86_64 GNU/Linux

on an Asus M50V laptop, which has an integrated Infineon 1.2 TPM module.
Most TPM commands (from the tpm-tools package) fail with an I/O error due to a 
time out in the tpm_tis.ko kernel module:

fwyz...@katchoo:~$ tpm_selftest -l debug
Tspi_Context_Create success
Tspi_Context_Connect success
Tspi_Context_GetTpmObject success
[  977.896097] tpm_tis 00:0e: Operation Timed out
Tspi_TPM_SelfTestFull failed: 0x00001087 - layer=tddl, code=0087 (135), I/O 
error
Tspi_Context_FreeMemory success
Tspi_Context_Close success

fwyz...@katchoo:~$ tpm_takeownership -l debug -z -y
Tspi_Context_Create success
Tspi_Context_Connect success
Tspi_Context_GetTpmObject success
Tspi_GetPolicyObject success
Tspi_Policy_SetSecret success
Tspi_Context_CreateObject success
Tspi_GetPolicyObject success
Tspi_Policy_SetSecret success
[  406.248070] tpm_tis 00:0e: Operation Timed out
Tspi_TPM_TakeOwnership failed: 0x00001087 - layer=tddl, code=0087 (135), I/O 
error
Tspi_Context_CloseObject success
Tspi_Context_FreeMemory success
Tspi_Context_Close success

Looking into the code of the tpm.ko and tpm_tis.ko modules 
(drivers/char/tpm/tpm.c, drivers/char/tpm/tpm_tis.c), there are mixed 
references to "msecs_to_jiffies" and "usecs_to_jiffies".
If I arbitrarily increase by x1000 some of the time out values using 
"msecs_to_jiffies" everywhere instead of "usecs...", and recompile the modules 
(using DKMS), the tpm-tools work fine.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: openafs nvidia
Package: linux-image-generic 2.6.28.15.20
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB:en
SourcePackage: linux-meta
Uname: Linux 2.6.28-15-generic x86_64

** Affects: linux-meta (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
module tpm_tis times out
https://bugs.launchpad.net/bugs/413519
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to