From mboxrd@z Thu Jan 1 00:00:00 1970 From: ccmail111 Subject: RE: Fw: not syncing Date: Sat, 20 Mar 2010 00:00:40 -0700 (PDT) Message-ID: <301885.9273.qm@web34208.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1660137972==" 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, Dan Magenheimer List-Id: xen-devel@lists.xenproject.org --===============1660137972== Content-Type: multipart/alternative; boundary="0-1474369951-1269068440=:9273" --0-1474369951-1269068440=:9273 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =C2=A0 Attaching error I see on serial: =C2=A0 (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 t= o Xen) (XEN) Freed 128kB init memory. Bootdata ok (command line is root=3Ddev/ram0 ro console=3Dhvc0 earlyprintk= =3Dxen nomodeset) Linux version 2.6.18.8-xen (stevyang@wilma) (gcc version 4.1.2 20080704 (Re= d Hat 4.1.2-44)) #1 SMP Mon Mar 15 23:23:21 PDT 2010 BIOS-provided physical RAM map: =C2=A0Xen: 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 =C2=A0(XEN) Domain 0 crashed: 'noreboot' set - not rebooting. =C2=A0 Any thoughts/suggestions, appreciated ! =C2=A0 Thanks, SV --- On Sat, 3/20/10, ccmail111 wrote: From: ccmail111 Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation To: xen-devel@lists.xensource.com, "Dan Magenheimer" Date: Saturday, March 20, 2010, 2:37 AM 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.=20 =C2=A0=20 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= .=20 =C2=A0=20 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=20 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=20 You should be able to get around this problem by specifying dom0_mem=3D on = the Xen boot line, e.g.: =C2=A0=20 kernel /boot/xen.gz noreboot loglvl=3Dall dom0_mem=3D256M =C2=A0=20 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=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 =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-1474369951-1269068440=:9273 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
 
Attaching error I see on serial:
 

(XEN) Dom0 has maximum 1 VCPUs

(XEN) Scrubbing Free RAM: ........= ............................................................done.

(XEN) Xen trace buffers: disabled<= o:p>

(XEN) Std. Loglevel: All

(XEN) Guest Loglevel: Nothing (Rat= e-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 earlyprintk=3Dxen nomodeset)

Linux version 2.6.18.8-xen (stevya= ng@wilma) (gcc version 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

=  (XEN) Domain 0 crashed: 'noreboot' set - not rebooting.

 
Any thoughts/suggestions, appreciated !
 
Thanks,
SV

--- On Sat, 3/20/10, ccmail111 <ccmail111@yahoo.com= > wrote:

From: ccmail111 <ccmail111@yahoo.com>
Su= bject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation
To: xe= n-devel@lists.xensource.com, "Dan Magenheimer" <dan.magenheimer@oracle.c= om>
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 <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.=20

 =20

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.=20

 =20

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

 =20

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=20

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

 =20

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

 =20

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

 =20



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


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=20

 

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-1474369951-1269068440=:9273-- --===============1660137972== 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 --===============1660137972==--