From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1O4Yhp-0002ei-Q3 for mharc-grub-devel@gnu.org; Wed, 21 Apr 2010 08:07:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4Yhm-0002cr-MT for grub-devel@gnu.org; Wed, 21 Apr 2010 08:06:58 -0400 Received: from [140.186.70.92] (port=38334 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4Yhk-0002aq-DY for grub-devel@gnu.org; Wed, 21 Apr 2010 08:06:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4Yhi-0002O1-9E for grub-devel@gnu.org; Wed, 21 Apr 2010 08:06:56 -0400 Received: from aa.81.b6.static.xlhost.com ([207.182.129.170]:42625 helo=wombat.diezmil.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4Yhi-0002Nm-3a for grub-devel@gnu.org; Wed, 21 Apr 2010 08:06:54 -0400 Received: from wombat (wombat [127.0.0.1]) by wombat.diezmil.com (8.14.2/8.14.2) with ESMTP id o3LC6ro5031729 for ; Wed, 21 Apr 2010 08:06:53 -0400 Date: Wed, 21 Apr 2010 08:06:53 -0400 From: gburanov@gmail.com To: grub-devel@gnu.org Message-ID: <8979901.01271851613316.JavaMail.root@wombat> In-Reply-To: <4BCEB7E5.8030702@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Re: GRUB2 for UEFI crashes at startup when we got 8 gigabyte of memory X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2010 12:06:59 -0000 > 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