WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] error: (XEN) Not enough memory for DOM0 memory reservati

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] error: (XEN) Not enough memory for DOM0 memory reservation.
From: Floris Martens <fmartens+xen@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Dec 2004 20:06:44 +0100 (CET)
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Delivery-date: Tue, 28 Dec 2004 19:08:24 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <E1CjLMA-0001WJ-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <E1CjLMA-0001WJ-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
When booting a native Linux kernel:

Linux version 2.6.5-7.111.19-default (geeko@buildhost) (gcc version 3.3.3
(SuSE Linux)) #1 Fri Dec 10 15:10:58 UTC 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e7000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000040fd800 (usable)
 BIOS-e820: 00000000040fd800 - 00000000040ff800 (ACPI data)
 BIOS-e820: 00000000040ff800 - 00000000040ffc00 (ACPI NVS)
 BIOS-e820: 00000000040ffc00 - 0000000014000000 (usable)
 BIOS-e820: 00000000fffe7000 - 0000000100000000 (reserved)
693MB vmalloc/ioremap area available.
0MB HIGHMEM available.
320MB LOWMEM available.
On node 0 totalpages: 81920
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 77824 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1

When booting Xen (with dom0_mem=8192):
(Manually copy/pasted from an old altos-4 terminal, may contain typos)

(XEN) Initialised 64 MB memory (16637 pages) on a 64MB machine
(XEN) Xen heap size is 10792KB
(XEN) CPU0: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
(XEN) CPU caps: 0383f9ff 00000000 00000000 00000000
(XEN) ACPI: RSDP (v000 PTLTD                                     ) @ 0x00f6ac0
< cut 3 more ACPI lines >
(XEN) Using schedule: Borrow Virtual Time (bvt)
(XEN) Initializing CPU#0
(XEN) Detected 597.418 MHz processor.
(XEN) Local APIC disabled by BIOS -- reenabling.
(XEN) Found and enabled local APIC!
(XEN) CPU0: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
(XEN) CPU caps: 0383f9ff 00000000 00000000 00000000
(XEN) CPU0 booted
(XEN) SMP motherboard not detected.
(XEN) enabled ExtINT on CPU#0
(XEN) ESR value before enabling vector: 00000000
(XEN) ESR value after enabling vector: 00000000
(XEN) Using local APIC timer interrupts.
(XEN) Calibrating APIC timer for CPU0...
(XEN) ..... CPU speed is 597.4081 MHz.
(XEN) ..... Bus speed is 99.5678 MHz.
(XEN) ..... bus_scale = 0x000065F6
(XEN) Time init:
(XEN) .... System Time: 20001221ns
(XEN) .... cpu_freq:    00000000:239BDA70
(XEN) .... scale:       00000001:AC830056
(XEN) .... Wall Clock:  1104266654s 60000us
(XEN) PCI: PCI BIOS revision 2.10 entry at 0xfd983, last bus=1
(XEN) PCI: Using configuration type 1
(XEN) PCI: Probing PCI hardware
(XEN) PCI: Probing PCI hardware (bus 00)
(XEN) PCI: Using IRQ router PIIX/ICH [8086/7110] at 00:07.0
(XEN) Limiting direct PCI transfers.
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen-ELF header found: 
'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=2.0,VIRT_BASE=0xC0000000,LOADER=generic,PT_MODE_WRITABLE'
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Kernel image:  02800000->02bfcf68
(XEN)  Initrd image:  00000000->00000000
(XEN)  Dom0 alloc.:   02c00000->03400000
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c0526640
(XEN)  Init. ramdisk: c0527000->c0527000
(XEN)  Phys-Mach map: c0527000->c0529000
(XEN)  Page tables:   c0529000->c052c000
(XEN)  Start info:    c052c000->c052d000
(XEN)  Boot stack:    c052d000->c052e000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c01000000
(XEN) Scrubbing DOM0 RAM: .done.
(XEN) Scrubbing Free RAM: ..done.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input
to Xen).
Linux version 2.6.9-xen0 (xenod@xxxxxxxxxxxxxxxxxxxxxx (gcc version 3.2.2 20030
222 (Red Hat linux 3.2.2-5) #1 Wed Nov 17 22:25:47 GMT 2004
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 000000000800000 (usable)
8MB LOWMEM available.

<then boots, panicss and reboots within 1 second)

It seems it detects only 64MB RAM, how to fix that? Or is there something
else not as it should be.

Floris Martens

On Tue, 28 Dec 2004, Keir Fraser wrote:

>
> When Xen boots, how much memory does it say it thinks your system has?
> What is the output from booting a native Linux kernel (in particular
> any lines very early that print the 'e820 map')?
>
>  -- Keir
>
> > Dear list,
> >
> > I'm trying to get Xen working on a P3-600E with 320 MB RAM. (256+64)
> >
> > It has suse linux 9.1 installed on it, and I tried to get xen running with
> > both the binary download from the xen pages and the suse xen packages
> > mentioned on this list some days ago.
> >
> > Both 'install packages/kernels' lead to the same error:
> >
> > (XEN) Not enough memory for DOM0 memory reservation
> >
> > Whereafter a poweroff/poweron is the only way ouy. (Machine doesn't have a
> > reset button, keyboard ctrl-alt-del does not respond)
> >
> > The grub entries are:
> > title Xen 2.0 / XenLinux 2.6.9
> >         kernel (hd0,1)/boot/xen.gz dom0_mem=131072 console=vga
> >         module (hd0,1)/boot/vmlinuz-2.6.9-xen0 root=/dev/hda2 ro 
> > console=tty0
> >
> > title Xen2
> >         kernel (hd0,1)/boot/xen.gz dom0_mem=65536
> >         module (hd0,1)/boot/vmlinuz-2.6.8-24.8-xen root=/dev/hda2 vga=0x314 
> > splash=silent desktop resume=/dev/hda1 showopts
> >         module (hd0,1)/boot/initrd-2.6.8-24.8-xen.gz
> >
> > Lowering the dom0_mem anything between 8192 to 13300 works, but then the
> > kernel reboots during the boot process (for low values) and for higher
> > values the boot script processes get killed by oom_kill, who eventually
> > killes init too, kernel panics->reboot.  Setting dom0_mem to 13313 or
> > anything bigger doesn't work, produces the error "Not enough memory for
> > DOM0 memory reservation".
> >
> > What happens between 13300 and 13313 is untested, I think it has been
> > narrowed down sufficiently.
> >
> > How can I solve this ? And/or what could I be doing wrong?
> >
> > Thanks in advance,
> >
> > Floris Martens
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://productguide.itmanagersjournal.com/
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel