From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Fw: not syncing Date: Sat, 20 Mar 2010 10:30:40 +0200 Message-ID: <20100320083040.GR1878@reaktio.net> References: <20100320071404.GQ1878@reaktio.net> <587324.88594.qm@web34201.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: <587324.88594.qm@web34201.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 Sat, Mar 20, 2010 at 12:44:25AM -0700, ccmail111 wrote: > Hi Pasi/Dan, >=20 > 1) The error below is: >=20 > > Kernel panic - not syncing: Out of memory >=20 Please paste your grub.conf and the full boot log of the hypervisor. -- Pasi > 2) The printk options below seem to be ok. > But if that not recommended, for Xen 3.4.2/linux-2.6.18-xen how to ena= ble serial then ? >=20 > Any thoughts ? >=20 > --- On Sat, 3/20/10, Pasi K=E4rkk=E4inen wrote: >=20 > From: Pasi K=E4rkk=E4inen > Subject: Re: [Xen-devel] Fw: not syncing > To: "ccmail111" > Cc: xen-devel@lists.xensource.com, "Dan Magenheimer" > Date: Saturday, March 20, 2010, 3:14 AM >=20 > On Sat, Mar 20, 2010 at 12:00:40AM -0700, ccmail111 wrote: > > > > Attaching error I see on serial: > > > > > > (XEN) Dom0 has maximum 1 VCPUs > > > > (XEN) Scrubbing Free RAM: > > ...................................................................= .done. > > > > (XEN) Xen trace buffers: disabled > > > > (XEN) Std. Loglevel: All > > > > (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) > > > > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch= input to Xen) > > > > (XEN) Freed 128kB init memory. > > > > Bootdata ok (command line is root=3Ddev/ram0 ro console=3Dhvc0 earl= yprintk=3Dxen > > nomodeset) > > >=20 > "console=3Dhvc0 earlyprintk=3Dxen" are options for a pvops dom0 kerne= l, > I don't think linux-2.6.18-xen can use them. >=20 > -- Pasi >=20 > > Linux version 2.6.18.8-xen (stevyang@wilma) (gcc version 4.1.2 2008= 0704 (Red Hat > > 4.1.2-44)) #1 SMP Mon Mar 15 23:23:21 PDT 2010 > > > > BIOS-provided physical RAM map: > > > > Xen: 0000000000000000 - 0000000040800000 (usable) > > > > kernel direct mapping tables up to 40800000 @ 3f736000-3f93d000 > > > > DMI 2.4 present. > > > > bootmem alloc of 14794752 bytes failed! > > > > Kernel panic - not syncing: Out of memory > > > > (XEN) Domain 0 crashed: 'noreboot' set - not rebooting. > > > > Any thoughts/suggestions, appreciated ! > > > > Thanks, > > SV > > > > --- On Sat, 3/20/10, ccmail111 <[1]ccmail111@yahoo.com> wrote: > > > > From: ccmail111 <[2]ccmail111@yahoo.com> > > Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocati= on > > To: [3]xen-devel@lists.xensource.com, "Dan Magenheimer" > <[4]dan.magenheimer@oracle.com> > > Date: Saturday, March 20, 2010, 2:37 AM > > > > 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 <[5]dan.magenheimer@oracle.c= om> wrote: > > > > From: Dan Magenheimer <[6]dan.magenheimer@oracle.com> > > Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 alloca= tion > > To: "ccmail111" <[7]ccmail111@yahoo.com>, [8]xen-devel@lists.xe= nsource.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 your dom0 kernel? (e.g= . answering 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. > > > > > > > > You didn=E2**t say how much memory is in your machine. If you = have enough, you > > can try dom0_mem=3D768M or dom0_mem=3D1GB and so on. > > > > > > > > If those suggestions don=E2**t work, sorry, maybe someone else = can answer but this > > is probably a xen-users list question than a xen-devel question= . > > > > > > > > From: ccmail111 [mailto:[9]ccmail111@yahoo.com] > > Sent: Friday, March 19, 2010 5:47 PM > > To: [10]xen-devel@lists.xensource.com; Dan Magenheimer > > Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 alloca= tion > > > > > > > > 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 subject line = which is > > different. > > > > Question is: does subject line error printed by kernel ? Any ke= rnel 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 <[11]dan.magenheimer@oracl= e.com> wrote: > > > > From: Dan Magenheimer <[12]dan.magenheimer@oracle.com> > > Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allo= cation > > To: "ccmail111" <[13]ccmail111@yahoo.com>, [14]xen-devel@list= s.xensource.com > > Date: Friday, March 19, 2010, 6:10 PM > > > > You should be able to get around this problem by specifying d= om0_mem=3D on the > > Xen boot line, e.g.: > > > > > > > > kernel /boot/xen.gz noreboot loglvl=3Dall dom0_mem=3D256M > > > > > > > > From: ccmail111 [mailto:[15]ccmail111@yahoo.com] > > Sent: Friday, March 19, 2010 3:43 PM > > To: [16]xen-devel@lists.xensource.com > > Subject: [Xen-devel] Fw: Not enough RAM for domain 0 allocation > > > > > > > > --- On Fri, 3/19/10, ccmail111 <[17]ccmail111@yahoo.com> wrote: > > > > From: ccmail111 <[18]ccmail111@yahoo.com> > > Subject: Not enough RAM for domain 0 allocation > > To: "Fajar A. Nugraha" <[19]fajar@fajar.net> > > Cc: [20]xen-users@lists.xensource.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 > > module /boot/vmlinuz.vm root=3Ddev/ram0 ro > > module /boot/ramdisk.gz > > > > Looking through archives I found couple of pointers but no solu= tion. > > > > The closest I see: > > > > > [1][21]http://www.mailinglistarchive.com/xen-devel@lists.xensource= .com/msg56592.html > > > > by Keir: > > > > > > > > " Either this restriction of the domain builder needs > > to be lifted (a bit of a pain and not really on anyone's todo l= ist), ..." > > > > > > > > Any solutions/suggestions is appreciated ! > > > > > > > > Thanks ! > > > > > > > > SV > > > > > > > > > > > > > > > > > > > > References > > > > Visible links > > 1. > [22]http://www.mailinglistarchive.com/xen-devel@lists.xensource.com/m= sg56592.html >=20 > > _______________________________________________ > > Xen-devel mailing list > > [23]Xen-devel@lists.xensource.com > > [24]http://lists.xensource.com/xen-devel >=20 > References >=20 > Visible links > 1. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dccmail111@yahoo.co= m > 2. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dccmail111@yahoo.co= m > 3. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dxen-devel@lists.xe= nsource.com > 4. http://us.mc342.mail.yahoo.com/mc/compose?to=3Ddan.magenheimer@or= acle.com > 5. http://us.mc342.mail.yahoo.com/mc/compose?to=3Ddan.magenheimer@or= acle.com > 6. http://us.mc342.mail.yahoo.com/mc/compose?to=3Ddan.magenheimer@or= acle.com > 7. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dccmail111@yahoo.co= m > 8. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dxen-devel@lists.xe= nsource.com > 9. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dccmail111@yahoo.co= m > 10. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dxen-devel@lists.xe= nsource.com > 11. http://us.mc342.mail.yahoo.com/mc/compose?to=3Ddan.magenheimer@or= acle.com > 12. http://us.mc342.mail.yahoo.com/mc/compose?to=3Ddan.magenheimer@or= acle.com > 13. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dccmail111@yahoo.co= m > 14. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dxen-devel@lists.xe= nsource.com > 15. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dccmail111@yahoo.co= m > 16. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dxen-devel@lists.xe= nsource.com > 17. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dccmail111@yahoo.co= m > 18. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dccmail111@yahoo.co= m > 19. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dfajar@fajar.net > 20. http://us.mc342.mail.yahoo.com/mc/compose?to=3Dxen-users@lists.xe= nsource.com > 21. http://www.mailinglistarchive.com/xen-devel@lists.xensource.com/m= sg56592.html > 22. http://www.mailinglistarchive.com/xen-devel@lists.xensource.com/m= sg56592.html > 23. http://us.mc342.mail.yahoo.com/mc/compose?to=3DXen-devel@lists.xe= nsource.com > 24. http://lists.xensource.com/xen-devel