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-users

Re: [Xen-users] FIXED!!! amd64 system only seeing 3.5gb instead of 4gb o

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] FIXED!!! amd64 system only seeing 3.5gb instead of 4gb of memory
From: Rafał Kupka <rkupka+Listy.Xen@xxxxxxxxxxxxx>
Date: Mon, 18 Jun 2007 13:34:07 +0200
Delivery-date: Mon, 18 Jun 2007 04:31:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B02561E25@xxxxxxxxxxxxxxxxx>
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>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <AEC6C66638C05B468B556EA548C1A77D01166AE4@trantor> <907625E08839C4409CE5768403633E0B02561E25@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Mon, Jun 18, 2007 at 11:35:56AM +0200, Petersson, Mats wrote:
Hello,

> > The fix makes me think that the bug is a bit heisenbug-ish... but it
> > works for me.
> 
> Yes, it looks like a "compiler issue" that is fixed by forcing the
> compiler to not optimize the variable by using volatile - not the ideal
> solution, but I guess fixing the compiler may be even more difficult.
> [Not knowing what the code looks like - but I suppose the "cont"
> variable isn't updated by an interrupt or external hardware!]

I thought the same, but one grub stage2 file behaves differently on
two motherboards. It fails to detect[1] e820 memory map on my computer,
but copied to friend's one works perfectly. I think if it's
compiler bug[2] that copy shouldn't work on both computers.

Regerds,
Kupson
[1] displaymem command doesn't work
[2] optimize loop or function call to nothing or something similar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users