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: João Medina <joaomedina@xxxxxxxxx>
Subject: Re: [Xci-devel] Second VM does not start!
From: Jean Guyader <jean.guyader@xxxxxxxxx>
Date: Thu, 19 Aug 2010 20:33:02 +0100
Cc: Xci-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Aug 2010 12:33:06 -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 :content-transfer-encoding; bh=VIczk0pOS7m3Kjd333hhODRdxQeva4BR+CVvIkH7W/s=; b=VokVmQaP3s8PgB5MQ1e+zmcd5+CAWHY+aFYkOr5VGnam6gvjgWXl6K8TXHAID7g5wK /tOW/Fxu4UpCgkrs3+ZtNfGdk05/jweX9bS6PHeFo/Te2xkKnihoclvZc1Bk0AUZWm/Z D3CKH+14KryAC8GlDGKBqvRfzeYqbpCoABLzQ=
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:content-transfer-encoding; b=sAaSRdGZWDiagFigkaR+f3lMRalHrPajbuhH/8GGP2sLz6Dxz1kW/6qo3b3c3pTPd8 SmAGSw80eUQNz0Lgfm22GqiXgxpIGcoG2xfZzxKVnL0q7RayrrptMtLZnhGJmc3Q+rR3 ZWMqMIWZHC8WTk50CE+1hyGzmQ+Jm8axEW1zE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTin0QNOtDkKVHVnGJcV0rz58ipV7KhNfApOTYsym@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>
Sender: xci-devel-bounces@xxxxxxxxxxxxxxxxxxx
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ão 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>