[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] regarding vtpm setup
Hello, I am trying to setup vtpmmgr and vtpm on the latest custom built xen-4.4 and I am following the steps provided at this link - http://xenbits.xen.org/docs/unstable/misc/vtpm.txt When I create the vtpmmgr domain, following is a snippet of the output that I see: ******************* BLKFRONT for device/vbd/768 ********** backend at /local/domain/0/backend/qdisk/2/768 Failed to read /local/domain/0/backend/qdisk/2/768/feature-barrier. 32768 sectors of 512 bytes ************************** and xl dmesg shows the following: (XEN) event_channel.c:271:d0 EVTCHNOP failure: domain 2, error -22 (XEN) event_channel.c:271:d0 EVTCHNOP failure: domain 2, error -22 Next, when I create vtpm domain, following is the snippet of the output on the vtpm console: ******************* BLKFRONT for device/vbd/768 ********** backend at /local/domain/0/backend/qdisk/3/768 Failed to read /local/domain/0/backend/qdisk/3/768/feature-barrier. 16384 sectors of 512 bytes ************************** 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 This is the vtpmmgr output: Tpmback:Info Frontend 3/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! c606b894-14e7-44db-bdcc-4ae05d686784 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: INFO[VTPM]: Registered vtpm c606b894-14e7-44db-bdcc-4ae05d686784 INFO[VTPM]: Generating a new symmetric key INFO[VTPM]: Binding encrypted key INFO[TPM]: TPM_Bind INFO[VTPM]: Encrypting the uuid table INFO[TPM]: TPM_Bind INFO[VTPM]: Saved hash and key for vtpm c606b894-14e7-44db-bdcc-4ae05d686784 INFO[VTPM]: Waiting for commands from vTPM's: INFO[TPM]: TPM_Bind INFO[VTPM]: Saved hash and key for vtpm c606b894-14e7-44db-bdcc-4ae05d686784 INFO[VTPM]: Waiting for commands from vTPM's: This is the xl dmesg output: (d3) ============= Init TPM BACK ================ (d3) Thread "tpmback-listener": pointer: 0x2000802fb0, stack: 0x130000 (d3) ============= Init TPM Front ================ (d3) Tpmfront:Info Waiting for backend connection.. (d2) Tpmback:Info Frontend 3/0 connected (d3) Tpmfront:Info Backend Connected (d3) Tpmfront:Info Initialization Completed successfully (d3) ******************* BLKFRONT for device/vbd/768 ********** (d3) backend at /local/domain/0/backend/qdisk/3/768 (d3) Failed to read /local/domain/0/backend/qdisk/3/768/feature-barrier. (d3) 16384 sectors of 512 bytes (d3) ************************** (d3) blk_open(device/vbd/768) -> 3 Finally, when I try to create the guest domain, I again see the following error in xl dmesg: (XEN) event_channel.c:271:d0 EVTCHNOP failure: domain 4, error -22 (XEN) event_channel.c:271:d0 EVTCHNOP failure: domain 4, error -22 (XEN) event_channel.c:271:d0 EVTCHNOP failure: domain 4, error -22 (d4) mapping kernel into physical memory (d4) about to get started... (d3) Tpmback:Info Frontend 4/0 connected I have the following config parameters in the dom0 and domU kernels (ubuntu 12.04): dom0 (kernel 3.13.2): CONFIG_TCG_TPM=y CONFIG_TCG_XEN=m domU (kernel 3.13.5): CONFIG_TCG_TPM=y CONFIG_TCG_XEN=y I believe the setup is not working correctly. Could someone let me know what is wrong? Please let me know if I must provide any further details. Thanks in advance. Regards, Aastha Mehta. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |