From: ccmail111 Subject: RE: Fw: Not enough RAM for domain 0 allocation Date: Fri, 19 Mar 2010 23:37:34 -0700 (PDT) Message-ID: <909280.98636.qm@web34208.mail.mud.yahoo.com> References: <8ed45f58-a830-4c01-ae49-90bcc194bdce@default> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2145677508==" Return-path: In-Reply-To: <8ed45f58-a830-4c01-ae49-90bcc194bdce@default> 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, Dan Magenheimer List-Id: xen-devel@lists.xenproject.org --===============2145677508== Content-Type: multipart/alternative; boundary="0-85917005-1269067054=:98636" --0-85917005-1269067054=:98636 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks Dan. I am past that and see different error now: =C2=A0 "Xen: Scrubbing Free RAM ............" Then the xterm(screen) goes blank.. =C2=A0 Any thoughts ? =C2=A0 SV --- On Fri, 3/19/10, Dan Magenheimer wrote: From: Dan Magenheimer Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation To: "ccmail111" , xen-devel@lists.xensource.com Date: Friday, March 19, 2010, 9:16 PM Your kernel and initrd are compressed and still exceed 512MB?=C2=A0 That is= very unusual.=C2=A0 Are you building everything in your dom0 kernel? (e.g.= answering yes to all drivers, and everything when configuring your kernel?= )=C2=A0 If so, that=E2=80=99s not a good idea and is likely contributing to= your problem. =C2=A0 You didn=E2=80=99t say how much memory is in your machine.=C2=A0 If you hav= e enough, you can try dom0_mem=3D768M or dom0_mem=3D1GB and so on. =C2=A0 If those suggestions don=E2=80=99t work, sorry, maybe someone else can answ= er but this is probably a xen-users list question than a xen-devel question= . =C2=A0 From: ccmail111 [mailto:ccmail111@yahoo.com]=20 Sent: Friday, March 19, 2010 5:47 PM To: xen-devel@lists.xensource.com; Dan Magenheimer Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation =C2=A0 Hi Dan, Thanks for response. =C2=A0 I just tried (with dom0_mem=3D512M) and see error: "Domain 0 allocation is too small for kernel image" =C2=A0 But if I dont use the parameter I see error as in subject line which is dif= ferent. Question is: does subject line error printed by kernel ? Any kernel paramet= er that I need to change during build ? =C2=A0 Any suggestions ? Is there anyway I can specifiy the max for kernel and xen ? =C2=A0 Thanks, =C2=A0 SV =C2=A0 --- On Fri, 3/19/10, Dan Magenheimer wrote: From: Dan Magenheimer Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation To: "ccmail111" , xen-devel@lists.xensource.com Date: Friday, March 19, 2010, 6:10 PM You should be able to get around this problem by specifying dom0_mem=3D on = the Xen boot line, e.g.: =C2=A0 kernel /boot/xen.gz noreboot loglvl=3Dall dom0_mem=3D256M =C2=A0 From: ccmail111 [mailto:ccmail111@yahoo.com]=20 Sent: Friday, March 19, 2010 3:43 PM To: xen-devel@lists.xensource.com Subject: [Xen-devel] Fw: Not enough RAM for domain 0 allocation =C2=A0 --- On Fri, 3/19/10, ccmail111 wrote: From: ccmail111 Subject: Not enough RAM for domain 0 allocation To: "Fajar A. Nugraha" Cc: xen-users@lists.xensource.com Date: Friday, March 19, 2010, 5:38 PM =C2=A0 Hi, =C2=A0 I see above error when xen tries to boot up. =C2=A0 The grub.conf is: =C2=A0 title Dom0 Xen 3.4.2 =C2=A0XenLinux 2.6 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel /boot/xen.gz noreboot loglvl=3D= all =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 module /boot/vmlinuz.vm=C2=A0 root=3Dd= ev/ram0 ro =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 module /boot/ramdisk.gz Looking through archives I found couple of pointers but no solution. The closest I see: http://www.mailinglistarchive.com/xen-devel@lists.xensource.com/msg56592.ht= ml by Keir: =C2=A0 " Either this restriction of the domain builder needs to be lifted (a bit of a pain and not really on anyone's todo list), ..." =C2=A0 Any solutions/suggestions is appreciated ! =C2=A0 Thanks ! =C2=A0 SV =C2=A0 =C2=A0 =C2=A0 =C2=A0=0A=0A=0A --0-85917005-1269067054=:98636 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Thanks Dan.
I am past that and see different error now:
 
"Xen: Scrubbing Free RAM ............"
Then the xterm(screen) goes blank..
 
Any thoughts ?
 
SV
--- On Fri, 3/19/10, Dan Magenheimer <dan.magenheimer@o= racle.com> wrote:

From: Dan Magenheimer <dan.magenheimer@oracle.= com>
Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocat= ion
To: "ccmail111" <ccmail111@yahoo.com>, xen-devel@lists.xensour= ce.com
Date: Friday, March 19, 2010, 9:16 PM

Your kernel and initrd are compressed and still exceed= 512MB?  That is very unusual.  Are you building everything in yo= ur dom0 kernel? (e.g. answering yes to all drivers, and everything when con= figuring your kernel?)  If so, that=E2=80=99s not a good idea and is l= ikely contributing to your problem.

 

You didn=E2=80=99t say how much memory is in your mach= ine.  If you have enough, you can try dom0_mem=3D768M or dom0_mem=3D1G= B and so on.

 

If those suggestions don=E2=80=99t work, sorry, maybe = someone else can answer but this is probably a xen-users list question than= a xen-devel question.

 

From: ccmail111 [mailto:ccmail111@yahoo.com]
Sent: Friday, Ma= rch 19, 2010 5:47 PM
To: xen-devel@lists.xensource.com; Dan Magen= heimer
Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 a= llocation

 

Hi Dan,


Thanks for response.

 

I just tried (with dom0= _mem=3D512M) and see error:

"Domain 0 allocation is too small for kernel image"

 

But if I dont use the parameter I see error as in subj= ect line which is different.

Question is: does subject line error printed by kernel= ? Any kernel parameter that I need to change during build ?

 

Any suggestions ?

Is there anyway I can specifiy the max for kernel and = xen ?

 

Thanks,

 

SV

 



--- On Fri, 3/19/10, Dan Magenheimer <= ;dan.magenheimer@oracle.com> wrote:


From: Dan Magenheime= r <dan.magenheimer@oracle.com>
Subject: RE: [Xen-devel] Fw: Not en= ough RAM for domain 0 allocation
To: "ccmail111" <ccmail111@yahoo.com= >, xen-devel@lists.xensource.com
Date: Friday, March 19, 2010, 6:10 P= M

You should be able to get around this problem by speci= fying dom0_mem=3D on the Xen boot line, e.g.:

 

kernel /boot/xen.gz noreboot loglvl=3Dall dom0_mem=3D2= 56M

 

From: ccmail111 [mailto:ccmail111@yahoo.com]
Sent: Friday, Ma= rch 19, 2010 3:43 PM
To: xen-devel@lists.xensource.com
Subj= ect: [Xen-devel] Fw: Not enough RAM for domain 0 allocation

  =



--- On Fri, 3/19/10, ccmail111 <ccmai= l111@yahoo.com> wrote:


From: ccmail111 <= ccmail111@yahoo.com>
Subject: Not enough RAM for domain 0 allocation<= BR>To: "Fajar A. Nugraha" <fajar@fajar.net>
Cc: xen-users@lists.xe= nsource.com
Date: Friday, March 19, 2010, 5:38 PM

 

Hi,

 

I see above error when xen tries to boot up.

 

The grub.conf is:

 

title Dom0 Xen 3.4.2  XenLinux 2.6
  = ;     kernel /boot/xen.gz noreboot loglvl=3Dall
&nbs= p;      module /boot/vmlinuz.vm  root=3Ddev/r= am0 ro
       module /boot/ramdisk.gz

Looking through archives I found couple of pointers bu= t no solution.

The closest I see:

by Keir:

 

" Either this restriction of the domain builder needs<= BR>to be lifted (a bit of a pain and not really on anyone's todo list), ...= "

 

Any solutions/suggestions is appreciated !

 

Thanks !

 

SV

 

 

 

 

=0A=0A --0-85917005-1269067054=:98636-- --===============2145677508== 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 --===============2145677508==--