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
 
   
 

xci-devel

Re: [Xci-devel] Second VM does not start!

To: Jean Guyader <jean.guyader@xxxxxxxxx>
Subject: Re: [Xci-devel] Second VM does not start!
From: João Medina <joaomedina@xxxxxxxxx>
Date: Fri, 20 Aug 2010 10:09:34 -0300
Cc: xci-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 20 Aug 2010 06:09:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=2seWsmoYzRLVeG1iEE6zJEGbvR+u++e5k/r4cIzjAf8=; b=tBzbiGsHviiiXRdiwDHx44PM6VTIFAEQeIbm2rZsNlA0oO7Kpqel/IyONyYwviQHT2 sSc2lpanCl02xtiO5484mCxkobSIEHmhDJsHeCXTWjSF99P0f+La83oCvnmvRr8txKfC mbs/TpZIXP0tfY8khehitqs11EUBjx2JbSS1Y=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=cNkDe7c+Dq7q7QIX2IwFbccfjWhm3tENi9pP86vBirZVkhQ2JKtsuZBAVywqPIGcF8 TqYvOq7z20CemnknLWxQ1qVi5xGlgmRwiPhsZJaRDsC1YLFTbPDsVIhvlhInObvZS8tg GoZ8E648uHT1jgLDpW0coUPFjXqD56q78P3HI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimw4dTfzGQrW2aXf39P5yoJV78DT7RToZ5Ye7G7@xxxxxxxxxxxxxx>
List-archive: <http://lists.xensource.com/archives/html/xci-devel>
List-help: <mailto:xci-devel-request@lists.xensource.com?subject=help>
List-id: xci-devel.lists.xensource.com
List-post: <mailto:xci-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xci-devel>, <mailto:xci-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xci-devel>, <mailto:xci-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTin0QNOtDkKVHVnGJcV0rz58ipV7KhNfApOTYsym@xxxxxxxxxxxxxx> <AANLkTinb9y6X==f04mxrxeQ9=-D++1ciCrAPq7soVVN-@xxxxxxxxxxxxxx> <AANLkTinZG=BECCf00qwBfc1ke-gdcuP4ok-3MP-TQ7hx@xxxxxxxxxxxxxx> <AANLkTimw4dTfzGQrW2aXf39P5yoJV78DT7RToZ5Ye7G7@xxxxxxxxxxxxxx>
Sender: xci-devel-bounces@xxxxxxxxxxxxxxxxxxx
It's alive!!!! :-D

Thanks Jean!!

Now i have my 2 vm running�together!!!

[]'s
Medina


On Thu, Aug 19, 2010 at 5:12 PM, Jean Guyader <jean.guyader@xxxxxxxxx> wrote:
Don't know if the vnc option actually works.
You can try something like

extra-hvm = vnc=0.0.0.0:1

The number at the end means 5900 + 1. Then put display = none in the
config file.

Jean

