module tpm_tis times out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-image-generic
Hi,
I'm using the latest "proposed" linux kernel with Jaunty:
fwyzard@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:
fwyzard@katchoo:~$ tpm_selftest -l debug
Tspi_Context_Create success
Tspi_Context_
Tspi_Context_
[ 977.896097] tpm_tis 00:0e: Operation Timed out
Tspi_TPM_
Tspi_Context_
Tspi_Context_Close success
fwyzard@katchoo:~$ tpm_takeownership -l debug -z -y
Tspi_Context_Create success
Tspi_Context_
Tspi_Context_
Tspi_GetPolicyO
Tspi_Policy_
Tspi_Context_
Tspi_GetPolicyO
Tspi_Policy_
[ 406.248070] tpm_tis 00:0e: Operation Timed out
Tspi_TPM_
Tspi_Context_
Tspi_Context_
Tspi_Context_Close success
Looking into the code of the tpm.ko and tpm_tis.ko modules (drivers/
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
NonfreeKernelMo
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
[This is an automated message. Apologies if it has reached you inappropriately.]
This bug was reported against the linux-meta package when it likely should have been reported against the linux package instead. We are automatically transitioning this to the linux kernel package so that the appropriate teams are notified and made aware of this issue.
If this bug really is a bug in the linux-meta package you can move it back to linux-meta and set the Status to Confirmed, or contact us on the #ubuntu-kernel channel on the FreeNode IRC server. Thanks.