lkml.org 
[lkml]   [2014]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Loading initrd above 4G causes freeze on boot
From
On Fri, Aug 22, 2014 at 5:43 PM, Mantas Mikulėnas <grawity@gmail.com> wrote:
>
> On Fri, Aug 22, 2014 at 5:24 PM, Harald Hoyer <harald@redhat.com> wrote:
> > On 09.08.2014 16:23, Mantas Mikulėnas wrote:
> >> As of commit 4bf7111f5016 ("x86/efi: Support initrd loaded above 4G"),
> >> the kernel freezes at the earliest possible moment when trying to boot
> >> via UEFI on my Asus laptop. (It still boots via BIOS.)
> >>
> >> If I revert that commit on current master (c309bfa9b481), it boots
> >> correctly again [although I see "setup_efi_pci() failed" being printed].
> >>
> >> (Seems like it freezes when handle_cmdline_files() attempts to read
> >> the last chunk of the initramfs -- the last call to efi_file_read()
> >> never returns. Figuring out why that happens is beyond me, though.)
> >>
> >
> > I fixed my issue with: https://lkml.org/lkml/2014/8/22/232
>
> ...Well. If that's the _physical_ address, then I suppose it wouldn't
> have worked on my 4 GB laptop either way. (I thought UEFI already used
> some sort of virtual memory, so I never even thought to mention
> this... Oh well.)
>
> Though if that's the case, then I'm wondering why it would be affected
> by the read size? Shouldn't it have crashed either as soon as the high
> address was used, or never at all? (I really don't know much about
> memory at this level. Sorry.)
>
> > Care to test?
>
> Will try later today.

Finally got around to testing it, and yes, your patch fixes the initrd
boot for me.

--
Mantas Mikulėnas <grawity@gmail.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2014-08-24 21:41    [W:0.067 / U:1.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site