From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8VCs-00028B-Ez for mharc-grub-devel@gnu.org; Tue, 17 Jun 2008 03:02:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8VCq-00027d-FJ for grub-devel@gnu.org; Tue, 17 Jun 2008 03:02:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8VCp-000262-1R for grub-devel@gnu.org; Tue, 17 Jun 2008 03:02:15 -0400 Received: from [199.232.76.173] (port=43901 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8VCo-00025z-Qq for grub-devel@gnu.org; Tue, 17 Jun 2008 03:02:14 -0400 Received: from mx20.gnu.org ([199.232.41.8]:12641) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K8VCn-0006fI-Vn for grub-devel@gnu.org; Tue, 17 Jun 2008 03:02:14 -0400 Received: from mail.windriver.com ([147.11.1.11] helo=mail.wrs.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8VCj-00019V-NP for grub-devel@gnu.org; Tue, 17 Jun 2008 03:02:10 -0400 Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.wrs.com (8.13.6/8.13.6) with ESMTP id m5H71vtc004670 for ; Tue, 17 Jun 2008 00:01:57 -0700 (PDT) Received: from ala-mail06.corp.ad.wrs.com ([147.11.57.147]) by ALA-MAIL03.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 17 Jun 2008 00:01:57 -0700 Received: from [192.168.114.110] ([192.168.114.110]) by ala-mail06.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 17 Jun 2008 00:01:57 -0700 Message-ID: <48576165.1000002@dholloway.com> Date: Tue, 17 Jun 2008 00:01:57 -0700 From: David Holloway User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) MIME-Version: 1.0 To: grub-devel@gnu.org References: <200806170307.m5H37DjU073382@shoebox.dholloway.com> In-Reply-To: <200806170307.m5H37DjU073382@shoebox.dholloway.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Jun 2008 07:01:57.0713 (UTC) FILETIME=[08652C10:01C8D048] X-detected-kernel: by mx20.gnu.org: Solaris 9 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: grub EFI "too little memory" 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: Tue, 17 Jun 2008 07:02:17 -0000 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: http://www.intel.com/design/telecom/products/cbp/ipserver/9979/overview.htm 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?