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 of4gb of

To: Rafał Kupka <rkupka+Listy.Xen@xxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] FIXED!!! amd64 system only seeing 3.5gb instead of4gb of memory
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Tue, 19 Jun 2007 09:14:21 +1000
Delivery-date: Mon, 18 Jun 2007 16:12:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070618113407.GA19085@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: <AEC6C66638C05B468B556EA548C1A77D01166AE4@trantor><907625E08839C4409CE5768403633E0B02561E25@xxxxxxxxxxxxxxxxx> <20070618113407.GA19085@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcexnJ2ATuvsp/4CSyeZJF3oh6MXwAAYW/GQ
Thread-topic: [Xen-users] FIXED!!! amd64 system only seeing 3.5gb instead of4gb of memory
> 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.

What are the differences between the two motherboards?

How positive are you that it was actually installed correctly on your computer? 
Is the updated stage2 file definitely in /boot/grub?

Does Linux itself definitely detect the e820 memory map correctly in both 
computers? Are you able to post the dmesg memory map under plain linux to the 
list?

James


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