From mboxrd@z Thu Jan 1 00:00:00 1970 From: ccmail111 Subject: Re: Fw: not syncing Date: Sat, 20 Mar 2010 00:44:25 -0700 (PDT) Message-ID: <587324.88594.qm@web34201.mail.mud.yahoo.com> References: <20100320071404.GQ1878@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1033227859==" Return-path: In-Reply-To: <20100320071404.GQ1878@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?iso-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: Dan Magenheimer , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1033227859== Content-Type: multipart/alternative; boundary="0-474122693-1269071065=:88594" --0-474122693-1269071065=:88594 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Pasi/Dan, =A0 1) The error below is: =A0 > Kernel panic - not syncing: Out of memory =A0 2) The printk options below seem to be ok.=20 But if that not recommended,=A0for Xen 3.4.2/linux-2.6.18-xen=A0 how to ena= ble serial then ? =A0 Any thoughts ? --- On Sat, 3/20/10, Pasi K=E4rkk=E4inen wrote: 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 On Sat, Mar 20, 2010 at 12:00:40AM -0700, ccmail111 wrote: >=20 > Attaching error I see on serial: >=20 >=20 > (XEN) Dom0 has maximum 1 VCPUs >=20 > (XEN) Scrubbing Free RAM: > ....................................................................done. >=20 > (XEN) Xen trace buffers: disabled >=20 > (XEN) Std. Loglevel: All >=20 > (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) >=20 > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input= to Xen) >=20 > (XEN) Freed 128kB init memory. >=20 > Bootdata ok (command line is root=3Ddev/ram0 ro console=3Dhvc0 earlyprint= k=3Dxen > nomodeset) >=20 "console=3Dhvc0 earlyprintk=3Dxen" are options for a pvops dom0 kernel, I don't think linux-2.6.18-xen can use them. -- Pasi > Linux version 2.6.18.8-xen (stevyang@wilma) (gcc version 4.1.2 20080704 (= Red Hat > 4.1.2-44)) #1 SMP Mon Mar 15 23:23:21 PDT 2010 >=20 > BIOS-provided physical RAM map: >=20 >=A0 Xen: 0000000000000000 - 0000000040800000 (usable) >=20 > kernel direct mapping tables up to 40800000 @ 3f736000-3f93d000 >=20 > DMI 2.4 present. >=20 > bootmem alloc of 14794752 bytes failed! >=20 > Kernel panic - not syncing: Out of memory >=20 >=A0 (XEN) Domain 0 crashed: 'noreboot' set - not rebooting. >=20 > Any thoughts/suggestions, appreciated ! >=20 > Thanks, > SV >=20 > --- On Sat, 3/20/10, ccmail111 wrote: >=20 >=A0=A0=A0From: ccmail111 >=A0=A0=A0Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocati= on >=A0=A0=A0To: xen-devel@lists.xensource.com, "Dan Magenheimer" >=A0=A0=A0Date: Saturday, March 20, 2010, 2:37 AM >=20 >=A0=A0=A0Thanks Dan. >=A0=A0=A0I am past that and see different error now: >=20 >=A0=A0=A0"Xen: Scrubbing Free RAM ............" >=A0=A0=A0Then the xterm(screen) goes blank.. >=20 >=A0=A0=A0Any thoughts ? >=20 >=A0=A0=A0SV >=A0=A0=A0--- On Fri, 3/19/10, Dan Magenheimer = wrote: >=20 >=A0 =A0=A0=A0From: Dan Magenheimer >=A0 =A0=A0=A0Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allo= cation >=A0 =A0=A0=A0To: "ccmail111" , xen-devel@lists.xensou= rce.com >=A0 =A0=A0=A0Date: Friday, March 19, 2010, 9:16 PM >=20 >=A0 =A0=A0=A0Your kernel and initrd are compressed and still exceed 512MB?= =A0 That is very >=A0 =A0=A0=A0unusual.=A0 Are you building everything in your dom0 kernel? = (e.g. answering yes >=A0 =A0=A0=A0to all drivers, and everything when configuring your kernel?)= =A0 If so, that=E2**s >=A0 =A0=A0=A0not a good idea and is likely contributing to your problem. >=20 >=20 >=20 >=A0 =A0=A0=A0You didn=E2**t say how much memory is in your machine.=A0 If = you have enough, you >=A0 =A0=A0=A0can try dom0_mem=3D768M or dom0_mem=3D1GB and so on. >=20 >=20 >=20 >=A0 =A0=A0=A0If those suggestions don=E2**t work, sorry, maybe someone els= e can answer but this >=A0 =A0=A0=A0is probably a xen-users list question than a xen-devel questi= on. >=20 >=20 >=20 >=A0 =A0=A0=A0From: ccmail111 [mailto:ccmail111@yahoo.com] >=A0 =A0=A0=A0Sent: Friday, March 19, 2010 5:47 PM >=A0 =A0=A0=A0To: xen-devel@lists.xensource.com; Dan Magenheimer >=A0 =A0=A0=A0Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allo= cation >=20 >=20 >=20 >=A0 =A0=A0=A0Hi Dan, >=20 >=A0 =A0=A0=A0Thanks for response. >=20 >=20 >=20 >=A0 =A0=A0=A0I just tried (with dom0_mem=3D512M) and see error: >=20 >=A0 =A0=A0=A0"Domain 0 allocation is too small for kernel image" >=20 >=20 >=20 >=A0 =A0=A0=A0But if I dont use the parameter I see error as in subject lin= e which is >=A0 =A0=A0=A0different. >=20 >=A0 =A0=A0=A0Question is: does subject line error printed by kernel ? Any = kernel parameter >=A0 =A0=A0=A0that I need to change during build ? >=20 >=20 >=20 >=A0 =A0=A0=A0Any suggestions ? >=20 >=A0 =A0=A0=A0Is there anyway I can specifiy the max for kernel and xen ? >=20 >=20 >=20 >=A0 =A0=A0=A0Thanks, >=20 >=20 >=20 >=A0 =A0=A0=A0SV >=20 >=20 >=20 >=A0 =A0=A0=A0--- On Fri, 3/19/10, Dan Magenheimer wrote: >=20 >=A0 =A0 =A0=A0=A0From: Dan Magenheimer >=A0 =A0 =A0=A0=A0Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 = allocation >=A0 =A0 =A0=A0=A0To: "ccmail111" , xen-devel@lists.xe= nsource.com >=A0 =A0 =A0=A0=A0Date: Friday, March 19, 2010, 6:10 PM >=20 >=A0 =A0 =A0=A0=A0You should be able to get around this problem by specifyi= ng dom0_mem=3D on the >=A0 =A0 =A0=A0=A0Xen boot line, e.g.: >=20 >=20 >=20 >=A0 =A0 =A0=A0=A0kernel /boot/xen.gz noreboot loglvl=3Dall dom0_mem=3D256M >=20 >=20 >=20 >=A0 =A0=A0=A0From: ccmail111 [mailto:ccmail111@yahoo.com] >=A0 =A0=A0=A0Sent: Friday, March 19, 2010 3:43 PM >=A0 =A0=A0=A0To: xen-devel@lists.xensource.com >=A0 =A0=A0=A0Subject: [Xen-devel] Fw: Not enough RAM for domain 0 allocati= on >=20 >=20 >=20 >=A0 =A0=A0=A0--- On Fri, 3/19/10, ccmail111 wrote: >=20 >=A0 =A0=A0=A0From: ccmail111 >=A0 =A0=A0=A0Subject: Not enough RAM for domain 0 allocation >=A0 =A0=A0=A0To: "Fajar A. Nugraha" >=A0 =A0=A0=A0Cc: xen-users@lists.xensource.com >=A0 =A0=A0=A0Date: Friday, March 19, 2010, 5:38 PM >=20 >=20 >=20 >=A0 =A0=A0=A0Hi, >=20 >=20 >=20 >=A0 =A0=A0=A0I see above error when xen tries to boot up. >=20 >=20 >=20 >=A0 =A0=A0=A0The grub.conf is: >=20 >=20 >=20 >=A0 =A0=A0=A0title Dom0 Xen 3.4.2=A0 XenLinux 2.6 >=A0 =A0 =A0 =A0 =A0 =A0 kernel /boot/xen.gz noreboot loglvl=3Dall >=A0 =A0 =A0 =A0 =A0 =A0 module /boot/vmlinuz.vm=A0 root=3Ddev/ram0 ro >=A0 =A0 =A0 =A0 =A0 =A0 module /boot/ramdisk.gz >=20 >=A0 =A0=A0=A0Looking through archives I found couple of pointers but no so= lution. >=20 >=A0 =A0=A0=A0The closest I see: >=20 >=A0 =A0=A0=A0[1]http://www.mailinglistarchive.com/xen-devel@lists.xensourc= e.com/msg56592.html >=20 >=A0 =A0=A0=A0by Keir: >=20 >=20 >=20 >=A0 =A0=A0=A0" Either this restriction of the domain builder needs >=A0 =A0=A0=A0to be lifted (a bit of a pain and not really on anyone's todo= list), ..." >=20 >=20 >=20 >=A0 =A0=A0=A0Any solutions/suggestions is appreciated ! >=20 >=20 >=20 >=A0 =A0=A0=A0Thanks ! >=20 >=20 >=20 >=A0 =A0=A0=A0SV >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > References >=20 >=A0 =A0 Visible links >=A0 =A0 1. http://www.mailinglistarchive.com/xen-devel@lists.xensource.com= /msg56592.html > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel =0A=0A=0A --0-474122693-1269071065=:88594 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Pasi/Dan,
 
1) The error below is:
 
