From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MCMts-0005ue-D0 for mharc-grub-devel@gnu.org; Thu, 04 Jun 2009 20:03:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MCMtp-0005ry-Dd for grub-devel@gnu.org; Thu, 04 Jun 2009 20:03:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MCMtm-0005oi-1q for grub-devel@gnu.org; Thu, 04 Jun 2009 20:03:07 -0400 Received: from [199.232.76.173] (port=52855 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCMRO-0006jX-H8 for grub-devel@gnu.org; Thu, 04 Jun 2009 19:33:46 -0400 Received: from relay1.mail.masterhost.ru ([83.222.23.61]:17980) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MCJDi-0006g6-P5 for grub-devel@gnu.org; Thu, 04 Jun 2009 16:07:27 -0400 Received: from [UNAVAILABLE] ([91.77.126.33] helo=mdf4.localnet) by relay1.mail.masterhost.ru with esmtp envelope from authenticated with dron@osrc.info message id 1MCJDd-000Otz-7u for grub-devel@gnu.org; Fri, 05 Jun 2009 00:07:21 +0400 From: Andrey Valyaev Organization: Infosec To: The development of GRUB 2 Date: Fri, 5 Jun 2009 00:07:06 +0400 User-Agent: KMail/1.11.3 (Linux/2.6.27-gentoo-r8; KDE/4.2.3; i686; ; ) References: <200906032352.51827.dron@osrc.info> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200906050007.20241.dron@osrc.info> X-SpamTest-Envelope-From: dron@osrc.info X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 8638 [Jun 04 2009] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {UDS BL} X-SpamTest-Info: {DNSBL Rate: low} X-SpamTest-Method: none X-SpamTest-Rate: 30 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: multiboot take partial mmap 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, 05 Jun 2009 00:03:11 -0000 On =D0=A7=D0=B5=D1=82=D0=B2=D0=B5=D1=80=D0=B3 04 =D0=B8=D1=8E=D0=BD=D1=8F 2= 009 03:18:15 Vladimir 'phcoder' Serbinenko wrote: > > My kernel worked fine with grub-legacy. > > But encounter problem. > > kernel receive mmap up to 1meg... > Be sure to use latest svn and post your exact config > since I didn't have such a problem in my tests Sorry, it's my bug... grub2 place modules to upper pages, but grub-legasy place modules after=20 kernel. I wrong check the modules location for searching temporary kernel memory. mmap work. Some question. Module mmap need only for command badram? my loader worked=20 without mmap module. PS: latest svn revision (from 2243) failed with message: gcc -Icommands -I./commands -I. -I./include -I./include -Wall -W -Wall -W - Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef - Wstrict-prototypes -g -Os -falign-jumps=3D1 -falign-loops=3D1 -falign-funct= ions=3D1=20 =2Dm32 -fno-stack-protector -mno-stack-arg-probe -fno-builtin -mrtd -mregpa= rm=3D3=20 =2Dm32 -Werror -Wall -MD -c -o search_mod-commands_search.o commands/search= =2Ec cc1: warnings being treated as errors commands/search.c: In function 'search_fs': commands/search.c:42: error: generating trampoline in object (requires=20 executable stack) commands/search.c: In function 'grub_cmd_search': commands/search.c:105: error: generating trampoline in object (requires=20 executable stack) make[1]: *** [search_mod-commands_search.o] Error 1 $ gcc --version gcc (Gentoo 4.3.3-r2 p1.1, pie-10.1.5) 4.3.3 =2D-=20 Andrey Valyaev http://mdf-i.blogspot.com