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-ppc-devel

[XenPPC] domain creation error

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] domain creation error
From: Maria Butrico <butrico@xxxxxxxxxxxxx>
Date: Sat, 19 Aug 2006 18:44:10 -0400
Delivery-date: Sat, 19 Aug 2006 15:45:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: butrico@xxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)
I am trying to create a domain. The error I receive from xm is very generic and I cannot readily see what is wrong:

This is what I get

xm create xen-domain-config
Using config file "xen-domain-config".
/usr/lib/python2.4/xmllib.py:9: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead. warnings.warn("The xmllib module is obsolete. Use xml.sax instead.", DeprecationWarning)
Error: (22, 'Invalid argument')

My configuration file is very simple:
#  -*- mode: python; -*-
#============================================================================
# Python configuration setup for 'xm create'.
# This script sets the parameters used when a domain is created using 'xm create'.
# You use a separate script for each domain you want to create, or
# you can set the parameters for the domain on the xm command line.
#============================================================================

#----------------------------------------------------------------------------
# Kernel image file.
kernel = "/home/j9/bin/j9"

# Initial memory allocation (in megabytes) for the new domain.
memory = 32

# A name for your domain. All domains must have different names.
name = "J9-Lib-OS"

on_crash = 'destroy'



From xend.log

[2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG (XendDomainInfo:186) XendDomainInfo.create(['vm', ['name', 'J9-Lib-OS'], ['memory', 32], ['on_crash', 'destroy'], ['vcpus', 1], ['image', ['linux', ['kernel', '/home/j9/bin/j9']]]]) [2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG (XendDomainInfo:292) parseConfig: config is ['vm', ['name', 'J9-Lib-OS'], ['memory', 32], ['on_crash', 'destroy'], ['vcpus', 1], ['image', ['linux', ['kernel', '/home/j9/bin/j9']]]] [2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG (XendDomainInfo:391) parseConfig: result is {'uuid': None, 'on_crash': 'destroy', 'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel', '/home/j9/bin/j9']], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name': 'J9-Lib-OS', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 32, 'device': [], 'bootloader': None, 'cpu': None, 'maxmem': None} [2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG (XendDomainInfo:1219) XendDomainInfo.construct: None [2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG (XendDomainInfo:1251) XendDomainInfo.initDomain: 1 1.0 [2006-08-19 20:39:03 xend.XendDomainInfo 4453] ERROR (XendDomainInfo:198) Domain construction failed
Traceback (most recent call last):
File "/home/j9/xen-tools/usr/lib/python/xen/xend/XendDomainInfo.py", line 191, in create
   vm.initDomain()
File "/home/j9/xen-tools/usr/lib/python/xen/xend/XendDomainInfo.py", line 1318, in initDomain
   raise VmError(str(exn))
VmError: (22, 'Invalid argument')
[2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG (XendDomainInfo:1404) XendDomainInfo.destroy: domid=1 [2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG (XendDomainInfo:1412) XendDomainInfo.destroyDomain(1)





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

<Prev in Thread] Current Thread [Next in Thread>