grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiboot take partial mmap


From: Andrey Valyaev
Subject: Re: multiboot take partial mmap
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; ; )

On Четверг 04 июня 2009 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 
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 
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=1 -falign-loops=1 -falign-functions=1 
-m32 -fno-stack-protector -mno-stack-arg-probe -fno-builtin -mrtd -mregparm=3 
-m32 -Werror -Wall -MD -c -o search_mod-commands_search.o commands/search.c
cc1: warnings being treated as errors
commands/search.c: In function 'search_fs':
commands/search.c:42: error: generating trampoline in object (requires 
executable stack)
commands/search.c: In function 'grub_cmd_search':
commands/search.c:105: error: generating trampoline in object (requires 
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

-- 
Andrey Valyaev
http://mdf-i.blogspot.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]