From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1O4f8H-0001I7-1s for mharc-grub-devel@gnu.org; Wed, 21 Apr 2010 14:58:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4f8F-0001Ec-23 for grub-devel@gnu.org; Wed, 21 Apr 2010 14:58:43 -0400 Received: from [140.186.70.92] (port=49524 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4f89-00010o-4q for grub-devel@gnu.org; Wed, 21 Apr 2010 14:58:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4f87-0004gz-Mh for grub-devel@gnu.org; Wed, 21 Apr 2010 14:58:36 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:33477) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4f87-0004gq-Hi for grub-devel@gnu.org; Wed, 21 Apr 2010 14:58:35 -0400 Received: by wyg36 with SMTP id 36so1024370wyg.0 for ; Wed, 21 Apr 2010 11:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=OOn90hXHgQ6gZCotST2bSuZuBwxGgPnAsaUphKPJc0A=; b=QoUm965NxE6wQ+ik0hg2Ra9NlcX1nOzkBeszt6ynufaEq7z3uoNsdxXx0Xd1G+pTz9 21GJw16zCa7caWobbwK5uoU1Tz8PM0DksKCl0c74SeDQOyiC4Ack9FkuAky7VhevV6rO QhQZVi0l2In7voTwl/nuTkgQiSQvOT+1lVMzo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=HlQwxmDFccJw8sDR5NcU04YnSQ9TcBMi54iCiv9+g4A2iaTKx2ZKDVuu4MOWAsdl8Q PY5JerEgZHcT+UZXyz7eIoGh4JhiysRKp8o7CKnaVoBFid3Iy5DXMtpmcCcDcndbp1Ly AB0ub6bUP89n0yymVdU6n+DVjU6m6HDld7xEQ= Received: by 10.216.89.130 with SMTP id c2mr4768518wef.44.1271876313522; Wed, 21 Apr 2010 11:58:33 -0700 (PDT) Received: from debian.bg45.phnet (gprs49.swisscom-mobile.ch [193.247.250.49]) by mx.google.com with ESMTPS id p37sm2496772gvf.13.2010.04.21.11.58.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 21 Apr 2010 11:58:32 -0700 (PDT) Message-ID: <4BCF4ACE.8030209@gmail.com> Date: Wed, 21 Apr 2010 20:58:22 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <8979901.01271851613316.JavaMail.root@wombat> In-Reply-To: <8979901.01271851613316.JavaMail.root@wombat> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigFAEC41F8F0C258EA077B6B95" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: 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 18:58:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFAEC41F8F0C258EA077B6B95 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable gburanov@gmail.com wrote: >> 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 an= d >> neighbour threads). >> Be sure that grub is compiled with -mcmodel=3Dlarge. You can also try >> disable usage of >4GiB memory by adding >> #define MCMODEL_SMALL >> to kern/efi/mm.c >> =20 > > Hm, as far as I can understand, the grub is always compiled with mcmode= l=3Dlarge for UEFI > > =20 It's checked that gcc supports -mcmodel=3Dlarge and if it doesn't it defaults to smaller models and modifes module loader in order to satisfy the necessary placement requirements. However grub.efi itself is loaded by EFI and there is no way of informing it where grub should be loaded. I guess I should remove this hack and just refuse to compile to 64-bit efi if -mcmodel=3Dlarge doesn't work. Also it's possible that flags aren't propagated correctly so please check that -mcmodel=3Dlarge is really passed to gcc --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigFAEC41F8F0C258EA077B6B95 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAkvPStQACgkQNak7dOguQglEPwD9GBmsW2fFp/MnJg9q5oq302KR 5x1YLOH7B91VNhWf3aIBAJIPoJB/dnX4GZw2zgrm2cb8mm1R6Ja+OFMFGYVauy07 =5pU+ -----END PGP SIGNATURE----- --------------enigFAEC41F8F0C258EA077B6B95--