[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.