[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Can't see more than 3.5GB of RAM
The code in setup.c has changed very little between versions, but I have applied this patch successfully to 4.1.2, 4.1.3, and 4.2. I happened to be testing rc3 right now, and here is what that section of the file has:
#if 0 else if ( e820_raw_nr != 0 ) { memmap_type = "Xen-e820"; } else if ( bootsym(lowmem_kb) ) {
memmap_type = "Xen-e801"; e820_raw[0].addr = 0; e820_raw[0].size = bootsym(lowmem_kb) << 10; e820_raw[0].type = E820_RAM; e820_raw[1].addr = 0x100000;
e820_raw[1].size = bootsym(highmem_kb) << 10; e820_raw[1].type = E820_RAM; e820_raw_nr = 2; } #endif else if ( mbi->flags & MBI_MEMMAP )
The condition "( e820_raw_nr != 0 )" has remained the same. The important change is that it went from "if" to an "else if", which means the line after you close your "#endif" has to continue or open the conditional statement.
So in 4.1.2 you might replace the following "else if" with just "if". The goal is to comment out the e801 mapping information. I have no idea what kind of effects this would have on other systems, but it has worked fine for me.
On Wed, Aug 22, 2012 at 8:18 PM, Jonathan Tripathy <jonnyt@xxxxxxxxxxx> wrote:
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |