All of lore.kernel.org
 help / color / mirror / Atom feed
* vTPM connection xen 4.3
@ 2013-11-15 21:38 Mohsen Amini
  0 siblings, 0 replies; only message in thread
From: Mohsen Amini @ 2013-11-15 21:38 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 3161 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 4281 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-15 21:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-15 21:38 vTPM connection xen 4.3 Mohsen Amini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.