I
have cleared the TPM and as you said vtpm_managerd tried to take the ownership
of the IFX TPM. After clearing once, I tried 3 times and in all of them it
gives different errors.
In the first time :
dungeon burak #
vtpm_managerd
INFO[VTPM]: Starting VTPM.
INFO[TCS]: Constructing new
TCS:
INFO[TCS]: Calling TCS_OpenContext:
INFO[VTSP]:
OIAP.
ERROR[VTPM]: Failed to load service data with error =
TPM_IOERROR
INFO[VTPM]: Failed to read manager file. Assuming first time
initialization.
INFO[VTSP]: Reading Public EK.
INFO[VTSP]: Taking
Ownership of TPM.
INFO[VTSP]: Disabling Pubek Read.
ERROR[TCS]:
TCSP_DisablePubekRead Failed with return code TPM_BAD_ORDINAL
ERROR in
VTSP_DisablePubekRead at vtsp.c:428 code: TPM_BAD_ORDINAL.
ERROR in
VTPM_Create_Manager at vtpm_manager.c:106 code: TPM_BAD_ORDINAL.
In the
second time :
It had created binding keys and while loading the keys
into the tpm it gave bad ordinal error again.
INFO[VTPM]: Saved VTPM
Manager state (status = 0, dmis = -1)
INFO[VTSP]: Loading Key into
TPM.
ERROR[TCS]: TCSP_LoadKeyByBlob Failed with return code
TPM_BAD_ORDINAL
ERROR in VTSP_LoadKey at vtsp.c:634 code:
TPM_BAD_ORDINAL.
ERROR in VTPM_Init_Manager at vtpm_manager.c:243 code:
TPM_BAD_ORDINAL.
ERROR[VTPM]: Closing vtpmd due to error during
startup.
And in the third time :
dungeon burak #
vtpm_managerd
INFO[VTPM]: Starting VTPM.
INFO[TCS]: Constructing new
TCS:
INFO[TCS]: Calling TCS_OpenContext:
INFO[VTSP]:
OIAP.
INFO[VTSP]: Loading Key into TPM.
ERROR[TCS]: TCSP_LoadKeyByBlob
Failed with return code TPM_BAD_ORDINAL
ERROR in VTSP_LoadKey at vtsp.c:634
code: TPM_BAD_ORDINAL.
ERROR in VTPM_LoadManagerData at securestorage.c:453
code: TPM_BAD_ORDINAL.
ERROR[VTPM]: Failed to load service data with error
= TPM_BAD_ORDINAL
Simply there is a situation with ordinals sent to
TPM. In trousers there exists a patch for infineon tpms for these issues. Is
this a similar sitution like this?
Thanks again...
Best
regards..
-- burak()
(ps: bf)
METU CENG '06
-----
Original Message ----
From: Martin Hermanowski
<lists@xxxxxxxxxxxxxxxxxxxxxxx>
To: Burak OÐUZ
<burakoguzs@xxxxxxxxx>
Cc: xense-devel@xxxxxxxxxxxxxxxxxxx
Sent:
Tuesday, December 5, 2006 6:34:40 PM
Subject: Re: [Xense-devel]
vtpm_managerd problem
Burak OÐUZ schrieb:
[...]
dungeon
burak # vtpm_managerd
INFO[VTPM]: Starting VTPM.
INFO[TCS]:
Constructing new TCS:
INFO[TCS]: Calling TCS_OpenContext:
INFO[VTSP]:
OIAP.
ERROR[VTPM]: Failed to load service data with error =
TPM_IOERROR
INFO[VTPM]: Failed to read manager file. Assuming first time
initialization
INFO[VTSP]: Reading Public EK.
ERROR[TCS]:
TCSP_ReadPubek Failed with return code TPM_DISABLED_CMD
ERROR in
VTSP_ReadPubek at vtsp.c:264 code: TPM_DISABLED_CMD.
INFO[VTPM]: Failed
to readEK meaning TPM has an owner. Creating Keys off exg
SRK.
INFO[VTSP]: OSAP.
INFO[VTSP]: Creating new key of type
20.
INFO[VTSP]: Creating Binding Key...
ERROR[TCS]: TCSP_CreateWrapKey
Failed with return code TPM_AUTHFAIL
ERROR in VTSP_CreateWrapKey at
vtsp.c:557 code: TPM_AUTHFAIL.
ERROR in VTPM_Create_Manager at
vtpm_manager.c:134 code:
TPM_AUTHFAIL.
This is correct: The
vtpm manager tries to use the TPM, but can not take ownership because the TPM
was in use before.
If you clear your TPM (should be a BIOS option, perhaps
you need to press a special key on boot or set some jumper), and then start
the vtpm manager again, you should be fine.
HTH,
Martin
--
Martin Hermanowski
http://martin.hermanowski.name
https://www.openbc.com/hp/Martin_Hermanowski/