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/
Home Products Support Community News


Re: [Xen-users] New domains do not show up with "xm list"

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] New domains do not show up with "xm list"
From: Felix Kuperjans <felix@xxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Sep 2010 22:17:12 +0200
Delivery-date: Wed, 29 Sep 2010 13:18:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikmK+HvRzWvCnoKekq8GknXPQ3HVkocs7FJ_euC@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikmK+HvRzWvCnoKekq8GknXPQ3HVkocs7FJ_euC@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100909 Lanikai/3.1.3
I think the domain just crashed right away and is already dead when you call `xm list`. Try reading its screen output by adding -c to the create command line, e.g. xm create -c path.cfg.
The Xen logs will also throw some light on the issue (those in /var/log/xen/).


Am 29.09.2010 22:08, schrieb Priya:
Hello people!

This is a strange error and I am sure I am missing something really basic. I installed Xen 4.0.1 on Ubuntu 10.04, and only have command line access to my domain-0.

Every thing seems to be working okay. My "xm info" output is as follows:
root@XenOpen:/etc/xen# xm info
host                   : XenOpen
release                :
version                : #2 SMP Mon Sep 27 10:23:06 EDT 2010
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2992
hw_caps                : bfebfbff:20100800:00000000:00000940:0408e3fd:00000000:00000001:00000000
virt_caps              : 
total_memory           : 3931
free_memory            : 3048
node_to_cpu            : node0:0-1
node_to_memory         : node0:3048
node_to_dma32_mem      : node0:2984
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p 
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : dummy=dummy dom0_mem=832M
cc_compiler            : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
cc_compile_by          : root
cc_compile_domain      : 
cc_compile_date        : Mon Sep 27 11:36:56 EDT 2010
xend_config_format     : 4


I tried to create PV domains using the following configuration file:
root@XenOpen:/etc/xen# more mylinux.cfg 
kernel = "/boot/vmlinuz-"
memory = 128
name = "MyLinux"
root = "/dev/hda1 ro"

The problem is that when I try to create new PV domains, I get a message saying that they have been created but they don't show up when I do a subsequent xm list:

root@XenOpen:/etc/xen# xm create mylinux.cfg 
Using config file "./mylinux.cfg".
Started domain MyLinux (id=11)
root@XenOpen:/etc/xen# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   832     2     r-----    151.2
Could someone please throw some light on what in the world is going on...please!

Priya Bhat

_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
Xen-users mailing list