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] Domain construction failed

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Domain construction failed
From: "namit gmail" <kortenhorst@xxxxxxxxx>
Date: Sun, 15 Jul 2007 23:57:13 +0100
Delivery-date: Sun, 15 Jul 2007 15:55:03 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=cUSMAk78YW97ruPJ3tn05uEkkD+wYprbformD/t5RCRqGM6T9r5dw2jRZN0b01tIai3r2TiWeCgN56irQnUC3/ydCgdQZrAr7++zio0ecQoEBiqWaELF9rzc29r/lSUHKuRu203LSBLgQK+2gdNzsqX2NUw9P/z/zVtuTUs+V7Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=YjgJYHPJj/GyA21OWPhUHR8grGn+tIoF7f8qMokTsbCnf1YktEpaObfGq1Ya2PJbyROWOG/efCfY/Qc7qMTI73/VoKr/8wr7BB6SuBG0kZkjAWCGzropCtRPOrWXaSniDGeLeQ8N762ZX2t+eoIvbjTy3QIXO+fun2MBN1YuGGk=
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>
Reply-to: kortenhorst@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hey lads

I followed the following http://mediakey.dk/~cc/installing-xen-on-debian-etch-40/ i am running etch 4.0
But can not get anything working

Where have got to.
I get to the xm list command and this outputs
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0      144     1 r-----     52.7

I can create img with
xen-create-image -hostname=mailserver

What my problem is
I try xm create mailserver.cfg
Output is the following.
Using config file "/etc/xen/mailserver.cfg".
Error: (22, 'Invalid argument')

mailserver.cfg is
#  Kernel + memory size
kernel  = '/boot/vmlinuz-2.6.18-4-686'
ramdisk = '/boot/initrd.img-2.6.18-4-686'
memory  = '64'
#  Disk device(s).
root    = '/dev/sda1 ro'
disk    = [ 'file:/home/xen/domains/mailserver/disk.img,hdg1,w', 'file:/home/xen/domains/mailserver/swap.img,hdg4,w' ]
#  Hostname
name    = 'mailserver'
#  Networking
vif  = [ 'ip=192.168.0.24' ]
#  Behaviour
>on_reboot   = 'restart'
on_crash    = 'restart'

xend.log shows:
[2007-07-15 23:59:23 xend 2332] DEBUG (__init__:1072) features       =
[2007-07-15 23:59:23 xend.XendDomainInfo 2332] ERROR (__init__:1072) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 195, in create
    vm.initDomain()
  File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 1363, in initDomain
    raise VmError(str(exn))
VmError: (22, 'Invalid argument')
[2007-07-15 23:59:23 xend.XendDomainInfo 2332] DEBUG (__init__:1072) XendDomainInfo.destroy: domid=6
[2007-07-15 23:59:23 xend.XendDomainInfo 2332] DEBUG (__init__:1072) XendDomainInfo.destroyDomain(6)

xend-debug.log shows:
ERROR: Unrecognized image format
ERROR: Error constructing guest OS



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>