Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MbybV-0006CO-G7 for mharc-grub-devel@gnu.org; Fri, 14 Aug 2009 11:22:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbybS-0006BA-0T for grub-devel@gnu.org; Fri, 14 Aug 2009 11:22:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbybM-00065P-VI for grub-devel@gnu.org; Fri, 14 Aug 2009 11:22:01 -0400 Received: from [199.232.76.173] (port=40831 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbybM-000656-Qd for grub-devel@gnu.org; Fri, 14 Aug 2009 11:21:56 -0400 Received: from mail-ew0-f207.google.com ([209.85.219.207]:35245) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbybM-0003VC-EV for grub-devel@gnu.org; Fri, 14 Aug 2009 11:21:56 -0400 Received: by ewy3 with SMTP id 3so2015913ewy.42 for ; Fri, 14 Aug 2009 08:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=CRRy6ay5taG2Vzrp3Bk4xJ16kDxA3VYewD+YUoNDVlc=; b=XKXVo3bA93y1rUVsesrzja8pwjNf82ERqF+mJYpc8o/XTnm3fFcFOhtOkBzm83IOgr OrjkH4RSB+CK2rxzmMHjYXWcRLWnkSFkH//5b9rsvpi9xnKpICNFhPFAGnyLcH8r8LYo T2UCeqga3AzTRfcmj2+f5kOt8XsRaMpzwYgUQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Gl/C5ayx7o+jqG/MGoJlEtze3jwBm4ngZwiB9ljvWsM4zQIqohKr+fDpbFchIWAyqM C74ly8CWB7133BlHhTFOJkArCPuEyaLs1F0ktlAsYUQp787jLFtC3Zvi9F/A6gg0qX1Y pTYyBim/LD/r2lm7zkiLL7hWnJV7j+Y7Xa9f8= MIME-Version: 1.0 Received: by 10.210.132.19 with SMTP id f19mr959087ebd.79.1250263314971; Fri, 14 Aug 2009 08:21:54 -0700 (PDT) In-Reply-To: <1250112780.6552.15.camel@localhost.localdomain> References: <1250103314.3547.43.camel@localhost.localdomain> <1250112780.6552.15.camel@localhost.localdomain> Date: Fri, 14 Aug 2009 17:21:54 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: 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: Fri, 14 Aug 2009 15:22:02 -0000 >> > =A02) The Memory Map information under GRUB2 seems to be "zeroed" whic= h >> > 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). >> The most common reason is the OS zeroing it out. Legacy put the memory >> map in lowmem. GRUB2 puts it just after the kernel image. Some kernels >> may overwrite it during an initialisation phase. > > That will explain it. =A0If GRUB2 puts the memory map just after the > kernel image then it means that the OS cannot assume that the memory > range immediately after the kernel image is free. =A0In fact, the > multiboot OS "must" use the provided memory map to decide what ranges of > memory are available for "dynamic memory" and which of it is free. =A0I > mistakenly thought that the memory map will always be in low memory and > only assume that the first 1 MB of physical memory should be left alone > at boot time to preserve the information. > > BTW, why the difference? =A0Was putting multiboot information (eg: memory > map) in low memory clobbering BIOS information or the VGA/EGA/CGA memory > mapped areas? =A0Just curious. Multiboot specification never promised anything about where mbi is stored. Read it here: http://www.gnu.org/software/grub/manual/multiboot/. Don't assume anythin not explicitly stated in this document > > Thanks for clearing that up! > > Peace, > Frank > >> > >> > 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 i= n >> > the specifications. >> Specifications are the same but we fixed a lot of bugs. >> > >> > Peace, >> > Frank > > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git