Skip to contentSkip to conversation

Not enough RAM for domain 0 allocation

DISCUSSION ccmail111 3 participants 6 messages Mar 19, 2010 – Mar 20, 2010

lore
Share & tools
lore

ccmail111

author
#0 lore raw

--- On Fri, 3/19/10, ccmail111 <[email protected]> wrote:

From: ccmail111 <[email protected]>
Subject: Not enough RAM for domain 0 allocation
To: "Fajar A. Nugraha" <[email protected]>
Cc: [email protected]
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=all
       module /boot/vmlinuz.vm  root=dev/ram0 ro
       module /boot/ramdisk.gz

Looking through archives I found couple of pointers but no solution. The closest I see:
http://www.mailinglistarchive.com/[email protected]/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 list), ..."
Any solutions/suggestions is appreciated !

Thanks !

SV

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

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

kernel /boot/xen.gz noreboot loglvl=all dom0_mem=256M

From: ccmail111 [mailto:[email protected]]
Sent: Friday, March 19, 2010 3:43 PM
To: [email protected]
Subject: [Xen-devel] Fw: Not enough RAM for domain 0 allocation

--- On Fri, 3/19/10, ccmail111 <[email protected]> wrote:

From: ccmail111 <[email protected]>
Subject: Not enough RAM for domain 0 allocation
To: "Fajar A. Nugraha" <[email protected]>
Cc: [email protected]
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=all
module /boot/vmlinuz.vm root=dev/ram0 ro
module /boot/ramdisk.gz

Looking through archives I found couple of pointers but no solution.

The closest I see:

http://www.mailinglistarchive.com/[email protected]/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 list), ..."

Any solutions/suggestions is appreciated !

Thanks !

SV

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw

Hi Dan,

Thanks for response.

I just tried (with dom0_mem=512M) 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 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 <[email protected]> wrote:

From: Dan Magenheimer <[email protected]>
Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation
To: "ccmail111" <[email protected]>, [email protected]
Date: Friday, March 19, 2010, 6:10 PM

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

kernel /boot/xen.gz noreboot loglvl=all dom0_mem=256M

From: ccmail111 [mailto:[email protected]]
Sent: Friday, March 19, 2010 3:43 PM
To: [email protected]
Subject: [Xen-devel] Fw: Not enough RAM for domain 0 allocation

--- On Fri, 3/19/10, ccmail111 <[email protected]> wrote:

From: ccmail111 <[email protected]>
Subject: Not enough RAM for domain 0 allocation
To: "Fajar A. Nugraha" <[email protected]>
Cc: [email protected]
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=all
       module /boot/vmlinuz.vm  root=dev/ram0 ro
       module /boot/ramdisk.gz

Looking through archives I found couple of pointers but no solution.

The closest I see:

http://www.mailinglistarchive.com/[email protected]/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 list), ..."

Any solutions/suggestions is appreciated !

Thanks !

SV


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

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's not a good idea and is likely contributing to your problem.

You didn't say how much memory is in your machine. If you have enough, you can try dom0_mem=768M or dom0_mem=1GB and so on.

If those suggestions don'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:[email protected]]
Sent: Friday, March 19, 2010 5:47 PM
To: [email protected]; Dan Magenheimer
Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation

Hi Dan,

Thanks for response.

I just tried (with dom0_mem=512M) 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 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 <[email protected]> wrote:

From: Dan Magenheimer <[email protected]>
Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation
To: "ccmail111" <[email protected]>, [email protected]
Date: Friday, March 19, 2010, 6:10 PM

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

kernel /boot/xen.gz noreboot loglvl=all dom0_mem=256M

From: ccmail111 [mailto:[email protected]]
Sent: Friday, March 19, 2010 3:43 PM
To: [email protected]
Subject: [Xen-devel] Fw: Not enough RAM for domain 0 allocation

--- On Fri, 3/19/10, ccmail111 <[email protected]> wrote:

From: ccmail111 <[email protected]>
Subject: Not enough RAM for domain 0 allocation
To: "Fajar A. Nugraha" <[email protected]>
Cc: [email protected]
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=all
module /boot/vmlinuz.vm root=dev/ram0 ro
module /boot/ramdisk.gz

