Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] can't create 1st domain on debian

To: Simon Guerrero <simon@xxxxxxxxxxxx>
Subject: Re: [Xen-users] can't create 1st domain on debian
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Mon, 29 Aug 2005 18:55:57 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Aug 2005 23:54:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43139F86.9060503@xxxxxxxxxxxx>
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>
References: <43139F86.9060503@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
Simon Guerrero wrote:

Hi all

I've taken the plunge and decided to set up Xen on my AMD64 machine. I want to use amd64 debian as the domain 0 O/S, then install a full amd64 debian dev kit and a couple of 32-bit linuxes on top.

AFAIK, 64 bit Xen will not run 32 bit domains. This is a planned feature, but not for the very near term future.
My problem now is that I can never get the xm create command to work. My config file (/etc/xen/linuxdev) looks like this:


name="linuxdev"
memory=512
kernel="/boot/vmlinuz-2.6-xenU"
nics=1
disk=] 'file:/srv/linuxdev.img,hda1,w', 'file:/src/linuxdev_home.img,hda2,w' ]
root="/dev/hda1 ro"

There's an obvious syntax error there in the disk line. Is this a copy-paste error?

The kernel image file exists and is the -xenU equivalent of my -xen0 working domain0 image (both from the binary unstable dist).

Before I try xm create, xm list shows me:

Name Id Mem(MB) CPU VCPU(s) State Time(s) Domain-0 0 123 0 1 r---- 18.3

When I do
   xm create /etc/xen/linuxdev -c

I get:

Using config file "/etc/xen/linuxdev".
Error: Error creating domain: (0, 'Error')

xm list now shows:

Name Id Mem(MB) CPU VCPU(s) State Time(s) Domain-0 0 635 0 1 r---- 19.5

Note the memory increase in Domain-0. Each time I try xm create it goes up until it runs out of memory.

Woah!  That's crazy.  How old of a version of Xen is this?

Regards,

Anthony Liguori

Looking at /var/log/xend-debug.log, the last line says:

File "/local/scratch/xenod/cron-build/xen-unstable-x86_64.ud6331.dir/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/image.py", line 248, in buildDomain
error: (0, 'Error').

I notice that line 248 of image.py on my system is a call to xc.linux_build.

Hopefully this is some really dumb xen newbie thing I'm doing wrong. Can anyone help?

Sorry for the size of the email; I wanted to include everything.

Simon


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



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