From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jordi Cucurull Juan Subject: vTPM Manager shuts down Date: Thu, 18 Apr 2013 13:16:24 +0200 Message-ID: <516FD608.7000302@scytl.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" Cc: Jordi Cucurull Juan List-Id: xen-devel@lists.xenproject.org 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=3D/dev/zero of=3D/var/xen/vtpmmgr-stubdom.img bs=3D16M count=3D1 vim /etc/xen/vtpmmgr-stubdom.cfg kernel=3D"/usr/local/lib/xen/boot/vtpmmgr-stubdom.gz" memory=3D16 disk=3D["file:/var/xen/vtpmmgr-stubdom.img,hda,w"] name=3D"vtpmmgr" iomem=3D["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=3D0x7a8a0 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Init TPM BACK =3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D Thread "tpmback-listener": pointer: 0x20010043f0, stack: 0xf0000 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Init TPM TIS Driver =3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D 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=E7a Gal=B7la Placidia, 1-3, 1st floor =B7 08006 Barcelona Phone: + 34 934 230 324 Fax + 34 933 251 028 jordi.cucurull@scytl.com http://www.scytl.com