From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NhLxt-000390-N0 for mharc-grub-devel@gnu.org; Tue, 16 Feb 2010 06:51:41 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhLxs-00037g-89 for grub-devel@gnu.org; Tue, 16 Feb 2010 06:51:40 -0500 Received: from [140.186.70.92] (port=44639 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhLxr-00036x-G2 for grub-devel@gnu.org; Tue, 16 Feb 2010 06:51:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhLxo-0005hL-Md for grub-devel@gnu.org; Tue, 16 Feb 2010 06:51:39 -0500 Received: from fg-out-1718.google.com ([72.14.220.158]:32749) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhLxk-0005gu-Vs for grub-devel@gnu.org; Tue, 16 Feb 2010 06:51:36 -0500 Received: by fg-out-1718.google.com with SMTP id e12so811085fga.12 for ; Tue, 16 Feb 2010 03:51:28 -0800 (PST) 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=+hvUBKRAVM0U5lifr/chVBArlsGpF6Rf0OKqE2obtW0=; b=k3iCdmMKdgXAMIj/iozhuAdDQ18FM7l2CsxVnKnK3fD50KTR/xWZpeCQQgOvmzPccQ s2rN0P4L48WvejIWGtQGtdxL5C7XAZGy7knbIU4T4+7lbtfglFANQ2SYuZp6kVTzTfA1 SR8uvJ61A8K3Lgsckbp29lOHYihiAZqg6ZanA= 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=NZy+M0WPaQ9M2OpCMvtL/ilIuMcK4eofWCgDEUFrTs29TAMzlN+hvIS4oqfXHhQQ1c NH8qV7z4TFbCgFCF3voo53bbjMG0+P/moAkjvKq65Dcu5lbNILVGhsW3792B4lVaXoVc U2JKzIL4mg2fPFxbJHLJ5hPoL/aLn9HXeu/48= Received: by 10.87.15.29 with SMTP id s29mr11331448fgi.34.1266321088098; Tue, 16 Feb 2010 03:51:28 -0800 (PST) Received: from debian.bg45.phnet ([81.62.76.105]) by mx.google.com with ESMTPS id d8sm16292501fga.23.2010.02.16.03.51.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Feb 2010 03:51:27 -0800 (PST) Message-ID: <4B7A86AF.3020506@gmail.com> Date: Tue, 16 Feb 2010 12:51:11 +0100 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: In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig566ABA53D081A699F5D824FA" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: What's the point of allocating the protected mode code on 0x100000 only (UEFI) 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: Tue, 16 Feb 2010 11:51:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig566ABA53D081A699F5D824FA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable George Buranov wrote: > Hello, > > I just found another computer with working UEFI (I was testing on UEFI > simulation) and just found that the kernel load does not work. I found > out that the problem is in code > > /* Next, find free pages for the protected mode code. */ > /* XXX what happens if anything is using this address? */ > prot_mode_mem =3D grub_efi_allocate_pages (0x100000, prot_mode_pages = + 1); > if (! prot_mode_mem) > { > grub_error (GRUB_ERR_OUT_OF_MEMORY, > "cannot allocate protected mode pages"); > goto fail; > } > > This function return with false for me. I am continuing investigation, > but maybe you know the reason why the allocation is on this special > address? Can we change it? As I already said I have a working prototype for this in newreloc branch.= > > Regards, > Georgy > -----------------------------------------------------------------------= - > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig566ABA53D081A699F5D824FA 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 iF4EAREKAAYFAkt6hrUACgkQNak7dOguQgn1MQEAoAcCIVJMEQlHp/+R/TLC/99Z 9vQC0hiWryEEq68e89QA/199fiz2MRb92gHP5Cm3nO9dmpiWCvC9HLmRWrhJzD0g =JUhc -----END PGP SIGNATURE----- --------------enig566ABA53D081A699F5D824FA--