From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SjzCO-0003fs-9M for mharc-grub-devel@gnu.org; Wed, 27 Jun 2012 16:50:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjzCL-0003bJ-Hl for grub-devel@gnu.org; Wed, 27 Jun 2012 16:50:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjzCJ-0000vg-NK for grub-devel@gnu.org; Wed, 27 Jun 2012 16:50:49 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:33285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjzCG-0000pX-3F; Wed, 27 Jun 2012 16:50:44 -0400 Received: by wgbds1 with SMTP id ds1so1050624wgb.30 for ; Wed, 27 Jun 2012 13:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; bh=lvO8Ri+pYiGTFkMDBrYEkfeKmK8Zuz6BrUJVCEuUghY=; b=g+E1kSSQ8I+MfpoQKdWZO4LVYnV6cGwilrl2ZRaSWuwvbrPqr44gJtRICbAFXFnnMh 81Qpz1d5fqC+hTwgAh5+sewgkx6w8YvJlOQmXaZZAFWbXUIxJDU2WUw7b1jFVXKLSssN cV9WZuFLu4CuD4nqffOAipj2R1q9FUNDdgizEwIQrN0NwCrAgJUgaDIfseXUIi79j1XW DksJd9ulFJ9n9Cs81XCYW2yZR2SpZ0EwZR2jqhwUmW00mVg2l43+TBaS4a1Z6o9+MSkQ jbxhROOZYoKMrBdzZdp51gmhgy0PhVqc8LmCcT0leFbuHp2e/qekVH//bffSIPngzbiP 7OFg== Received: by 10.180.87.35 with SMTP id u3mr7674185wiz.2.1340830240818; Wed, 27 Jun 2012 13:50:40 -0700 (PDT) Received: from debian.x201.phnet (37-39.78-83.cust.bluewin.ch. [83.78.39.37]) by mx.google.com with ESMTPS id t8sm12384948wiy.3.2012.06.27.13.50.39 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Jun 2012 13:50:40 -0700 (PDT) Message-ID: <4FEB721E.3080908@gmail.com> Date: Wed, 27 Jun 2012 22:50:38 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 MIME-Version: 1.0 To: Stuart_Hayes@Dell.com Subject: Re: [bug #36532] boot in EFI mode (x86_64) fails on some systems References: <20120523-193311.sv88235.49420@savannah.gnu.org> <20120531-112908.sv72589.64321@savannah.gnu.org> <959D45574D89AF41A9DADF6F446A2E9A2AE507A772@AUSX7MCPS310.AMER.DELL.COM> <959D45574D89AF41A9DADF6F446A2E9A2AE55A707B@AUSX7MCPS310.AMER.DELL.COM> <4FD1180B.8090709@gmail.com> <959D45574D89AF41A9DADF6F446A2E9A2AE5668374@AUSX7MCPS310.AMER.DELL.COM> <4FD646FE.4050301@gmail.com> <959D45574D89AF41A9DADF6F446A2E9A2AE56AEA8E@AUSX7MCPS310.AMER.DELL.COM> <4FD79D9E.6010702@gmail.com> <959D45574D89AF41A9DADF6F446A2E9A2AEC020701@AUSX7MCPS310.AMER.DELL.COM> In-Reply-To: <959D45574D89AF41A9DADF6F446A2E9A2AEC020701@AUSX7MCPS310.AMER.DELL.COM> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigD03847785999472F865730B6" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 Cc: bug-grub@gnu.org, grub-devel@gnu.org, Jared_Dominguez@DELL.com X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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, 27 Jun 2012 20:50:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD03847785999472F865730B6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 27.06.2012 21:59, Stuart_Hayes@Dell.com wrote: >> >> Well, this works, too (on top of HEAD from 7 june). >> >> >> --- ../../grub/grub-core/loader/i386/linux.c 2012-05-31 >> 12:59:19.000000000 -0400 >> +++ grub-core/loader/i386/linux.c 2012-06-12 20:47:51.455718055 -0400 >> @@ -139,7 +139,7 @@ find_efi_mmap_size (void) >> >> /* Increase the size a bit for safety, because GRUB allocates more >> on >> later, and EFI itself may allocate more. */ >> - mmap_size +=3D (1 << 12); >> + mmap_size +=3D (3 << 12); >> >> mmap_size =3D page_align (mmap_size); >> return mmap_size; >=20 > Vladimir, >=20 > The 2.00rc1 version of grub2 still doesn't fix the efi memory map buffe= r size I've been working on (though I can see you are now allocating the = efi memory map buffer very shortly before you are calling grub_efi_finish= _boot_services()). >=20 > Increasing the mmap_size in find_efi_mmap_size()--as in the patch immed= iately above this text--does fix the problem. Even adding (2 << 12) (ins= tead of (1 << 12)) to the mmap_size will work on the system I'm testing w= ith. >=20 I've changed it to 3. Thanks. It's annoying that even such simple operations as we have between find_efi_mmap and finish drastically increase memory map size. --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigD03847785999472F865730B6 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.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk/rch4ACgkQNak7dOguQgmmQAD9Fq74YF6nE2fZ78Gw60ifTM5s hsx3dVHVcvhPmAX2dRgBAKAp/QaekrBf8QE6V2UBDqKjV6Gv6GLmZMD9DYcPoJbw =VqIu -----END PGP SIGNATURE----- --------------enigD03847785999472F865730B6--