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
 
   
 

xense-devel

[Xense-devel] tpm_vtpm: tpm_transmit: tpm_send: error 4294967294

To: xense-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xense-devel] tpm_vtpm: tpm_transmit: tpm_send: error 4294967294
From: Martin Hermanowski <lists@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 30 Jun 2006 11:40:05 +0200
Delivery-date: Fri, 30 Jun 2006 02:40:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xense-devel-request@lists.xensource.com?subject=help>
List-id: "A discussion list for those developing security enhancements for Xen." <xense-devel.lists.xensource.com>
List-post: <mailto:xense-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xense-devel>, <mailto:xense-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xense-devel>, <mailto:xense-devel-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=98A3D1EC
Sender: xense-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.2 (X11/20060516)
Hello,

I downloaded xen-testing yesterday evening, and there is a strange problem:

I start the vtpm_managerd, and when I load the tpm_xen module inside my
DomU, I can see that the vTPM gets initialized:

Initializing tpm: clear
...
TPMD[1]: tpm/tpm_startup.c:44: Info: TPM_Startup(1)

The vtpm_managerd also reacts on unloading the modules:
INFO[VTPM]: [1]: RECV[14}: 0x0 0 0 0 1 c1 0 0 0 e 0 0 0 2 0 0 0 1
INFO[VTPM]: Closing DMI 1.
INFO[TCS]: Calling TCS_CloseContext.
INFO[VTPM]: Killing dmi on pid 9446.
INFO[VTPM]: [1]: SENT: 0x0 0 0 0 1 c1 0 0 0 a 0 0 0 0

So I would assume that the communication channel between the DomU and
vtpm_managerd is fine.

But when I try to access the vTPM (directly or using /sys), I get an
error message:

tpm:~# cat /sys/devices/platform/tpm_vtpm/pcrs
 tpm_vtpm: tpm_transmit: tpm_send: error 4294967294

This is the same error message I get when the vtpm_managerd is not
running, also the vtpm_managerd does not display anything at this moment
(using strace it looks like it doesn't receive anything).

The strange part is, that I was able to use the vTPM once, but I am not
able to reproduce this...

Thanks,
Martin

-- 
Martin Hermanowski
http://martin.hermanowski.name


_______________________________________________
Xense-devel mailing list
Xense-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xense-devel

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