[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Not enough RAM for domain 0 allocation.


  • To: Luca <lucarx76@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acj8uqYM5LHZe2itEd2pBAAWy6hiGQ==
  • Thread-topic: [Xen-devel] Not enough RAM for domain 0 allocation.

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.