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/
Home Products Support Community News


Re: [Xen-users] xm create error - Unable to allocate memory

To: deshantm@xxxxxxxxx
Subject: Re: [Xen-users] xm create error - Unable to allocate memory
From: Glen Eustace <geustace@xxxxxxxxxxxxxx>
Date: Sun, 11 May 2008 18:22:38 +1200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 10 May 2008 23:23:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0805102006u71db9b4fk3971de94c88eed70@xxxxxxxxxxxxxx>
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: <48265F64.9090708@xxxxxxxxxxxxxx> <1e16a9ed0805102006u71db9b4fk3971de94c88eed70@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20080226)
    xm create /etc/xen/agree-20
    Using config file "/etc/xen/agree-20".
    Error: (12, 'Cannot allocate memory')

Did you notice the cannot allocate memory error? do you have enough free memory?

Yep, that is the whole point :-) There is lots of memory available and I only get this when attempting to start the fully virtualised domU. Starting a para-virtualised domU works fine,

    kernel = "/usr/lib/xen/boot/hvmloader"

This seems to be the culprit. Commenting it out and the domU now starts, but I am now going to have to work out why I can't get a console :-) But progress at last

Xen-users mailing list