From: Matthew Fioravante <matthew.fioravante@jhuapl.edu>
To: xen-devel@lists.xen.org
Subject: Re: vTPM setup problem on the emulator
Date: Wed, 09 Jan 2013 14:33:00 -0500 [thread overview]
Message-ID: <50EDC5EC.7050306@jhuapl.edu> (raw)
In-Reply-To: <36a97c6a.ff69.13c1e887f12.Coremail.gbtux@126.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 2758 bytes --]
On 01/09/2013 03:58 AM, gavin wrote:
> Hi,
>
> I tried to install the vTPM in Xen-4.1.0 + Dom0 kernel 2.6.18.8 + DomU
> kernel 2.6.18.8. The device is TPM emulator.
> However, I encountered several problems.
>
> 1. In DomU, I run "modprobe tpm_xenu" successfully. But it doesn't
> creates the /dev/tpm0 device as our had expected. So, the trousers
> cannot be started. An old thread in Xen mail-list can do
> this,(http://old-list-archives.xen.org/xense-devel/2006-12/msg00002.html)
> but it helps little to me.
> Is there any problem with my vTPM front driver? The tpm related
> modules and other info in DomU is list here.
> *[root@gavin-pv ~]# lsmod | grep tpm*
> tpm_xenu 15752 0 [permanent]
> tpm 17952 1 tpm_xenu
> tpm_bios 10112 1 tpm
> *[root@gavin-pv ~]# tcsd -f*
> TCSD TDDL ERROR: Could not find a device to open!
Any relevant output in dmesg? Also does your domu config file have a
vtpm device specified?
> 2. In Dom0, I run "modprobe tpmd_dev" and "modprobe tpmbk" also
> successfully and I can get the devices /dev/tpm, /dev/tpm0, and
> /dev/vtpm. However, I cannot start the tpm emulator (# ./tpmd -f clear
> pvm 1) and vtpm manager (# vtpm_managerd). The related info and output
> error from Dom0 is also list here.
So you want to use the TPM emulator on dom0 instead of a physical TPM?
I see you listed /dev/tpm and /dev/tpm0. I believe the old manager is
hard coded to use the second one. Is tpmd creating both?
> *[root@localhost tpmd]# lsmod | grep tpm*
> tpmd_dev 10416 0
> tpmbk 19516 0 [permanent]
> *[root@localhost tpmd]# ./tpmd -f clear pvm 1*
> VTPMD[0]: tpmd.c:766: Info: starting TPM Emulator daemon
> VTPMD[0]: tpmd.c:369: Info: parsing options
> VTPMD[1]: tpmd.c:478: Info: openening random device /dev/urandom
> VTPMD[1]: tpmd.c:621: Info: staring main loop
> Loading NVM.
> Error in read_from_file:301
> VTPMD[1]: ../tpm/tpm_data.c:83: Info: initializing TPM data to default
> values
> VTPMD[1]: ../tpm/tpm_startup.c:30: Info: TPM_Init()
> VTPMD[1]: ../tpm/tpm_testing.c:242: Info: TPM_SelfTestFull()
> VTPMD[1]: ../tpm/tpm_testing.c:260: Info: Self-Test succeeded
> VTPMD[1]: ../tpm/tpm_startup.c:44: Info: TPM_Startup(1)
> VTPMD[1]: tpmd.c:661: Error: Failed to open devices to listen to guest.
>
> *[root@localhost vtpm]# vtpm_managerd*
> INFO[VTPM]: Starting VTPM.
> INFO[TCS]: Constructing new TCS:
> ERROR[TXDATA]: TPM open failedERROR in VTPM_Init_Manager at
> vtpm_manager.c:205 code:
> TPM_IOERROR.
> ERROR[VTPM]: Closing vtpmd due to error during startup.
>
>
> Thanks in advance for your any reply.
>
> --
> Best Regards,
> Gavin
>
>
[-- Attachment #1.1.2: Type: text/html, Size: 5430 bytes --]
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 1459 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next parent reply other threads:[~2013-01-09 19:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <36a97c6a.ff69.13c1e887f12.Coremail.gbtux@126.com>
2013-01-09 19:33 ` Matthew Fioravante [this message]
2013-01-10 2:17 ` vTPM setup problem on the emulator Bei Guan
2013-01-10 15:51 ` Matthew Fioravante
2013-01-11 3:11 ` Bei Guan
2013-01-14 21:11 ` Matthew Fioravante
2013-01-16 17:45 ` Bei Guan
2013-01-09 8:58 gavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50EDC5EC.7050306@jhuapl.edu \
--to=matthew.fioravante@jhuapl.edu \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.