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


Re: [Xen-users] vtpm_manager can't run twice in a row

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] vtpm_manager can't run twice in a row
From: Luke <secureboot@xxxxxxxxx>
Date: Thu, 20 Sep 2007 14:14:29 -0400
Delivery-date: Thu, 20 Sep 2007 11:15:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46F167B6.4080704@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <46F167B6.4080704@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20070919)
Luke wrote:
> I can get vtpm_manager to run if I delete /var/vtpm/VTPM.  However, when
> I kill it with control-c, and try to run it again, I get:
> INFO[VTPM]: Starting VTPM.
> INFO[TCS]: Constructing new TCS:
> INFO[TCS]: Calling TCS_OpenContext:
> INFO[VTSP]: Loading Key into TPM.
> INFO[VTSP]: Unbinding 256 bytes of data.
> ERROR in VTSP_Unbind at vtsp.c:720 code: TPM_BAD_PARAMETER.
> ERROR in envelope_decrypt at securestorage.c:156 code: TPM_BAD_PARAMETER.
> ERROR[VTPM]: Failed to envelope decrypt data
> .ERROR in VTPM_LoadManagerData at securestorage.c:459 code:
> ERROR[VTPM]: Failed to load service data with error = TPM_BAD_PARAMETER
> ERROR[VTPM]: Failed to read existing manager file
> What's causing this, and how do I fix it?  I need my guest to get the
> same VTPM every time it starts, so that keys (signing and SRK) persist
> across instances.
Just to add a bit of information - this happens after I let
vtpm_managerd take ownership of the tpm.

Is it just that no one uses this program?  Or is this an error specific
to me?

Xen-users mailing list