Skip to contentSkip to conversation

not enough memory for DOM0 memory reservation

DISCUSSION Fernanda Barbosa Coelho 9 participants 9 messages Jan 18, 2005

lore
Share & tools
lore
#0 lore raw

Hi,
I have xen-2.0.1 in a PentiumIII with 131079 kb of RAM, I configed my system by following the suggestions. When I boot xen0, the following error msg printed on the screen:

(xen) not enough memory for DOM0 memory reservation

My grub configuration look like this:

title Xen 2.0.1 / XenLinux 2.6.9

      kernel /boot/xen.gz dom0_mem=131072 console=vga
      module /boot/vmlinuz-2.6.9-xen0 root=/dev/hda3 ro console=tty0

Any help would be appreciated.
Thanks

Fernanda

Signature · 9 lines
Esta mensagem foi verificada pelo sistema de antivírus e
acredita-se estar livre de perigo.



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
#1 lore raw
Quoted 5 lines · Fernanda Barbosa Coelho

Hi,
I have xen-2.0.1 in a PentiumIII with 131079 kb of RAM, I configed my system by following the suggestions.
When I boot xen0, the following error msg printed on the screen:

Quoted 7 lines

(xen) not enough memory for DOM0 memory reservation

My grub configuration look like this:

title Xen 2.0.1 / XenLinux 2.6.9

       kernel /boot/xen.gz dom0_mem=131072 console=vga
       module /boot/vmlinuz-2.6.9-xen0 root=/dev/hda3 ro console=tty0

Xen is probably going to need some memory for itself. Try decreasing the value for dom0_mem=. That should work.

Niraj

Signature · 7 lines
http://www.cs.cmu.edu/~ntolia


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
#2 lore raw
In reply to Fernanda Barbosa Coelho

Olá!

Quoted 4 lines · Fernanda Barbosa Coelho

Hi,
I have xen-2.0.1 in a PentiumIII with 131079 kb of RAM, I configed my system by following the suggestions. When I boot xen0, the following error msg printed on the screen:

Quoted 8 lines

(xen) not enough memory for DOM0 memory reservation

My grub configuration look like this:

title Xen 2.0.1 / XenLinux 2.6.9

      kernel /boot/xen.gz dom0_mem=131072 console=vga
      module /boot/vmlinuz-2.6.9-xen0 root=/dev/hda3 ro console=tty0

Xen itself uses some (32MB?) memory. So you'll need to specify dom0_mem=80000 or so ;)

Regards,
Nuno Silva

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

#3 lore raw
In reply to Fernanda Barbosa Coelho
Quoted 5 lines

Hi,
I have xen-2.0.1 in a PentiumIII with 131079 kb of RAM, I configed my system by following the suggestions.
When I boot xen0, the following error msg printed on the screen:

Quoted 8 lines

(xen) not enough memory for DOM0 memory reservation

My grub configuration look like this:

title Xen 2.0.1 / XenLinux 2.6.9

       kernel /boot/xen.gz dom0_mem=131072 console=vga
       module /boot/vmlinuz-2.6.9-xen0 root=/dev/hda3 ro console=tty0

You'll need to reduce dom0_mem=131072 or better, buy some memory for your machine...

Ian

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

#4 lore raw
In reply to Fernanda Barbosa Coelho
Quoted 5 lines · Fernanda Barbosa Coelho

Hi,
I have xen-2.0.1 in a PentiumIII with 131079 kb of RAM, I configed my system by following the suggestions.
When I boot xen0, the following error msg printed on the screen:

Quoted 7 lines

(xen) not enough memory for DOM0 memory reservation

My grub configuration look like this:

title Xen 2.0.1 / XenLinux 2.6.9

       kernel /boot/xen.gz dom0_mem=131072 console=vga
                                      ^^^^^^

Reduce this.

Xen has some internal bookkeeping memory, so you can't allocate the entire memory to dom0.

In fact, this is rather strange thing to do, as then no memory would be left to allocate to virtual instances.

Quoted 1 line

module /boot/vmlinuz-2.6.9-xen0 root=/dev/hda3 ro console=tty0 Any

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

#6 lore raw
In reply to Fernanda Barbosa Coelho

You must allocate less memory for domain 0. Xen itself reserves a fixed portion of memory (can't remember off head), then you have so much left for domains.

Also a machine with only 128MB ram is not enough to do anything with, you need room for other Xen domains. Try setting dom0_mem=65536. Then you will have more than enough room to boot and create a domain > 0 that is will not have much memory , but it'll work.

Also for others reading. A xen-users mailing list would be nice so these questions can be put in an appropriate place.

Quoted 19 lines · Fernanda Barbosa Coelho

Hi,
I have xen-2.0.1 in a PentiumIII with 131079 kb of RAM, I configed my system by following the suggestions.
When I boot xen0, the following error msg printed on the screen:

(xen) not enough memory for DOM0 memory reservation

My grub configuration look like this:

title Xen 2.0.1 / XenLinux 2.6.9

       kernel /boot/xen.gz dom0_mem=131072 console=vga
       module /boot/vmlinuz-2.6.9-xen0 root=/dev/hda3 ro console=tty0

Any help would be appreciated.
Thanks

Fernanda

Signature · 12 lines
Jerone Young
Open Virtualization
IBM Linux Technology Center
[email protected]
512-838-1157 (T/L: 678-1157)



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
#7 lore raw
In reply to Fernanda Barbosa Coelho
Quoted 10 lines · Fernanda Barbosa Coelho

I have xen-2.0.1 in a PentiumIII with 131079 kb of RAM, I configed my system by following the suggestions. When I boot xen0, the following error msg printed on the screen:

(xen) not enough memory for DOM0 memory reservation

My grub configuration look like this:

title Xen 2.0.1 / XenLinux 2.6.9

     kernel /boot/xen.gz dom0_mem=131072 console=vga

It seems like you're trying to use the entire physical memory for domain0. But the hypervisor needs some memory of it's own (32MB, IIRC). Try reducing dom0_mem to (phys_mem-32MB) or so?

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

#8 lore raw
In reply to Fernanda Barbosa Coelho
Quoted 11 lines · Fernanda Barbosa Coelho

I have xen-2.0.1 in a PentiumIII with 131079 kb of RAM, I configed my system by following the suggestions. When I boot xen0, the following error msg printed on the screen:

(xen) not enough memory for DOM0 memory reservation

My grub configuration look like this:

title Xen 2.0.1 / XenLinux 2.6.9

      kernel /boot/xen.gz dom0_mem=131072 console=vga
      module /boot/vmlinuz-2.6.9-xen0 root=/dev/hda3 ro console=tty0

You're telling Xen to reserve nearly as much memory as the entire system has; you have to give it a slice of system memory significantly smaller than that. Keep in mind that Xen has to reserve ~32 MB for itself, and you still need to have memory available to assign to other domains. You'll probably have a hard time making use of Xen with only 128 MB of memory in your system. Might be time for an upgrade.

Signature · 8 lines
Derrik Pates
[email protected]


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
#5 lore raw
In reply to Adam Heath
Quoted 2 lines · Adam Heath

In fact, this is rather strange thing to do, as then no memory would be left to allocate to virtual instances.

You can always decrease domain's alocation by baloon driver on the fly, but of course you have to leave some memory for Xen's internal use.

-jkt

Signature · 8 lines
cd /local/pub && more beer > /dev/mouth



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt