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

Re: [Xen-devel] Latest 1.2 tools fail to create new domain

To: "Tvrtko A. Uršulin" <tvrtko@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Latest 1.2 tools fail to create new domain
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 16 Feb 2004 09:29:30 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 16 Feb 2004 09:31:31 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 16 Feb 2004 10:20:55 +0100." <200402161020.55481.tvrtko@xxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> 
> xen:~ # xc_dom_create.py -f /etc/xc/test -D vmid=1
> Parsing config file '/etc/xc/test'
> /usr/lib/python2.3/site-packages/XenoUtil.py:96: FutureWarning: x<<y losing 
> bits or changing sign will return a long in Python 2.4 and up
>   a = ( (string.atoi(l[0])<<24) | (string.atoi(l[1])<<16) |
> VM image           : "/boot/xenolinux-new.gz"
> VM ramdisk         : ""
> VM memory (MB)     : "64"
> VM IP address(es)  : "10.0.0.4; 169.254.1.1"
> VM block device(s) : "vd:1,sda1,w; vd:2,sda2,w"
> VM cmdline         : " root=/dev/sda1 VMID=1 "
> Traceback (most recent call last):
>   File "/usr/bin/xc_dom_create.py", line 308, in ?
>     current_id = make_domain()
>   File "/usr/bin/xc_dom_create.py", line 266, in make_domain
>     extents=segments):
> SystemError: NULL result without error in PyObject_Call

Make sure you you are using up-to-date Xc and XenoUtil python modules.
You will need to 'make install' within the 'tools' directory. 

If this fails to help then I can add some error tracing to Xc.

 -- Keir


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel