WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: vTPM not working in domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: vTPM not working in domU
From: Sebastian Biedermann <biedermann@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 Apr 2011 13:24:24 +0200
Delivery-date: Wed, 06 Apr 2011 04:25:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D9C39B9.4010300@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4D9C39B9.4010300@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
Okay, now I found out, that actually I dont have a /dev/vtpm and I dont
have a vtpm_managerd in my dom0. Why? Where can I get this?

I compiled Xen with vtpm_tools=y...

thanks

Am 06.04.2011 12:00, schrieb Sebastian Biedermann:
Hi list,

I´m not able to use a vTPM in a domU and I cannot figure out what is going wrong.
I´m using Xen 4.0.1 and prepared kernel dom0 package for debian squeeze.

In the dom0, the TPM is working fine.
So I added to the domU config file the line:

vtpm = [ 'instance=1 backend=0']

ID=1 for the domU instance and ID=0 for the domO instance with the working TPM.

But when I start domU there is following error:

Error: Device 0 (vtpm) could not be connected. Hotplug scripts not working.

I dont know whats wrong, the ID´s of the domains are correct

The xend.log File says:

[2011-04-06 11:49:40 2066] DEBUG (DevController:139) Waiting for devices vtpm.
[2011-04-06 11:49:40 2066] DEBUG (DevController:144) Waiting for 0.
[2011-04-06 11:49:40 2066] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vtpm/8/0/hotplug-status. [2011-04-06 11:51:20 2066] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=8 [2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2411) Destroying device model [2011-04-06 11:51:21 2066] INFO (image:615) bpal-img device model terminated
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2418) Releasing devices
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vif/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vbd/51712
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vfb/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing console/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vtpm/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vtpm, device = vtpm/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2416) No device model
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2418) Releasing devices
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vif/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vbd/51712
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vtpm/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vtpm, device = vtpm/0


Anyone has an idea what I could try?

Thank you!
Sebastian




--
Sebastian Biedermann
Security Engineering Group
Technische Universität Darmstadt
Mornewegstraße 32, 64293 Darmstadt
Phone: +49-6151-16-75146


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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