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: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Latest 1.2 tools fail to create new domain
From: "Tvrtko A. Uršulin" <tvrtko@xxxxxxxxxxxx>
Date: Mon, 16 Feb 2004 11:14:13 +0100
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Delivery-date: Mon, 16 Feb 2004 10:14:57 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1AsfSy-0005fB-00@xxxxxxxxxxxxxxxxxxxx>
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>
Organization: Croadria Internet usluge
References: <E1AsfSy-0005fB-00@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.6
On Monday 16 February 2004 10:55, Keir Fraser wrote:

> They compile okay for me with 2.95.3. It shouldn't matter which
> compiler you use though.

Hmmm... what about this then:

gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 
-DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC 
-Wall -fPIC -I../lib -I/usr/include/python2.3 -c Xc.c -o 
build/temp.linux-i686-2.3/Xc.o
In file included from /usr/include/asm/sigcontext.h:4,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:326,
                 from /usr/include/python2.3/pyfpe.h:129,
                 from /usr/include/python2.3/Python.h:135,
                 from Xc.c:7:
/usr/include/linux/compiler.h:71: warning: `__attribute_used__' redefined
/usr/include/sys/cdefs.h:195: warning: this is the location of the previous 
definition
cc1: Invalid option `-fmessage-length=0'
error: command 'gcc' failed with exit status 1

> Okay, I've added some tracing to vbd_setextents. Pull the latest
> changes to 1.2, rebuild, and reinstall.

Here it is:

xen:~/build/xeno-1.2.bk/tools # 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.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 "
vbd_setextents: extent 0 -- 'nr_sectors' is not a long.
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



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