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

[Xci-devel] Second VM does not start!

To: Xci-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xci-devel] Second VM does not start!
From: João Medina <joaomedina@xxxxxxxxx>
Date: Thu, 19 Aug 2010 16:24:57 -0300
Cc:
Delivery-date: Thu, 19 Aug 2010 12:25:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=pY+wY2rf+OG7CDnYrC3nJuBjIlEbGBgYo5wtdpu++lQ=; b=pZ/R2Mf3cMBwrc1iYWKIQbo5yaSZNhtZcVxHQcPYUhUICxPxHCcdmmYvglstykCb/s N4Sxn4LRhhcc5sLUvHWZi6FSF1ifPv+G2A0oKvSuuU8uWdCr13t9cC4lmts1Ob/hJC2G WqMWQL4aC6HR7LMR9ZBcd5vabdINSMx0hWa84=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=mtei5qPM/vENedNtNs13A4fcvq0Jd5Bki7Oznj2+A5oUeX8DQ4v2DItXg7IsWOT1dI 5c5jRApvtna/zlS5VSkow1zaW+akMZiEzUq2Np5Qqs4XWFOQve77wrxhkPfppT2G7Tmd DE2xAvNxlxPL9Twqo37QISJRqEWvlv290cDZY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xci-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>