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
 
   
 

xen-users

[Xen-users] Can't create guest image

To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Can't create guest image
From: Matt Herzog <msh@xxxxxxxxxxx>
Date: Thu, 28 Sep 2006 10:54:50 -0400
Delivery-date: Thu, 28 Sep 2006 07:55:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
[root@province ~]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      128     2 r-----   271.1

[root@province ~]# xm info
host                   : province.winteract.com
release                : 2.6.16-xen
version                : #1 SMP Wed Sep 27 11:30:50 EDT 2006
machine                : i686
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 2
cores_per_socket       : 1
threads_per_core       : 1
cpu_mhz                : 1533
hw_caps                : 0383fbff:c1cbfbff:00000000:00000020
total_memory           : 1024
free_memory            : 874
xen_major              : 3
xen_minor              : 0
xen_extra              : .2-2
xen_caps               : xen-3.0-x86_32
platform_params        : virt_start=0xfc000000
xen_changeset          : Thu Apr 13 15:18:37 2006 +0100 9617:5802713c159b
cc_compiler            : gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
cc_compile_by          : root
cc_compile_domain      : winteract.com
cc_compile_date        : Wed Sep 27 10:43:13 EDT 2006

I built xen in /home/xen/bin and I have a small partition for xen guests on

/dev/hdc3             2.0G   35M  1.8G   2% /xen

Here is my config file for creating the new guest domain:

----------------------------- snip --------------------------------------
def vmid_check(var, val):
    val = int(val)
    if val <= 0:
        raise ValueError
    return val

xm_vars.var('vmid',
            use="Virtual machine id. Integer greater than 0.",
            check=vmid_check)

xm_vars.check()

kernel = "/boot/xen-3.0.gz"
memory = 128
name = "VM%d" % vmid
vcpus = 2 # make your domain a 4-way
vif = [ '' ]
disk = [ 'phy:hdc3,hdc3,w' ]
dhcp="dhcp"
hostname= "vm%d" % vmid
root = "/dev/hdc ro"
extra = "4 VMID=%d usr=/dev/hdc1" % vmid
----------------------------- snip --------------------------------------

When I try to create the guest domain, I get this:

        Using config file "0Sguest".
        Error: (22, 'Invalid argument')

Is there any way to get a more verbose error output?


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Can't create guest image, Matt Herzog <=