> Kernel panic - not syncing: Out of memory
 = ;
2) The print= k options below seem to be ok.
But if that = not recommended, for Xen 3.4.2/linux-2.6.18-xen  how to enable serial then = ?
 = ;
Any thoughts= ?


--- On Sat, 3/20/10, Pasi K=E4rkk=E4inen <pasik@iki.f= i> wrote:

From: Pasi K=E4rkk=E4inen <pasik@iki.fi>Subject: Re: [Xen-devel] Fw: not syncing
To: "ccmail111" <ccmail111@= yahoo.com>
Cc: xen-devel@lists.xensource.com, "Dan Magenheimer" <d= an.magenheimer@oracle.com>
Date: Saturday, March 20, 2010, 3:14 AM
On Sat, Mar 20, 2010 at 12:00:40AM -0700, ccmail111 = wrote:
>
> Attaching error I see on serial:
>
> <= BR>> (XEN) Dom0 has maximum 1 VCPUs
>
> (XEN) Scrubbing Fre= e RAM:
> ............................................................= ........done.
>
> (XEN) Xen trace buffers: disabled
> > (XEN) Std. Loglevel: All
>
> (XEN) Guest Loglevel: Noth= ing (Rate-limited: Errors and warnings)
>
> (XEN) *** Serial i= nput -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
> =
> (XEN) Freed 128kB init memory.
>
> Bootdata ok (comma= nd line is root=3Ddev/ram0 ro console=3Dhvc0 earlyprintk=3Dxen
> nomo= deset)
>

