From: gburanov@gmail.com
To: grub-devel@gnu.org
Subject: Re: Re: GRUB2 for UEFI crashes at startup when we got 8 gigabyte of memory
Date: Wed, 21 Apr 2010 08:06:53 -0400 [thread overview]
Message-ID: <8979901.01271851613316.JavaMail.root@wombat> (raw)
In-Reply-To: <4BCEB7E5.8030702@gmail.com>
> It may be a recent regression because we have a reports of successful
> boot in such configuration
> (http://lists.gnu.org/archive/html/grub-devel/2009-05/msg00179.html and
> neighbour threads).
> Be sure that grub is compiled with -mcmodel=large. You can also try
> disable usage of >4GiB memory by adding
> #define MCMODEL_SMALL
> to kern/efi/mm.c
Hm, as far as I can understand, the grub is always compiled with mcmodel=large for UEFI
if test "$target_cpu"-"$platform" = x86_64-efi; then
# Use large model to support 4G memory
{ echo "$as_me:$LINENO: checking whether option -mcmodel=large works" >&5
echo $ECHO_N "checking whether option -mcmodel=large works... $ECHO_C" >&6; }
if test "${grub_cv_cc_mcmodel+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
SAVED_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -m64 -mcmodel=large"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
--
This message was sent on behalf of gburanov@gmail.com at openSubscriber.com
http://www.opensubscriber.com/message/grub-devel@gnu.org/13789927.html
next prev parent reply other threads:[~2010-04-21 12:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-21 7:53 GRUB2 for UEFI crashes at startup when we got 8 gigabyte of memory gburanov
2010-04-21 8:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-21 12:06 ` gburanov [this message]
2010-04-21 18:58 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-21 8:34 ` Seth Goldberg
2010-04-21 9:12 ` Bean
2010-04-21 9:40 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-04 12:59 ` Vladimir 'φ-coder/phcoder' Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8979901.01271851613316.JavaMail.root@wombat \
--to=gburanov@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.