[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] Can't see more than 3.5GB of RAM
This "patch" is only for EFI users, and doesn't appear to apply to all cases. It wouldn't make sense to submit it.
On Tue, Aug 28, 2012 at 2:22 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Wed, Aug 22, 2012 at 08:34:10PM -0400, Casey DeLorme wrote:
> 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.
>
Hello,
Did you submit patches for this to xen-unstable (and after that, a backport to xen-4.1-testing.hg) ?
Thanks,
-- Pasi
> On Wed, Aug 22, 2012 at 8:18 PM, Jonathan Tripathy <[1]jonnyt@xxxxxxxxxxx>
> wrote:
>
> On 23/08/2012 01:13, Casey DeLorme wrote:
>
> Well, that's a shame. Pretty sure the e801 Map is your problem, and
> the only fix I have found involves compiling from source with
> modifications:
> [2]http://serverfault.com/questions/342109/xen-only-sees-512mb-of-system-ram-should-be-8gb-uefi-boot
>
> I have had success applying the above fix with plenty of versions of
> Xen, so I can vouch for the above post being a valid workaround. I
> still use it with Xen 4.2.
>
> Must be a grub efi bug, supposedly 4.2 has a new option to build
> xen.efi, which would replace the debian.efi boot file, but I haven't
> figured anything out for that.
>
> I also came across that serverfault posting. Am I correct in saying that
> the patch will have to be modified a little to work for 4.1.2?
>
> Thanks
>
> _______________________________________________
> Xen-users mailing list
> [3]Xen-users@xxxxxxxxxxxxx
> [4]http://lists.xen.org/xen-users
>
> References
>
> Visible links
> 1. mailto:jonnyt@xxxxxxxxxxx
> 2. http://serverfault.com/questions/342109/xen-only-sees-512mb-of-system-ram-should-be-8gb-uefi-boot
> 3. mailto:Xen-users@xxxxxxxxxxxxx
> 4. http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|