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/
Home Products Support Community News


Re: [Xen-users] Xen 3 not seeing the right amount of RAM on x86_64

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 3 not seeing the right amount of RAM on x86_64
From: "Chuck McIntyre" <chuck.mcintyre@xxxxxxxxx>
Date: Fri, 30 Nov 2007 11:40:52 -0800
Delivery-date: Fri, 30 Nov 2007 11:41:42 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=9dPYH5Byc3sN45j6h4cjPnFAmPq0xE63l7EVvJ31ZWg=; b=E4MtgVoF1C0HG+Tw9593/+TeaQKabOKhzANZCS7SJBygYxhOaTWCXzjSXujCNA33TYStIO9Bk7ZttBqubjVJ3lIoLzAZEgIOIyxbw+ZEQvCEifpOpr+67LHzpTr/gOSFjyP3pxgm1qB0pLbnfQRMYSVZ4wcRXUHffFVtFZ7eQ/s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RSHbuEiNfhjnVBoURsge23sJ1c7BZapkd+Q5hfzs6MXZYG3GjerWk/DZdqSxTB4DRj801yNZi4T/GWy6Jp8My8pFRzwAZyo3G5NFT3rcPUq1ZtyYfI/aRMSVrgbeWuDZe2QT8h7MQPWukgmfztA6uFFy6D70YWayF1Ug4SYBm28=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071129100919.GA4400@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b62bf9fa0711272047u725626bag78a365f4861833d2@xxxxxxxxxxxxxx> <200711280324.03841.dancab@xxxxxxxxxxxx> <b62bf9fa0711280413r2f398437m1113282943e9fc82@xxxxxxxxxxxxxx> <20071128132432.GA5017@xxxxxxxxxxxxxxxx> <b62bf9fa0711281041t4f91f681vab50f4e89e87ad8d@xxxxxxxxxxxxxx> <20071129100919.GA4400@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Nov 29, 2007 2:09 AM, Rafał Kupka <rkupka+Listy.Xen@xxxxxxxxxxxxx> wrote:
> Hello,


Thanks for your help, see my responses below.

> > (XEN) Physical RAM map:
> > (XEN)  0000000000000000 - 000000000009dc00 (usable)
> > (XEN)  0000000000100000 - 00000000dcff0000 (usable)
> > (XEN) System RAM: 3535MB (3620404kB)
> > (XEN) Xen heap: 14MB (14340kB)
> > (XEN) found SMP MP-table at 000ff780
> > (XEN) DMI present.
> Xen gets memory map from grub, unlike linux[1].

Do you have a reference for this? Is this intentional? My
understanding is that grub doesn't have any way to map around PCI BIOS
created RAM holes because it is such a low level (boot) piece of
software. Is this, then, a bug? Is there a way around it?

> Yes, it's this strange bug in grub I spot some time ago.
> Please look at Debian bug #419994:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=419994

I'm not sure it's a grub bug though, since it works correctly in a
non-xen kernel.

Should I try a different boot loader?

> Can you try patch (with volatile unsigned long cont) and tell if it make
> any difference?[2]

Will try this, and see, just to be sure, in the meantime, if you could
provide reference for your assertion that Xen uses the boot loader to
get its RAM map, that would be very helpful.

Thanks again,
Xen-users mailing list