From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Fleming Subject: Re: [bisected, regression] 3.17-rc2 kernel doesn't load initramfs with EFI stub boot Date: Mon, 1 Sep 2014 19:42:08 +0100 Message-ID: <20140901184208.GA3001@console-pimps.org> References: <1409155357.1084.1.camel@kepstin.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1409155357.1084.1.camel-08yNtVAFnCuw5LPnMra/2Q@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Calvin Walton Cc: Yinghai Lu , Matt Fleming , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-efi@vger.kernel.org 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 > 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 > Signed-off-by: Matt Fleming > > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754695AbaIASmN (ORCPT ); Mon, 1 Sep 2014 14:42:13 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:54648 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754387AbaIASmL (ORCPT ); Mon, 1 Sep 2014 14:42:11 -0400 Date: Mon, 1 Sep 2014 19:42:08 +0100 From: Matt Fleming To: Calvin Walton Cc: Yinghai Lu , Matt Fleming , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , x86@kernel.org, linux-efi@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: [bisected, regression] 3.17-rc2 kernel doesn't load initramfs with EFI stub boot Message-ID: <20140901184208.GA3001@console-pimps.org> References: <1409155357.1084.1.camel@kepstin.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1409155357.1084.1.camel@kepstin.ca> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 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 > Signed-off-by: Matt Fleming > > 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