[Top][All Lists]

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

Re: grub EFI "too little memory"

From: Bean
Subject: Re: grub EFI "too little memory"
Date: Tue, 17 Jun 2008 16:52:11 +0800

On Tue, Jun 17, 2008 at 3:01 PM, David Holloway <address@hidden> wrote:
> Intended for Robert Millan, et. al.
> I have an Intel 1U server board that fails with the current version of grub
> with the message "too little memory", as in line 312 of CVS version 1.4 of
> grub2/kern/efi/mm.c
> The board is described here:
> I added some debug and I think "required_pages" at line 312 has a value of
> 1MB (256 pages), consistent with MIN_HEAP.
> mmap from the EFI shell reports just 38 pages of LoaderData and just 196
> pages of LoaderCode.
> It's my intention to bone up on EFI, but I'm not there yet.
> The question: does just 38 pages of LoaderData make sense in this
> implemetation? is MIN_HEAP too large or does this EFI implementation provide
> too little memory to be practical?


I think this problem is caused by memory map. In new machine, the
memory map is quite large, the default value in mm.c is too low for
the whole map. You can change the value of

#define MEMORY_MAP_SIZE 0x1000

and retry again. For example, with my macbook, I need to set this
value to 0x4000.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]