[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] vTPM connection xen 4.3



Hi,Â

I have a problem in creating a connection between vtpmmgr and vtpm.
First the vtpmmgr is booted correctly and "waits for vTPM's command". However, when the vTPM is launched, the connection with vtpmmgr is not (apparently) established.
I get the following error message in vtpmmgr and after that the vtpmmgr goes to "waiting for commands" state.
=================
message:
=================
INFO[VTPM]: Waiting for commands from vTPM's:
Tpmback:Info Frontend 16/0 connected
INFO[VTPM]: Passthrough: TPM_GetRandom
INFO[VTPM]: Waiting for commands from vTPM's:
INFO[VTPM]: Passthrough: TPM_GetRandom
INFO[VTPM]: Waiting for commands from vTPM's:
ERROR[VTPM]: LoadKey failure: Unrecognized uuid! d88e5a73-982d-4354-ab11-e5d70a8ee895
ERROR[VTPM]: Failed to load key
ERROR in vtpmmgr_LoadHashKey at vtpm_cmd_handler.c:78 code: TPM_BAD_PARAMETER.
INFO[VTPM]: Waiting for commands from vTPM's:
==================
vtpmmgr config file:
==================
kernel='/usr/local/lib/xen/boot/vtpmmgr-stubdom.gz'
memory=16
disk=['file:/var/vtpmmgr-stubdom.img,hda,w']
name='vtpmmgr'
iomem=['fed40,5']
==================

the message apear on the vtpm side is:
=================
tpm_cmd_handler.c:4113: Debug: tpm_emulator_init(1, 0x00000007)
vtpm_cmd.c:155: Info: Requesting Encryption key from backend
vtpm_cmd.c:164: Error: VTPM_LoadHashKey() failed with error code (3)
vtpm_cmd.c:175: Error: VTPM_LoadHashKey failed
tpm_data.c:120: Info: initializing TPM data to default values
tpm_startup.c:29: Info: TPM_Init()
tpm_testing.c:243: Info: TPM_SelfTestFull()
tpm_testing.c:39: Debug: tpm_test_prng()
tpm_testing.c:69: Debug: Monobit: 10045
tpm_testing.c:70: Debug: Poker:ÂÂ 15.1
tpm_testing.c:71: Debug: run_1:ÂÂ 2468, 2510
tpm_testing.c:72: Debug: run_2:ÂÂ 1269, 1193
tpm_testing.c:73: Debug: run_3:ÂÂ 632, 657
tpm_testing.c:74: Debug: run_4:ÂÂ 318, 289
tpm_testing.c:75: Debug: run_5:ÂÂ 147, 159
tpm_testing.c:76: Debug: run_6+:Â 149, 176
tpm_testing.c:77: Debug: run_34:Â 0
tpm_testing.c:111: Debug: tpm_test_sha1()
tpm_testing.c:157: Debug: tpm_test_hmac()
tpm_testing.c:184: Debug: tpm_test_rsa_EK()
tpm_testing.c:186: Debug: tpm_rsa_generate_key()
tpm_testing.c:191: Debug: testing endorsement key
tpm_testing.c:197: Debug: tpm_rsa_sign(RSA_SSA_PKCS1_SHA1)
tpm_testing.c:200: Debug: tpm_rsa_verify(RSA_SSA_PKCS1_SHA1)
tpm_testing.c:203: Debug: tpm_rsa_sign(RSA_SSA_PKCS1_DER)
tpm_testing.c:206: Debug: tpm_rsa_verify(RSA_SSA_PKCS1_DER)
tpm_testing.c:210: Debug: tpm_rsa_encrypt(RSA_ES_PKCSV15)
tpm_testing.c:214: Debug: tpm_rsa_decrypt(RSA_ES_PKCSV15)
tpm_testing.c:218: Debug: verify plain text
tpm_testing.c:221: Debug: tpm_rsa_encrypt(RSA_ES_OAEP_SHA1)
tpm_testing.c:225: Debug: tpm_rsa_decrypt(RSA_ES_OAEP_SHA1)
tpm_testing.c:229: Debug: verify plain text
tpm_testing.c:261: Info: Self-Test succeeded
tpm_startup.c:43: Info: TPM_Startup(1)
==================================
and the vtpm config file is:
=================
kernel='/usr/local/lib/xen/boot/vtpm-stubdom.gz'
memory=8
disk=['file:/root/vtpm.img,hda,w']
name='domu-vtpm'
vtpm=['backend=vtpmmgr,uuid=d88e5a73-982d-4354-ab11-e5d70a8ee895']
==============================

Thanks for your help.
Mohsen.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.