Re: Not enough memory when entering CLI

Joshua Oreman <[email protected]> Wed, 21 Oct 2009 13:19:52 -0400
Newsgroups gmane.network.etherboot.user
Message-ID <[email protected]>
On Wed, Oct 21, 2009 at 1:07 PM, Itay Gazit <[email protected]> wrote:
> The driver send page addresses for Firmware use. When the firmware try to
> use some of the pages we get the reset.
>
> Attached picture of 'memmap' capture.

Ah-ha.

How much memory is in your client machine? It looks like the BIOS
isn't giving us a memory map, so we have to "guess" based on a query
of total installed memory. Yours is the first machine I've seen that
reports more than 4GB of memory via this interface, and it seems
there's some nasty overflow going on...

The BIOS tells us a memory amount, and we calculate that the top of
memory is at 0x1_00F0_0000 = 4GB + 15.72MB. After gPXE hooks itself
into the memory map, it thinks the top of memory is at 0x0_00EB_C000 =
15.51MB; that is, it takes ~200kB for itself and completely loses 4GB.

If you're able to take some memory out of the client machine, could
you verify whether the issue still exists when only 2GB is installed?

I'm not too familiar with the exact mechanism of the memory map, but
it would seem this is a bug in gPXE. I'll work on a solution when I
get a bit of time, unless someone else would like to do it first :-)

Thanks for your help in troubleshooting!

-- Josh

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference