[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.