This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] vtpm_managerd problem --- unable to load key.

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] vtpm_managerd problem --- unable to load key.
From: "Yuchu Tong" <sinofab@xxxxxxxxx>
Date: Fri, 22 Feb 2008 16:42:47 -0500
Delivery-date: Fri, 22 Feb 2008 13:43:23 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=Biij5/65XVQ/f66HbtZUB1Ec6cxkjd1+E8PP4pxC1Ho=; b=xZ6bykvat9QwtoVf6mGJO6cZi8IrSthN5j+xkI3LzJ1oGUNdg3ZJYitZLhGWAZqAyS1CaD90FI855xoXwkgoV/dl4mTfmVuBn6UeETDkLUxHPZ7LQrWztFbN+67IBvIPrcY/SgfyylCTF+U5vMERVCH4gGPjwWX4n3yXK89ULqk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kVelnZA/gTUIhvsq9IPoraqgnU7i1vfVSyYT+JeA3CEXPwH1h0rZ4McSzmFYRM143vmvF7zVGN6chucstw8aPEBzs9U5lPZRF0kp4Vx/DcXNVhsCOKaHq5sX8Ka7nxqiXSTFLj8VA24duzjj3W19n5x/iaq4m15vVqAHFpQAO2Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

     I got an error when starting vtpm_manager:

INFO[VTPM]: Starting VTPM.
INFO[TCS]: Constructing new TCS:
INFO[TCS]: Calling TCS_OpenContext:
INFO[VTSP]: Loading Key into TPM.
ERROR[TCS]: TCSP_LoadKeyByBlob Failed with return code TPM_KEYNOTFOUND
ERROR in VTSP_LoadKey at vtsp.c:634 code: TPM_KEYNOTFOUND.
ERROR in VTPM_LoadManagerData at securestorage.c:453 code: TPM_KEYNOTFOUND.
ERROR[VTPM]: Failed to load service data with error = TPM_KEYNOTFOUND
ERROR[VTPM]: Failed to read existing manager filepuppy:/sys/class/misc/tpm0/device

     I am sure the tpm is working, because initially it has windows on it and I just format and reinstall xen and debian etch. The first time I tried to start vtpm_managerd, there was some error like TPM_IOERROR and unable to take ownership. That's because the windows system already took ownership of it. So I just cleared the TPM in the bios and restarted vtpm_managerd, and got the above error. Everything is fine before starting vtpm_manager. It loaded the tpm driver and backend driver OK in dom0.

     I read the related topics in the forum and found a related thread here: http://lists.xensource.com/archives/html/xense-devel/2006-12/msg00016.html
     The conclusion in that thread is that the 1.2 tpm does not support depreciated APIs, while vtpm_managerd still uses it.

      I am not sure if this is that case in my problem. Here's my system configuration:

      Thinkpad T60p
      Xen 3.2.0
      Debian etch
      TPM: Atmel 1.2
      TCG version : 1.2


Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] vtpm_managerd problem --- unable to load key., Yuchu Tong <=