All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Xen-devel <xen-devel@lists.xensource.com>,
	Vincent Hanquez <Vincent.Hanquez@eu.citrix.com>
Subject: problem starting hvm domain with stubdoms with "xl create"
Date: Wed, 12 May 2010 17:13:19 -0700	[thread overview]
Message-ID: <4BEB441F.4050906@goop.org> (raw)

xl create is failing with a timeout waiting on the device model.  I'm
pretty sure its because its looking at the wrong domid for the device
model (the main domain's, not the stubdom; I added to the log message to
print which domain it's waiting on), but I haven't tracked down a
specific fix yet.

    J

sh-4.0# xl create -d /etc/xen/win7-ctxs 
Parsing config file /etc/xen/win7-ctxs
*** domain_create_info ***
hvm: 1
hap: 0
oos: 1
ssidref: 0
name: win7-ctxs
uuid: 412b35f0-6a0c-4f26-8595-c79a5940b4a1
cpupool: Pool-0 (0)
xsdata: (null)
platformdata: (null)



*** domain_build_info ***
timer_mode: -1
hpet: 1
vpt_align: -1
max_vcpus: 2
tsc_mode: 0
max_memkb: 1048576
target_memkb: 1048576
kernel: /usr/lib/xen/boot/hvmloader
hvm: 1
video_memkb: 8192
shadow_memkb: 1280
    pae: 1
    apic: 1
    acpi: 1
    nx: 1
    viridian: 1



*** disks_info: 0 ***
backend_domid 0
domid 0
physpath /dev/vg_lilith-raid/xen-win7-ctxs
phystype 4
virtpath hda
unpluggable 1
readwrite 1
is_cdrom 0



*** disks_info: 1 ***
backend_domid 0
domid 0
physpath /home/jeremy/commercial/ms/SW_DVD5_SA_Win_Ent_7_32BIT_English_Full_MLF_X15-70745.iso
phystype 5
virtpath hdc
unpluggable 1
readwrite 0
is_cdrom 1



*** vifs_info: 0 ***
backend_domid 0
domid 0
devid 0
mtu 1492
model e1000
mac 00:16:3e:23:f8:c2



*** device_model_info ***
domid: 0
dom_name: win7-ctxs
device_model: stubdom-dm
videoram: 8
stdvga: 0
vnc: 1
vnclisten: 0.0.0.0
vncdisplay: 0
vncunused: 1
keymap: (null)
sdl: 0
opengl: 0
nographic: 0
serial: pty
boot: cda
usb: 0
usbdevice: tablet
apic: 1
VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->0000000000171404
  TOTAL:         0000000000000000->000000003f800000
  ENTRY ADDRESS: 0000000000100000
PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000001fb
  1GB PAGES: 0x0000000000000000
[0] libxl_device.c:460:libxl_wait_for_device_model: Device Model for 14 not ready (want "running")
xl: fatal error: xl_cmdimpl.c:1040, rc=-1: libxl_confirm_device_model_startup(&ctx, dm_starting)

sh-4.0# xl list
Name                                        ID   Mem VCPUs	State	Time(s)
Dom0                                         0  2217     4        r--   2092.6
win7-ctxs                                   14  1019     1        -p-      0.0
win7-ctxs-dm                                15    32     1        ---      0.0

sh-4.0# xenstore-read /local/domain/0/device-model/14/state
xenstore-read: couldn't read path /local/domain/0/device-model/14/state
sh-4.0# xenstore-read /local/domain/0/device-model/15/state
running

             reply	other threads:[~2010-05-13  0:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-13  0:13 Jeremy Fitzhardinge [this message]
2010-05-13  0:44 ` problem starting hvm domain with stubdoms with "xl create" Jeremy Fitzhardinge

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=4BEB441F.4050906@goop.org \
    --to=jeremy@goop.org \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=Vincent.Hanquez@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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.