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-bugs] [Bug 966] New: vtpm_managerd fails when using tpm_emulator

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 966] New: vtpm_managerd fails when using tpm_emulator
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 16 Apr 2007 05:31:44 -0700
Delivery-date: Mon, 16 Apr 2007 05:32:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx

           Summary: vtpm_managerd fails when using tpm_emulator
           Product: Xen
           Version: unstable
          Platform: x86
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: Jan-Peter.Stotz@xxxxxxxxxxxxxxxxx


I ran into some problems using the unstable xen (Thu Apr 12 14:13:04 2007 +0100
14823:a839e331f06f) with the tpm_emulator (in 3.0.4-1 it worked). 

First I start the tpm_emulator by caling "tpm_emulator clear", afterwards the
vtpm_managerd which fails and terminates itself:

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: TPM_BAD_PARAMETER.
ERROR[VTPM]: Failed to load service data with error = TPM_BAD_PARAMETER
ERROR[VTPM]: Failed to read existing manager file

After subsequent (usually 2+) tries to start the vtpm_managerd it changes to:

INFO[VTPM]: Starting VTPM.
INFO[TCS]: Constructing new TCS:
INFO[TCS]: Calling TCS_OpenContext:
ERROR[TCS]: Failed with return code TPM_RESOURCES
ERROR in VTSP_OIAP at vtsp.c:167 code: TPM_RESOURCES.
ERROR in VTPM_Init_Manager at vtpm_manager.c:219 code: TPM_RESOURCES.
ERROR[VTPM]: Closing vtpmd due to error during startup.

xm info:
host                   : pc-xentest
release                : 2.6.18-xen
version                : #3 SMP Wed Apr 18 14:07:22 CEST 2007
machine                : i686
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 1995
hw_caps                :
total_memory           : 2038
free_memory            : 1628
xen_major              : 3
xen_minor              : 0
xen_extra              : -unstable
xen_caps               : xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p 
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xf5800000
xen_changeset          : Thu Apr 12 14:13:04 2007 +0100 14823:a839e331f06f
cc_compiler            : gcc version 4.1.2 20060928 (prerelease) (Ubuntu
cc_compile_by          : root
cc_compile_domain      : 
cc_compile_date        : Wed Apr 13 13:23:50 CEST 2007
xend_config_format     : 4

Configure bugmail: 
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Xen-bugs mailing list

<Prev in Thread] Current Thread [Next in Thread>