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] xm create error - Unable to allocate memory

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xm create error - Unable to allocate memory
From: Glen Eustace <geustace@xxxxxxxxxxxxxx>
Date: Sun, 11 May 2008 14:52:20 +1200
Delivery-date: Sat, 10 May 2008 19:52:58 -0700
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>
Organization: GodZone Internet Services
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (X11/20080226)
I have had reasonable success with para-virtualised domUs and so tried my first fully virtualised domU today. I am hoping to migrate a Win2k3 server into my Xen environment.

I am not getting very far as I get the following when trying to create the DomU. I have tied various values for 'memory' but none make any difference. The server is running Linux version 2.6.21.7-3.fc8xen on a 64-bit host. Any help would be much appreciated.

xm create /etc/xen/agree-20
Using config file "/etc/xen/agree-20".
Error: (12, 'Cannot allocate memory')

The config file is;
name = "agree-20"
device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
builder = "hvm"
memory = 512
vcpus = 1
bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
sdl = 0
vnc = 1
vncunused = 1
disk = [ "tap:aio:/var/lib/VirtualMachines/agree-20.img,hda,w" ]
vif = [ 'type=ioemu, bridge=xenbr0' ]
apic=1
acpi=1
pae=1
serial = "pty" # enable serial console

[agree-26]xen: xm list
Name                              ID   Mem VCPUs      State   Time(s)
Domain-0                           0  1372     4     r-----   2503.3
agree-11                          13   512     2     -b----   1938.8
agree-12                          18   128     1     -b----    253.7
agree-15                          10  1024     2     -b----    812.6
agree-29                          17   128     1     -b----    413.0
agree-3                           16   128     1     -b----    223.9
agree-30                          15   256     1     -b----    289.6
agree-31                          14   256     1     -b----    721.0
agree-32                          12   128     1     -b----    457.1


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Glen and Rosanne Eustace
GodZone Internet Services, a division of AGRE Enterprises Ltd.
P.O. Box 8020, Palmerston North, New Zealand 4446.
Ph: +64 6 357 8168, Fax +64 6 357 8165, Mob: +64 21 424 015
http://www.godzone.net.nz

"A Ministry specialising in providing low-cost Internet Services
to NZ Christian Churches, Ministries and Organisations."

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

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