"console=3Dhvc0 earlyprintk=3Dxen" are options for a= pvops dom0 kernel,
I don't think linux-2.6.18-xen can use them.

= -- Pasi


> Linux version 2.6.18.8-xen (stevyang@wilma) (gcc ve= rsion 4.1.2 20080704 (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
>
>&= nbsp; (XEN) Domain 0 crashed: 'noreboot' set - not rebooting.
>
&= gt; Any thoughts/suggestions, appreciated !
>
> Thanks,
>= ; SV
>
> --- On Sat, 3/20/10, ccmail111 <ccmail111@yahoo.com> wrote:
>
>= ;   From: ccmail111 <ccmail111@yahoo.com>
>=    Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 = allocation
>   To: xen-devel@lists.xensource.com, "Dan Magenhe= imer" <dan.mage= nheimer@oracle.com>
>   Date: Saturday, March 2= 0, 2010, 2:37 AM
>
>   Thanks Dan.
> = ;  I am past that and see different error now:
>
>&n= bsp;  "Xen: Scrubbing Free RAM ............"
>  &= nbsp;Then the xterm(screen) goes blank..
>
>   = Any thoughts ?
>
>   SV
>  &nbs= p;--- On Fri, 3/19/10, Dan Magenheimer <dan.magenheimer@oracle.com> wrote:
>
&= gt;     From: Dan Magenheimer <dan.magenheimer@oracle.com>
&= gt;     Subject: RE: [Xen-devel] Fw: Not enough RAM for= domain 0 allocation
>     To: "ccmail111" <ccmail111@yahoo.com>, xen-devel@lists.x= ensource.com
>     Date: Friday, March 19, 20= 10, 9:16 PM
>
>     Your kernel and initrd are com= pressed and still exceed 512MB?  That is very
>   &nbs= p; unusual.  Are you building everything in your dom0 kernel? (e.= g. answering yes
>     to all drivers, and everyt= hing when configuring your kernel?)  If so, that=E2**s
>  &= nbsp;  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
&= gt;     can try dom0_mem=3D768M or dom0_mem=3D1GB and s= o on.
>
>
>
>     If those s= uggestions 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:ccmail111@yahoo.com]
>     Sent: F= riday, March 19, 2010 5:47 PM
>     To: xen-devel@lists.xen= source.com; Dan Magenheimer
>     Subject: RE= : [Xen-devel] Fw: Not enough RAM for domain 0 allocation
>
> <= BR>>
>     Hi Dan,
>
>  &nb= sp;  Thanks for response.
>
>
>
> = ;    I just tried (with dom0_mem=3D512M) and see error:
&= gt;
>     "Domain 0 allocation is too small for = kernel image"
>
>
>
>     Bu= t if I dont use the parameter I see error as in subject line which is
>&nbs= p;    different.
>
>     Qu= estion is: does subject line error printed by kernel ? Any kernel parameter=
>     that I need to change during build ?
&g= t;
>
>
>     Any suggestions ?
= >
>     Is there anyway I can specifiy the ma= x for kernel and xen ?
>
>
>
>    = ; Thanks,
>
>
>
>     S= V
>
>
>
>     --- On Fri, 3/= 19/10, Dan Magenheimer <dan.magenheimer@oracle.com> wrote:
>
>  &= nbsp;    From: Dan Magenheimer <dan.magenheimer@orac= le.com>
>       Subject: RE: [Xen-dev= el] Fw: Not enough RAM for domain 0 allocation
>     &= nbsp; To: "ccmail111" <c= cmail111@yahoo.com>, xen-devel@lists.xensource.com
>    &nbs= p;  Date: Friday, March 19, 2010, 6:10 PM
>
>  =      You should be able to get around this problem by s= pecifying dom0_mem=3D on the
>       Xen boo= t line, e.g.:
>
>
>
>      &= nbsp;kernel /boot/xen.gz noreboot loglvl=3Dall dom0_mem=3D256M
>
>
&g= t;
>     From: ccmail111 [mailto:ccmail111@yahoo.com]
>   &n= bsp; Sent: Friday, March 19, 2010 3:43 PM
>    &n= bsp;To: xen-= devel@lists.xensource.com
>     Subject: [Xen= -devel] Fw: Not enough RAM for domain 0 allocation
>
>
>= ;
>     --- On Fri, 3/19/10, ccmail111 <ccmail111@yahoo.com> wrote:>
>     From: ccmail111 <ccmail111@yahoo.com>
>= ;     Subject: Not enough RAM for domain 0 allocation>     To: "Fajar A. Nugraha" <fajar@fajar.net>
>     C= c: xen-users= @lists.xensource.com
>     Date: Friday, Marc= h 19, 2010, 5:38 PM
>
>
>
>    &n= bsp;Hi,
>
>
>
>     I see ab= ove error when xen tries to boot up.
>
>
>
>&nbs= p;    The grub.conf is:
>
>
>
>&n= bsp;    title Dom0 Xen 3.4.2  XenLinux 2.6
>  &n= bsp;         kernel /boot/xen.gz noreboot loglvl=3Dall<= BR>>            module /boot/vmlinuz.vm&nb= sp; root=3Ddev/ram0 ro
>            mod= ule /boot/ramdisk.gz
>
>     Looking throu= gh archives I found couple of pointers but no solution.
>
>&nb= sp;    The closest I see:
>
>    = ; [1]http://www.mailinglistarchive.com/= xen-devel@lists.xensource.com/msg56592.html
>
>  &nbs= p;  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 list), ..."
>
>
>
>    &nbs= p;Any solutions/suggestions is appreciated !
>
>
>
= >     Thanks !
>
>
>
>&nb= sp;    SV
>
>
>
>
>
&g= t;
>
>
>
> References
>
>  &n= bsp; Visible links
>    1. h= ttp://www.mailinglistarchive.com/xen-devel@lists.xensource.com/msg56592.htm= l

> _______________________________________________
> X= en-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel


=0A=0A=0A=0A --0-474122693-1269071065=:88594-- --===============1033227859== 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 --===============1033227859==--