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] Not enough RAM for domain 0 allocation.

To: Luca <lucarx76@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Not enough RAM for domain 0 allocation.
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 12 Aug 2008 21:33:16 +0100
Cc:
Delivery-date: Tue, 12 Aug 2008 13:33:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3d87aabd0808121237q3670c8abqbedb50debc41f8c4@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acj8uqYM5LHZe2itEd2pBAAWy6hiGQ==
Thread-topic: [Xen-devel] Not enough RAM for domain 0 allocation.
User-agent: Microsoft-Entourage/11.4.0.080122
Are you using 64-bit Xen? In that case we can fix this probably quite easily. For 32-bit Xen it is harder.

 -- Keir

On 12/8/08 20:37, "Luca" <lucarx76@xxxxxxxxx> wrote:

Hi all,
 I have been trying to use Xen with a diskless workstation.
My system has 3G of RAM. I have built a ramdisk (whose size is 450M)  and I'm trying to load everything in memory (Xen,Dom0 and the ramdisk).

In the file arch/x86/domain_build.c the function alloc_domheap_pages
is invoked page=alloc_domheap_pages(d,order,MEMF_bit(30);  // in my case order =17

This function returns a NULL pointer, which generates the error "Not enough RAM for domain 0 allocation"
It seems that if the total size of hypervisor+dom0+ramdisk is less than 256M everything works, if it is bigger than that I got that  problem.
Is there anything I have to set? I have tried playing with dom0_mem but nothing worked.
Any hint on how to proceed would really help me a lot.

Thanks,
  Luca



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

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