Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IU109-0007Sa-JD for mharc-grub-devel@gnu.org; Sat, 08 Sep 2007 10:09:33 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IU107-0007S5-RB for grub-devel@gnu.org; Sat, 08 Sep 2007 10:09:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IU106-0007RH-8c for grub-devel@gnu.org; Sat, 08 Sep 2007 10:09:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IU105-0007RA-UE for grub-devel@gnu.org; Sat, 08 Sep 2007 10:09:29 -0400 Received: from vms046pub.verizon.net ([206.46.252.46]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IU105-0003c3-HT for grub-devel@gnu.org; Sat, 08 Sep 2007 10:09:29 -0400 Received: from spinoza.myhome.westell.com ([162.83.149.117]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JO100KORZBNJP18@vms046.mailsrvcs.net> for grub-devel@gnu.org; Sat, 08 Sep 2007 09:09:24 -0500 (CDT) Date: Sat, 08 Sep 2007 10:09:25 -0400 From: Charles Turner In-reply-to: <20070907082834619024.250426d7@optonline.net> To: The development of GRUB 2 Message-id: <20070908100925822183.0ef2b076@optonline.net> MIME-version: 1.0 X-Mailer: GyazMail version 1.5.5 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <20070907082834619024.250426d7@optonline.net> X-Detected-Kernel: Solaris 9.1 Subject: Re: error: "no free pages available"? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2007 14:09:32 -0000 Ok, please forgive the bizarro Grub logfile: I put some grub_printf() statements in grub_rescue_cmd_initrd() in the file loader/i386/efi/linux.c, which is where the "no free pages available" error shows up. At the beginning of the dump, before the function enters into the loop looking for initrd memory, I print out the variables: initrd_pages addr_min addr_max So I know what the size of the image is that needs to be loaded, and where in the memory map. Inside the loop, I continually print out: desc->type desc->physical_start desc->num_pages So what Grub finds is recorded in the above JPEG. It seems like the loop finds a chunk of GRUB_EFI_CONVENTIONAL_MEMORY (enum 7) that is 2542 pages in size at memory address 1,010,688,000. That's the right type and big enough for initrd.img, but the location is way beyond the 536,805,375 addr_max that Grub returned earlier. I have 1GB of memory in my MacMini, so is Grub returning a bad value for addr_max? Any suggestions on where to go from here? Best, Charles