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

[Xen-users] Re: Xen-Kernel detects just 3.2GB Ram on a 64Bit Debian

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Xen-Kernel detects just 3.2GB Ram on a 64Bit Debian
From: "Robert A. Klahn" <xen-users@xxxxxxxx>
Date: Thu, 02 Aug 2007 10:18:01 -0700
Delivery-date: Thu, 02 Aug 2007 10:15:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E1IGdXT-0006o4-Su@host-192-168-0-1-bcn-london>
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: <E1IGdXT-0006o4-Su@host-192-168-0-1-bcn-london>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I ran into a similar problem in Fedora 7, x86_64, 16GB RAM, only
3GB+abit detected by Xen 3.1.

Ultimately, I tracked it down to a problem in Grub. I reported it on the
Fedora Bugzilla at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=250299

But the shorter version is this patch to Grub:

--- grub-0.97/stage2/common.c.e820      2007-07-30 11:36:19.000000000
-0800    
+++ grub-0.97/stage2/common.c           2007-07-30 11:36:55.000000000
-0800    
@@ -142,6 +142,7 @@
 init_bios_info (void)                                                   
 {                                                                       
 #ifndef STAGE1_5                                                        
-  unsigned long cont, memtmp, addr;                                     
+  unsigned long memtmp, addr;                                           
+  volatile unsigned long cont;                                          
   int drive;                                                            
 #endif

> Message: 1
> Date: Thu, 2 Aug 2007 16:18:18 +0200
> From: "Roman Konz" <drummermonkey@xxxxxxxxx>
> Subject: Re: [Xen-users] Xen-Kernel detects just 3.2GB Ram on a 64Bit
>       Debian
> To: "Peter Peltonen" <peter.peltonen@xxxxxxxxx>
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Message-ID:
>       <313072780708020718k68386da4k851b2f20fe87fcd2@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi Peter,
> 
> i have tried XEN 3.0.4 which is shipped with debian itself.
> Then i've tried to install the official binary package of XEN 3.1,
> and it gave the same error.
> Compiling XEN 3.1&its shipped Kernel also don't work.
> 
> I'm not sure, but I think it must be an error in the XEN Kernel.
> The same version (2.6.18) compiled without XEN support works fine with
> 8G of memory.
> 
> Now i have tried the evaluation of XEN Enterprise - same error.
> A Hardware-Failure is not possible because i have tried it on 2 (same
> Hardare) Computers.
> Is it possible, that the XEN-Patch does not support our Hardware?
> 
> Thanks a lot
> 
> Greets,
> Roman Konz
> 
> 
> 2007/8/2, Peter Peltonen <peter.peltonen@xxxxxxxxx>:
> > Hi,
> >
> > On 8/2/07, Roman Konz <drummermonkey@xxxxxxxxx> wrote:
> > > If I boot the XEN Kernel, Linux shows me just 3,2GB RAM, but if I
> > > reboot into the Debian standard Kernel, the memory is detected
> > > correctly.
> > >
> > > I don't know what to try next, so I hope you can help me :-)
> >
> > I have similiar problem on 32bit CentOS5 and 6gb of RAM: with
> > kernel-PAE all memory is indeed recognized, but with kernel-xen not
> > (which has PAE support also).
> >
> > But AFAIK 64bit OS should "just" work and see all your memory. Which
> > debian version / xen packages do you have installed?
> >
> > I will try next installing the 64bit version of CentOS5 and see if
> > that makes a difference in my own case.
> >
> > Cheers,
> > Peter
> >
-----------------------------------------------------------
Robert A. Klahn         robert@xxxxxxxx         AIM: rklahn

"Hope has two beautiful daughters: Anger and Courage. Anger
 at the way things are, and Courage to struggle to create 
 things as they should be." -- St. Augustine


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

<Prev in Thread] Current Thread [Next in Thread>