On 19 August 2010 20:42, Jo�Medina <joaomedina@xxxxxxxxx> wrote:
>
> Sorry, I forget this "small" detail:
> # cat vm/arch.vm
> uuid = 00000000-0000-0000-0000-000000000002
> hvm = true
> memory = 256
> disk = /root/vm/arch.iso:file:hdd:r:cdrom:
> disk = /root/vm/debian.img:file:hda:w:disk:
> boot = dc
> pae = false
> acpi = false
> apic = false
> debug = true
>
> # cat vm/arch2.vm
> uuid = 00000000-0000-0000-0000-000000000003
> hvm = true
> memory = 256
> disk = /root/vm/arch.iso:file:hdd:r:cdrom:
> disk = /root/vm/debian.img:file:hda:w:disk:
> boot = dc
> pae = false
> acpi = false
> apic = false
> debug = true
> I try this other VM too:
> # cat vm/vista.vm
> uuid = 00000000-0000-0000-0000-000000000022
> hvm = true
> memory = 512
> disk = /root/vm/vistaBusiness.iso:file:hdd:r:cdrom:
> disk = /root/vm/vista20.img:file:hda:w:disk:
> nic = bridge=xenbr0,mac=00:16:3E:FD:9F:72
> boot = dc
> pae = false
> acpi = true
> apic = false
> debug = true
> vnc = 1
> extra-hvm = usbdevice=tablet
> With the vista VM I try with and without the "vnc = 1".
> Tks,
> Medina
>
> On Thu, Aug 19, 2010 at 4:33 PM, Jean Guyader <jean.guyader@xxxxxxxxx>
> wrote:
>>
>> It seams that we try to use the same vnc port for both, that why the
>> second qemu crashes.
>>
>> Could you give use the config file for your second vm (the one that
>> doesn't work)?
>>
>> Jean
>>
>> On 19 August 2010 20:24, Jo�Medina <joaomedina@xxxxxxxxx> wrote:
>> > Hi all!!
>> > I have installed the XCI in my HP 6930p and try to start some VM's. The
>> > first VM came to life, very, very well but, the second is a pain!!
>> > Memory, is no a trouble, I have 3gb ins the system, 512mb to my dom0 and
>> > 256mb for each VM.
>> > Let me explain this with some xenops -list outputs:
>> > 1� - only with 1 vm:
>> > # xenvm arch.vm
>> > # xenops list
>> > id | �state | � cpu_time | � � � � � � � � � � � � � � � � uuid
>> > �0 | � � R �| 4177000604 | 00000000-0000-0000-0000-000000000000
>> > �1 | � � �H | �451150993 | 00000000-0000-0000-0000-000000000002
>> >
>> > 2� - during the startup of the second vm:
>> > # xenvm arch2.vm
>> > # xenops list
>> > id | �state | � �cpu_time | � � � � � � � � � � � � � � � � uuid
>> > �0 | � � R �| �5480771748 | 00000000-0000-0000-0000-000000000000
>> > �1 | � � RH | 28375713061 | 00000000-0000-0000-0000-000000000002
>> > �2 | � P �H | � � � � � 0 | 00000000-0000-0000-0000-000000000003
>> >
>> > 3� - the dead vm:
>> > # xenops list
>> > id | �state | � �cpu_time | � � � � � � � � � � � � � � � � uuid
>> > �0 | � � R �| �5906673036 | 00000000-0000-0000-0000-000000000000
>> > �1 | � � RH | 41568002515 | 00000000-0000-0000-0000-000000000002
>> > �2 | � P �H | � � � � � 0 | 00000000-0000-0000-0000-000000000003
>> > and:
>> > # xenops list
>> > id | �state | � �cpu_time | � � � � � � � � � � � � � � � � uuid
>> > �0 | � � R �| �6070872304 | 00000000-0000-0000-0000-000000000000
>> > �1 | � � RH | 46479406154 | 00000000-0000-0000-0000-000000000002
>> > �2 | � � �H | � � �202305 | 00000000-0000-0000-0000-000000000003
>> >
>> >
>> >
>> > Another thing is the qemu instances, on my ps i see this:
>> > # ps | grep qemu
>> > �2495 root � � /usr/lib/xen/bin/qemu-dm -name qemu-1 -d 1 -m 256 -boot
>> > dc
>> > -serial pty -vcpus 1 -videoram 8 -M xenfv -vnc :0 -k en-us
>> > �2520 root � � /usr/lib/xen/bin/qemu-dm -name qemu-1 -d 1 -m 256 -boot
>> > dc
>> > -serial pty -vcpus 1 -videoram 8 -M xenfv -vnc :0 -k en-us
>> > �2521 root � � /usr/lib/xen/bin/qemu-dm -name qemu-1 -d 1 -m 256 -boot
>> > dc
>> > -serial pty -vcpus 1 -videoram 8 -M xenfv -vnc :0 -k en-us
>> > Looking at my /tmp I have the logs of this 2 vms
>> >
>> > this is the working vm:
>> > # cat /tmp/xenvm-debug-00000000-0000-0000-0000-000000000002 | grep qemu
>> > [20100819 13:04:32.426|debug|xenops] qemu-dm: executing commandline:
>> > /opt/xensource/libexec/closeandexec --
>> > /opt/xensource/libexec/qemu-dm-wrapper 1 /tmp/qemu.1 -d 1 -m 256 -boot
>> > dc
>> > -serial pty -vcpus 1 -videoram 8 -M xenfv -vnc :0 -k en-us
>> > [20100819 13:04:32.427|debug|xenops] qemu-dm: should be running in the
>> > background (stdout and stderr redirected to /tmp/qemu.1)
>> > [20100819 13:04:32.649|debug|xenops] qemu-dm: pid = 2495
>> > [20100819 13:04:32.650|debug|xenops] qemu-dm: wrote vnc port 5900 into
>> > the
>> > store
>> >
>> > And this is the not working VM:
>> > # cat /tmp/xenvm-debug-00000000-0000-0000-0000-000000000003 | grep qemu
>> > [20100819 13:05:03.066|debug|xenops] qemu-dm: executing commandline:
>> > /opt/xensource/libexec/closeandexec --
>> > /opt/xensource/libexec/qemu-dm-wrapper 2 /tmp/qemu.2 -d 2 -m 256 -boot
>> > dc
>> > -serial pty -vcpus 1 -videoram 8 -M xenfv -vnc :0 -k en-us
>> > [20100819 13:05:03.067|debug|xenops] qemu-dm: should be running in the
>> > background (stdout and stderr redirected to /tmp/qemu.2)
>> > [20100819 13:05:18.077|debug|xenops] qemu-dm: timeout waiting for
>> > /local/domain/2/device-misc/dm-ready
>> >
>> > So, if I forgot some important details please, tell me ;)
>> >
>> > Tks,
>> > Medina
>> > _______________________________________________
>> > Xci-devel mailing list
>> > Xci-devel@xxxxxxxxxxxxxxxxxxx
>> > http://lists.xensource.com/mailman/listinfo/xci-devel
>> >
>> >
>
>

_______________________________________________
Xci-devel mailing list
Xci-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xci-devel
<Prev in Thread] Current Thread [Next in Thread>