xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* vTPM Manager shuts down
@ 2013-04-18 11:16 Jordi Cucurull Juan
  2013-04-18 14:41 ` Daniel De Graaf
  0 siblings, 1 reply; 10+ messages in thread
From: Jordi Cucurull Juan @ 2013-04-18 11:16 UTC (permalink / raw)
  To: xen-devel@lists.xen.org; +Cc: Jordi Cucurull Juan

Hi all,

I am trying to set up the development version of Xen with support for
virtual TPMs. I am having an issue starting the vTPM Manager. Basically
I create the vTPM Manager stub domain as detailed in the documentation:

make install-vtpmmgr
dd if=/dev/zero of=/var/xen/vtpmmgr-stubdom.img bs=16M count=1
vim /etc/xen/vtpmmgr-stubdom.cfg

    kernel="/usr/local/lib/xen/boot/vtpmmgr-stubdom.gz"
    memory=16
    disk=["file:/var/xen/vtpmmgr-stubdom.img,hda,w"]
    name="vtpmmgr"
    iomem=["fed40,5"]

xl create -c /etc/xen/vtpmmgr-stubdom.cfg

Nevertheless, when the stub domain is launched it automatically shuts
down (see the trace below). Am I doing something wrong? Is there
something that can produce this behaviour?

Daemon running with PID 6347
Xen Minimal OS!
  start_info: 0xa3000(VA)
    nr_pages: 0x1000
  shared_inf: 0xcaff0000(MA)
     pt_base: 0xa6000(VA)
nr_pt_frames: 0x5
    mfn_list: 0x9b000(VA)
   mod_start: 0x0(VA)
     mod_len: 0
       flags: 0x0
    cmd_line:
  stack:      0x5a7a0-0x7a7a0
MM: Init
      _text: 0x0(VA)
     _etext: 0x397f4(VA)
   _erodata: 0x46000(VA)
     _edata: 0x48c00(VA)
stack start: 0x5a7a0(VA)
       _end: 0x9adc0(VA)
  start_pfn: ae
    max_pfn: 1000
Mapping memory range 0x400000 - 0x1000000
setting 0x0-0x46000 readonly
skipped 0x1000
MM: Initialise page allocator for b4000(b4000)-1000000(1000000)
MM: done
Demand map pfns at 1001000-2001001000.
Heap resides at 2001002000-4001002000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x1001000.
Initialising scheduler
Thread "Idle": pointer: 0x2001002050, stack: 0xd0000
Thread "xenstore": pointer: 0x2001002800, stack: 0xe0000
xenbus initialised on irq 1 mfn 0x224faa
Thread "shutdown": pointer: 0x2001002fb0, stack: 0xf0000
Dummy main: start_info=0x7a8a0
Thread "main": pointer: 0x2001003760, stack: 0x100000
"main"
Shutting down ()
Shutdown requested: 3
Thread "shutdown" exited.
INFO[VTPM]: Starting vTPM manager domain
INFO[VTPM]: Option: Using tpm_tis driver
******************* BLKFRONT for device/vbd/768 **********


backend at /local/domain/0/backend/qdisk/7/768
Failed to read /local/domain/0/backend/qdisk/7/768/feature-barrier.
32768 sectors of 512 bytes
**************************
blk_open(device/vbd/768) -> 3
============= Init TPM BACK ================
Thread "tpmback-listener": pointer: 0x20010043f0, stack: 0xf0000
============= Init TPM TIS Driver ==============
IOMEM Machine Base Address: FED40000
Enabled Localities: 0
Map 1 (fed40, ...) at 0x1006000 failed: -1.
Do_exit called!
base is 0x10fcb8 caller is 0x1f08a
base is 0x10fcd8 caller is 0x28483
base is 0x10fd88 caller is 0x28558
base is 0x10fde8 caller is 0x2706c
base is 0x10fe28 caller is 0x27084
base is 0x10fe38 caller is 0x1bc69
base is 0x10fe78 caller is 0x6f9c
base is 0x10ff38 caller is 0x34e5
base is 0x10ff68 caller is 0x1fbbc
base is 0x10ffe8 caller is 0x33da


Thanks in advance!
Jordi.



-- 
Jordi Cucurull Juan
Researcher
Scytl Secure Electronic Voting
Plaça Gal·la Placidia, 1-3, 1st floor · 08006 Barcelona
Phone:     + 34 934 230 324
Fax        + 34 933 251 028
jordi.cucurull@scytl.com
http://www.scytl.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-05-28 20:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-18 11:16 vTPM Manager shuts down Jordi Cucurull Juan
2013-04-18 14:41 ` Daniel De Graaf
2013-04-18 16:42   ` Jordi Cucurull Juan
2013-04-18 21:12     ` Daniel De Graaf
2013-05-22 17:59   ` Konrad Rzeszutek Wilk
2013-05-22 19:05     ` Ross Philipson
2013-05-22 19:14       ` Ross Philipson
2013-05-22 20:54         ` Konrad Rzeszutek Wilk
2013-05-23 14:35           ` Ross Philipson
2013-05-28 20:54             ` Daniel De Graaf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).