Re: [bisected, regression] 3.17-rc2 kernel doesn't load initramfs with EFI stub boot

From: Matt Fleming
Date: Mon Sep 01 2014 - 14:42:19 EST


On Wed, 27 Aug, at 12:02:37PM, Calvin Walton wrote:
> Hi all,
>
> When I tried booting the 3.17-rc2 kernel on my Lenovo ThinkPad T440p
> (16gb ram) via Gummiboot/EFI stub, it failed with an error saying that
> it could not mount root. A little investigation revealed that the
> initramfs did not load, so mounting by filesystem UUID failed.
>
> A video of the failed boot is available here, if you're curious:
> https://www.youtube.com/watch?v=wOHTvg8Tico
>
> I've bisected the change, and it has led me to:
>
> 4bf7111f50167133a71c23530ca852a41355e739 is the first bad commit
> commit 4bf7111f50167133a71c23530ca852a41355e739
> Author: Yinghai Lu <yinghai@xxxxxxxxxx>
> Date: Sat Jun 14 12:23:41 2014 -0700
>
> x86/efi: Support initrd loaded above 4G
>
> For boot efi kernel directly without bootloader.
> If the kernel support XLF_CAN_BE_LOADED_ABOVE_4G, we should
> not limit initrd under hdr->initrd_add_max.
>
> Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>
> Signed-off-by: Matt Fleming <matt.fleming@xxxxxxxxx>
>
> This commit reverts cleanly on top of 3.17-rc2, and the resulting
> kernel boots correctly.

Thanks for reporting this. Could you try the below commit and see
whether it fixes things for you?

http://article.gmane.org/gmane.linux.kernel.efi/4524

--
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/