From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laszlo Ersek Subject: Re: [edk2] Loading initrd above 4G causes freeze on boot Date: Thu, 21 Aug 2014 22:23:02 +0200 Message-ID: <53F65526.4040307@redhat.com> References: <20140809192302.GJ15082@console-pimps.org> <20140813140219.GP15082@console-pimps.org> <20140813184449.GV15082@console-pimps.org> <20140820170520.GF29733@console-pimps.org> <53F4FCC9.1030405@fensystems.co.uk> <20140820203011.GH29733@console-pimps.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20140820203011.GH29733-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Matt Fleming Cc: edk2-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Michael Brown , linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, =?UTF-8?B?TWFudGFzIE1pa3VsxJduYXM=?= , Linux Kernel Mailing List , Yinghai Lu List-Id: linux-efi@vger.kernel.org On 08/20/14 22:30, Matt Fleming wrote: > [ Pulling in EDK2 folks for help ] >=20 > On Wed, 20 Aug, at 08:53:45PM, Michael Brown wrote: >> On 20/08/14 20:05, Mantas Mikul=C4=97nas wrote: >>> >>> I experimented with some things (like setting chunk size to a few k= B >>> to see if it hangs earlier or only at the very end; etc.), and fina= lly >>> found out that it stops freezing if I pad the initrd file to a >>> multiple of 512 bytes :/ That is, 5684268 bytes will freeze, 568473= 6 >>> bytes will not. >>> >>> ...In other words, seems like it cannot read chunks that aren't >>> multiples of 512 into a location above 4 GB. Or something like that= =2E.. This patch by yours truly appears remotely relevant: https://github.com/tianocore/edk2/commit/4e39b75e It's dated Aug 26, 2013; no idea if the firmware on Mantas' Asus K52JT, AMI firmware v206, has it. Thanks, Laszlo