From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Fw: Not enough RAM for domain 0 allocation Date: Sat, 20 Mar 2010 08:59:50 +0200 Message-ID: <20100320065950.GP1878@reaktio.net> References: <8ed45f58-a830-4c01-ae49-90bcc194bdce@default> <909280.98636.qm@web34208.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <909280.98636.qm@web34208.mail.mud.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ccmail111 Cc: Dan Magenheimer , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Mar 19, 2010 at 11:37:34PM -0700, ccmail111 wrote: > Thanks Dan. > I am past that and see different error now: >=20 > "Xen: Scrubbing Free RAM ............" > Then the xterm(screen) goes blank.. >=20 > Any thoughts ? > This is when Xen boots/starts the dom0 Linux kernel. It sounds like your dom0 kernel console settings (cmdline parameters) are not correct. -- Pasi =20 > SV > --- On Fri, 3/19/10, Dan Magenheimer wrote= : >=20 > 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 >=20 > Your kernel and initrd are compressed and still exceed 512MB? That i= s very > unusual. Are you building everything in your dom0 kernel? (e.g. answ= ering yes > to all drivers, and everything when configuring your kernel?) If so,= that=E2**s > not a good idea and is likely contributing to your problem. >=20 >=20 >=20 > You didn=E2**t say how much memory is in your machine. If you have e= nough, you > can try dom0_mem=3D768M or dom0_mem=3D1GB and so on. >=20 >=20 >=20 > If those suggestions don=E2**t work, sorry, maybe someone else can an= swer but this > is probably a xen-users list question than a xen-devel question. >=20 >=20 >=20 > From: ccmail111 [mailto:ccmail111@yahoo.com] > 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 >=20 >=20 >=20 > Hi Dan, >=20 > Thanks for response. >=20 >=20 >=20 > I just tried (with dom0_mem=3D512M) and see error: >=20 > "Domain 0 allocation is too small for kernel image" >=20 >=20 >=20 > But if I dont use the parameter I see error as in subject line which = is > different. >=20 > Question is: does subject line error printed by kernel ? Any kernel p= arameter > that I need to change during build ? >=20 >=20 >=20 > Any suggestions ? >=20 > Is there anyway I can specifiy the max for kernel and xen ? >=20 >=20 >=20 > Thanks, >=20 >=20 >=20 > SV >=20 >=20 >=20 > --- On Fri, 3/19/10, Dan Magenheimer wro= te: >=20 > From: Dan Magenheimer > Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation > To: "ccmail111" , xen-devel@lists.xensource.co= m > Date: Friday, March 19, 2010, 6:10 PM >=20 > You should be able to get around this problem by specifying dom0_me= m=3D on the > Xen boot line, e.g.: >=20 >=20 >=20 > kernel /boot/xen.gz noreboot loglvl=3Dall dom0_mem=3D256M >=20 >=20 >=20 > From: ccmail111 [mailto:ccmail111@yahoo.com] > 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 >=20 >=20 >=20 > --- On Fri, 3/19/10, ccmail111 wrote: >=20 > 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 >=20 >=20 >=20 > Hi, >=20 >=20 >=20 > I see above error when xen tries to boot up. >=20 >=20 >=20 > The grub.conf is: >=20 >=20 >=20 > title Dom0 Xen 3.4.2 XenLinux 2.6 > kernel /boot/xen.gz noreboot loglvl=3Dall > module /boot/vmlinuz.vm root=3Ddev/ram0 ro > module /boot/ramdisk.gz >=20 > Looking through archives I found couple of pointers but no solution. >=20 > The closest I see: >=20 > [1]http://www.mailinglistarchive.com/xen-devel@lists.xensource.com/ms= g56592.html >=20 > by Keir: >=20 >=20 >=20 > " Either this restriction of the domain builder needs > to be lifted (a bit of a pain and not really on anyone's todo list), = ..." >=20 >=20 >=20 > Any solutions/suggestions is appreciated ! >=20 >=20 >=20 > Thanks ! >=20 >=20 >=20 > SV >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > References >=20 > Visible links > 1. http://www.mailinglistarchive.com/xen-devel@lists.xensource.com/m= sg56592.html > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel