I think it has to be something trivial, but I cannot start 2 windows servers at the same time on the same dom0. If I start server 2008 first I can''t start 2012, if I start 2012, I can''t start 2008. The failure is: libxl: error: libxl_device.c:470:libxl__wait_for_device_model Device Model not ready xl: fatal error: libxl_create.c:535, rc=-1: libxl__confirm_device_model_startup The config files are almost exactly the same with the exception on one using cpu2 and the other using cpu3, and one using a physical disk and the other a virtual one. 2008: kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1024 # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu. shadow_memory = 8 name = "server2008" vfb = [ ''type=vnc,vncdisplay=10,vncpasswd=xxxx'' ] vif = [ ''mac=00:16:3E:33:5E:F6, bridge=xenbr0'' ] acpi = 1 apic = 1 disk = [ ''phy:/dev/md3,hda,w'' ] device_model = ''/usr/lib64/xen/bin/qemu-dm'' #--------------------------------------------------------------------------- -- # boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy boot="dc" vncunused=0 sdl=0 serial=''pty'' usbdevice=''tablet'' vcpus=1 cpus = [''3''] localtime = 1 usb = 1 2012: kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1024 # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu. shadow_memory = 8 name = "server2012" vfb = [ ''type=vnc,vncdisplay=10,vncpasswd=xxxx'' ] vif = [ ''mac=00:16:3E:33:5E:F7, bridge=xenbr0'' ] acpi = 1 apic = 1 disk = [ ''tap:aio://media/xen_images/2012server.img,hda,w'' ] #disk = [ ''phy:/dev/md3,hda,w'' ] device_model = ''/usr/lib64/xen/bin/qemu-dm'' #--------------------------------------------------------------------------- -- # boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy boot="dc" vncunused=0 sdl=0 serial=''pty'' usbdevice=''tablet'' vcpus=1 cpus = [''2''] localtime = 1 usb = 1 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
As far as I am aware the vfb option is only available for pv domains. I think to recall that I had a problem starting a domU if the VNC ip was wrong, this may also apply if you try to have two domUs on the same VNC port (''vncdisplay'') try using port 10 for one domU and port 11 for the other. ________________________________ Fra: xen-users-bounces@lists.xen.org [xen-users-bounces@lists.xen.org] på vegne af Marc Tousignant [myrdhn@gmail.com] Sendt: 22. august 2012 06:21 Til: xen-users@lists.xen.org Emne: [Xen-users] config file conflict?? I think it has to be something trivial, but I cannot start 2 windows servers at the same time on the same dom0. If I start server 2008 first I can’t start 2012, if I start 2012, I can’t start 2008. The failure is: libxl: error: libxl_device.c:470:libxl__wait_for_device_model Device Model not ready xl: fatal error: libxl_create.c:535, rc=-1: libxl__confirm_device_model_startup The config files are almost exactly the same with the exception on one using cpu2 and the other using cpu3, and one using a physical disk and the other a virtual one. 2008: kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1024 # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu. shadow_memory = 8 name = "server2008" vfb = [ ''type=vnc,vncdisplay=10,vncpasswd=xxxx'' ] vif = [ ''mac=00:16:3E:33:5E:F6, bridge=xenbr0'' ] acpi = 1 apic = 1 disk = [ ''phy:/dev/md3,hda,w'' ] device_model = ''/usr/lib64/xen/bin/qemu-dm'' #----------------------------------------------------------------------------- # boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy boot="dc" vncunused=0 sdl=0 serial=''pty'' usbdevice=''tablet'' vcpus=1 cpus = [''3''] localtime = 1 usb = 1 2012: kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1024 # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu. shadow_memory = 8 name = "server2012" vfb = [ ''type=vnc,vncdisplay=10,vncpasswd=xxxx'' ] vif = [ ''mac=00:16:3E:33:5E:F7, bridge=xenbr0'' ] acpi = 1 apic = 1 disk = [ ''tap:aio://media/xen_images/2012server.img,hda,w'' ] #disk = [ ''phy:/dev/md3,hda,w'' ] device_model = ''/usr/lib64/xen/bin/qemu-dm'' #----------------------------------------------------------------------------- # boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy boot="dc" vncunused=0 sdl=0 serial=''pty'' usbdevice=''tablet'' vcpus=1 cpus = [''2''] localtime = 1 usb = 1 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Wed, 2012-08-22 at 05:21 +0100, Marc Tousignant wrote:> I think it has to be something trivial, but I cannot start 2 windows > servers at the same time on the same dom0. > > If I start server 2008 first I can’t start 2012, if I start 2012, I > can’t start 2008. > > The failure is: > > libxl: error: libxl_device.c:470:libxl__wait_for_device_model Device Model not ready > xl: fatal error: libxl_create.c:535, rc=-1: libxl__confirm_device_model_startupIf nothing of what I say below helps then please can you run "xl -vvv create $cfg" and report the full result. Also can you look under /var/log/xen for files with the name of the domain in them (mainly qemu-dm-$name.log and xl-$name.log IIRC).> vfb = [ 'type=vnc,vncdisplay=10,vncpasswd=xxxx' ]As Kristian pointed out I don't think this does anything but if it did then you have used vncdisplay=10 in both cases, so you'd be using the same TCP port and the second qemu to start would therefore fail to bind.> vncunused=0Similarly this will tell qemu to *not* look for a free port to use and therefore it will use the default vncdisplay, which is 0, and therefore both qemus will be trying to use the same port and again the second one to start would fail. I suspect this is your problem. Try adding vncdisplay=10 to one domain and =11 to the other (or the distinct display numbers of your choice). Unless by vncunused=0 you were trying to disable vnc, in which case you want vnc=0 in both cases. See xl.cfg(5) for more details of the vnc* options. Ian. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
I had changed the 10 to 11 on vnc the other day, to no effect. The fix was vncunused=1. See I knew it was something simple I was overlooking. Thanks Marc -----Original Message----- From: Ian Campbell [mailto:Ian.Campbell@citrix.com] Sent: Wednesday, August 22, 2012 5:05 AM To: Marc Tousignant Cc: xen-users@lists.xen.org Subject: Re: [Xen-users] config file conflict?? On Wed, 2012-08-22 at 05:21 +0100, Marc Tousignant wrote:> I think it has to be something trivial, but I cannot start 2 windows > servers at the same time on the same dom0. > > If I start server 2008 first I can’t start 2012, if I start 2012, I > can’t start 2008. > > The failure is: > > libxl: error: libxl_device.c:470:libxl__wait_for_device_model Device > Model not ready > xl: fatal error: libxl_create.c:535, rc=-1: > libxl__confirm_device_model_startupIf nothing of what I say below helps then please can you run "xl -vvv create $cfg" and report the full result. Also can you look under /var/log/xen for files with the name of the domain in them (mainly qemu-dm-$name.log and xl-$name.log IIRC).> vfb = [ 'type=vnc,vncdisplay=10,vncpasswd=xxxx' ]As Kristian pointed out I don't think this does anything but if it did then you have used vncdisplay=10 in both cases, so you'd be using the same TCP port and the second qemu to start would therefore fail to bind.> vncunused=0Similarly this will tell qemu to *not* look for a free port to use and therefore it will use the default vncdisplay, which is 0, and therefore both qemus will be trying to use the same port and again the second one to start would fail. I suspect this is your problem. Try adding vncdisplay=10 to one domain and =11 to the other (or the distinct display numbers of your choice). Unless by vncunused=0 you were trying to disable vnc, in which case you want vnc=0 in both cases. See xl.cfg(5) for more details of the vnc* options. Ian. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
El 22/08/12 00:50, Kristian Hagsted Rasmussen escribió:> As far as I am aware the vfb option is only available for pv domains.Not really. This is from my HVM DomU config: vfb = [ ''type=vnc,keymap=es, vnclisten=0.0.0.0,vncdisplay=10, vncpasswd=XXXXXXXX'' ]> two domUs on the same VNC port (''vncdisplay'') try using port 10 for > one domU and port 11 for the other.I agree, that must be the issue. -- Alexandre Kouznetsov
Possibly Parallel Threads
- Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
- Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
- [PATCH] libxl: Set VNC password through QMP
- Unable to boot installation ISO
- Error starting stubdom HVM on Xen-3.4.3-rc4-pre