Re: [BUG] Linux 3.14 fails to boot with new EFI changes

From: Borislav Petkov
Date: Thu Jan 23 2014 - 17:49:09 EST

On Thu, Jan 23, 2014 at 04:11:08PM -0600, Alex Thorlton wrote:
> We've been hitting the following bug in the latest kernel, during boot:

Can you merge


into your tree, enable CONFIG_EFI_PGT_DUMP, apply the debugging patch
below, catch the whole dmesg and send it to me (privately is fine too)?


diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index f35c66c5959a..07712b9b4263 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -348,7 +348,12 @@ static void __init __init_extra_mapping(unsigned long phys, unsigned long size,
pmd = pmd_offset(pud, phys);
- BUG_ON(!pmd_none(*pmd));
+ if (!pmd_none(*pmd)) {
+ pr_err("phys: 0x%lx, PGD: 0x%lx, PUD: 0x%lx, PMD: 0x%lx\n",
+ phys, pgd_val(*pgd), pud_val(*pud), pmd_val(*pmd));
+ BUG();
+ }
set_pmd(pmd, __pmd(phys | pgprot_val(prot)));


Sent from a fat crate under my desk. Formatting is fine.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at