From: Luca Subject: Not enough RAM for domain 0 allocation. Date: Tue, 12 Aug 2008 12:37:32 -0700 Message-ID: <3d87aabd0808121237q3670c8abqbedb50debc41f8c4@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0552147967==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0552147967== Content-Type: multipart/alternative; boundary="----=_Part_64631_18107550.1218569852749" ------=_Part_64631_18107550.1218569852749 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_64631_18107550.1218569852749 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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

------=_Part_64631_18107550.1218569852749-- --===============0552147967== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0552147967==--