Looking through archives I found couple of pointers but no solution.

The closest I see:

http://www.mailinglistarchive.com/[email protected]/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 list), ..."

Any solutions/suggestions is appreciated !

Thanks !

SV

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#4 lore raw

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 <[email protected]> wrote:

From: Dan Magenheimer <[email protected]>
Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation
To: "ccmail111" <[email protected]>, [email protected]
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’s not a good idea and is likely contributing to your problem.
You didn’t say how much memory is in your machine.  If you have enough, you can try dom0_mem=768M or dom0_mem=1GB and so on.

If those suggestions don’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:[email protected]]
Sent: Friday, March 19, 2010 5:47 PM
To: [email protected]; Dan Magenheimer
Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation

Hi Dan,

Thanks for response.

I just tried (with dom0_mem=512M) 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 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 <[email protected]> wrote:

From: Dan Magenheimer <[email protected]>
Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation
To: "ccmail111" <[email protected]>, [email protected]
Date: Friday, March 19, 2010, 6:10 PM

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

kernel /boot/xen.gz noreboot loglvl=all dom0_mem=256M

From: ccmail111 [mailto:[email protected]]
Sent: Friday, March 19, 2010 3:43 PM
To: [email protected]
Subject: [Xen-devel] Fw: Not enough RAM for domain 0 allocation

--- On Fri, 3/19/10, ccmail111 <[email protected]> wrote:

From: ccmail111 <[email protected]>
Subject: Not enough RAM for domain 0 allocation
To: "Fajar A. Nugraha" <[email protected]>
Cc: [email protected]
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=all
       module /boot/vmlinuz.vm  root=dev/ram0 ro
       module /boot/ramdisk.gz

Looking through archives I found couple of pointers but no solution.

The closest I see:

http://www.mailinglistarchive.com/[email protected]/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 list), ..."

Any solutions/suggestions is appreciated !

Thanks !

SV



_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
Quoted 8 lines · On Fri, Mar 19, 2010 at 11:37:34PM -0700, ccmail111 wrote:

Thanks Dan.
I am past that and see different error now:

"Xen: Scrubbing Free RAM ............"
Then the xterm(screen) goes blank..

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

Quoted 158 lines

SV
--- On Fri, 3/19/10, Dan Magenheimer <[email protected]> wrote:

From: Dan Magenheimer <[email protected]>
Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation
To: "ccmail111" <[email protected]>, [email protected]
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â**s not a good idea and is likely contributing to your problem.

You didnâ**t say how much memory is in your machine. If you have enough, you can try dom0_mem=768M or dom0_mem=1GB and so on.

If those suggestions donâ**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:[email protected]]
Sent: Friday, March 19, 2010 5:47 PM
To: [email protected]; Dan Magenheimer
Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation

Hi Dan,

Thanks for response.

I just tried (with dom0_mem=512M) 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 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 <[email protected]> wrote:

From: Dan Magenheimer <[email protected]>
Subject: RE: [Xen-devel] Fw: Not enough RAM for domain 0 allocation
To: "ccmail111" <[email protected]>, [email protected]
Date: Friday, March 19, 2010, 6:10 PM

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

kernel /boot/xen.gz noreboot loglvl=all dom0_mem=256M

From: ccmail111 [mailto:[email protected]]
Sent: Friday, March 19, 2010 3:43 PM
To: [email protected]
Subject: [Xen-devel] Fw: Not enough RAM for domain 0 allocation

--- On Fri, 3/19/10, ccmail111 <[email protected]> wrote:

From: ccmail111 <[email protected]>
Subject: Not enough RAM for domain 0 allocation
To: "Fajar A. Nugraha" <[email protected]>
Cc: [email protected]
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=all module /boot/vmlinuz.vm root=dev/ram0 ro module /boot/ramdisk.gz

Looking through archives I found couple of pointers but no solution.

The closest I see:

[1]http://www.mailinglistarchive.com/[email protected]/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 list), ..."

Any solutions/suggestions is appreciated !

Thanks !

SV

References

Visible links
1. http://www.mailinglistarchive.com/[email protected]/msg56592.html

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel