Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MbIyp-0005vU-53 for mharc-grub-devel@gnu.org; Wed, 12 Aug 2009 14:55:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbIyn-0005vL-Ji for grub-devel@gnu.org; Wed, 12 Aug 2009 14:55:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbIyj-0005v9-1c for grub-devel@gnu.org; Wed, 12 Aug 2009 14:55:21 -0400 Received: from [199.232.76.173] (port=59077 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbIyi-0005v6-Rf for grub-devel@gnu.org; Wed, 12 Aug 2009 14:55:16 -0400 Received: from smtp1.cogeco.ca ([216.221.81.28]:42704 helo=fipsb01.cogeco.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbIyi-0003eb-Fv for grub-devel@gnu.org; Wed, 12 Aug 2009 14:55:16 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap8BAFutgkpDwSPD/2dsb2JhbAAIwVAKkiiEGQWBTIYq X-IronPort-AV: E=Sophos;i="4.43,369,1246852800"; d="scan'208";a="13011741" Received: from d67-193-35-195.home3.cgocable.net (HELO [192.168.1.208]) ([67.193.35.195]) by fipsb01.cogeco.net with ESMTP; 12 Aug 2009 14:55:14 -0400 From: Francis Shim To: grub-devel@gnu.org Content-Type: text/plain Date: Wed, 12 Aug 2009 14:55:14 -0400 Message-Id: <1250103314.3547.43.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 (2.24.5-2.fc10) Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Memory Map information: GRUB2 vs. Legacy GRUB (GRUB1) 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: Wed, 12 Aug 2009 18:55:21 -0000 Hi, I am developing an eductional/hobby OS that is multiboot-compliant that has been booted by Legacy GRUB successfully. In this particular instance, I am examining the Memory Map information that I obtain from the Multiboot Information structure that Legacy GRUB returns successfully. Available and reserved areas appear to be collated correctly. However, when I boot using GRUB2, the Memory Map seems to have been written over. Some observations: 1) Legacy GRUB seems to use a combination of ELF and Multiboot header information to boot the OS image; however, GRUB2 using the "multiboot" kernel type will use strictly Multiboot protocol. 2) The Memory Map information under GRUB2 seems to be "zeroed" which leads me to believe that there must be something different in the way Legacy GRUB and GRUB2 handle Data and BSS segments (ie: initializing data by zeroing out). I am using GRUB2 version 1.96 from the Fedora RPM repository; hence, I wanted to know if a later SVN version has a fix or is there a change in the specifications. Peace, Frank