Hi Ivan,

On Wed, Feb 20, 2013 at 3:33 AM, Ivan Pryvalov <[email protected]> wrote:
> Hello,
>
> I recently started working with TPM and there are some issues that still
> appear.
>
> I use Dell Latitude E6430, Ubuntu 12.10 32-bit, linux kernel
> 3.5.0-23-generic.
>
>
> 1)
> tpm auto test failed during boot, and therefore I disabled tpm_tis at boot
> time.
> The only workaround that seems to work is the following:

  What's tpm auto test?  A BIOS POST, or you mean the self test that
the driver does below?

>
> $ sudo modprobe tpm_tis force=1 interrupts=0
> FATAL: Error inserting tpm_tis
> (/lib/modules/3.5.0-23-generic/kernel/drivers/char/tpm/tpm_tis.ko): No such
> device
> $ sudo modprobe tpm_tis force=1 interrupts=0
> $
>
>
> dmesg shows the following:
> [   87.347719] tpm_tis tpm_tis: 1.2 TPM (device-id 0x3204, rev-id 64)
> [   87.418171] tpm_tis tpm_tis: tpm_transmit: tpm_send: error 4294967234

 This is -ETIME, showing the driver timing out, likely waiting on the
chip to show that its ready.

> [   87.418178] tpm_tis tpm_tis: TPM self test failed
> [   93.579377] tpm_tis tpm_tis: 1.2 TPM (device-id 0x3204, rev-id 64)
>
>
> 2)
> Taking ownership in linux doesn't work (Internal Software Error), so I did
> it in Windows 7.
> And then used workaround described at Trousers' FAQ.
>
> $ tpm_takeownership
> Enter owner password:
> Confirm password:
> Enter SRK password:
> Confirm password:
> Tspi_TPM_TakeOwnership failed: 0x00002004 - layer=tcs, code=0004 (4),
> Internal software error
> $
>
>
> 3)
> I can register signing key or unregister it, but can't load it. Loading SRK
> works though.
> Registered key has flag TSS_KEY_NO_AUTHORIZATION
> (additionaly it has TSS_KEY_TYPE_SIGNING | TSS_KEY_SIZE_2048 |
> TSS_KEY_NOT_MIGRATABLE),
> so it should load the key using Tspi_Context_LoadKeyByUUID, as described in
> TSS 1.2 Spec.
>
> I get following error:
>
> Loading signing key by UUID... [Tspi_Context_LoadKeyByUUID] ==> 0x1087: I/O
> error
>
>
> If I now run tpm_version, I get following:
>
> $ tpm_version
>   TPM 1.2 Version Info:
>   Chip Version:        1.2.37.14
>   Spec Level:          2
>   Errata Revision:     2
>   TPM Vendor ID:       ATML
> Tspi_TPM_GetCapability failed: 0x00001087 - layer=tddl, code=0087 (135), I/O
> error

tpm_version makes 3 calls to the driver to get data.  The first one
succeeded here, the second one failed.  These calls are to the same
chip API.

> 4)
> Some additional info:
>
> $ tpm_version
>   TPM 1.2 Version Info:
>   Chip Version:        1.2.37.14
>   Spec Level:          2
>   Errata Revision:     2
>   TPM Vendor ID:       ATML
>   TPM Version:         01010000
>   Manufacturer Info:   41544d4c

  So here all the calls succeed?  Is there some steady state you get
to at some point?  Are errors returned randomly?

Kent

>
> Trousers 0.3.9-2ubuntu1 is installed.
>
>
> I would appreciate any comments how to properly deal with these issues.
>
> Truly yours,
> Ivan Pryvalov.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> TrouSerS-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/trousers-tech
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech

Reply via email to