From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD97CC2BA19 for ; Tue, 14 Apr 2020 16:36:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 93AF92074D for ; Tue, 14 Apr 2020 16:36:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586882167; bh=2fMLCgNMiZFmx0Qt1Q1vqSQe2+/NjRgn2Y1LBwTa5SU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=ZrBLXlvoDIVpbODe2MhkZyYc0873R3SCoUZq3MqHJqyTYzUk9bVn5+sU90PZbptPF ZHERUFST3i7K9TzhU13iB50wMZAIdFvEcI9Ov7qhHxr43elkpVtuJN1E3DWwQIVSFY 5BDMxmNFMhXmW8T1CYp1i6TWA0ZEhANtsL40GKHk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391812AbgDNQgE (ORCPT ); Tue, 14 Apr 2020 12:36:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:47318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391800AbgDNQfz (ORCPT ); Tue, 14 Apr 2020 12:35:55 -0400 Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ED80E2075E; Tue, 14 Apr 2020 16:35:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586882155; bh=2fMLCgNMiZFmx0Qt1Q1vqSQe2+/NjRgn2Y1LBwTa5SU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Gd+0HVdq52wpdUq6+a9/eByVgBfUR7p7zTcZjbc+yPyV0pJoJp1EV7kFvUdCa1Rfn 6e6XpTWhWYbAQf8Pu6dhlPXnNk84cxwlgb2kvHYlsqTuoE4Xxh+PdTbGnBcnDhIgu6 KYwdiwwI8Kj5HztyuuSw7gAUUVrz2xWQeI/p5t7c= Received: by mail-io1-f41.google.com with SMTP id f19so13884292iog.5; Tue, 14 Apr 2020 09:35:54 -0700 (PDT) X-Gm-Message-State: AGi0PuYVm1w10wEKYMqzvXSNM7tXzR+stnIA+5vZMi4c/ohDVVijFtxQ hMdzjkVAqDxiibbGty+vhHfzj2K0f4ZyDEnEV+g= X-Google-Smtp-Source: APiQypKEUymaYVGzyU19WNpTfuxoJxKR5JcXxbfn4/yW0MOIADW8ku2Y9fFXDHocj0oRicKhmLLiQugDVgqQVYF0p3Q= X-Received: by 2002:a02:7785:: with SMTP id g127mr21321483jac.134.1586882154307; Tue, 14 Apr 2020 09:35:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Tue, 14 Apr 2020 18:35:43 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Kernel V5.7-rc1 doesn't boot (EFI?) To: =?UTF-8?Q?J=C3=B6rg_Otte?= Cc: linux-efi , Arvind Sankar , Linux Kernel Mailing List , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Apr 2020 at 18:32, J=C3=B6rg Otte wrote: > > Am Di., 14. Apr. 2020 um 12:50 Uhr schrieb Ard Biesheuvel : > > > > On Tue, 14 Apr 2020 at 12:40, J=C3=B6rg Otte wrote= : > > > > > > Booting my notebook with kernel V57-rc1 I get following > > > display: > > > > > > exit_boot() failed! > > > efi_main() failed! > > > StartImage failed: Buffer Too Small > > > > > > Booting Kernel V5.6 works well. > > > > > > From dmesg (kernel V5.6): > > > efi: EFI v2.31 by Phoenix Technologies Ltd. > > > efi: ACPI=3D0xdcffe000 ACPI 2.0=3D0xdcffe014 SMBIOS=3D0xdce80000 = RNG=3D0xdc3cd198 > > > efi: seeding entropy pool > > > efi: [Firmware Bug]: Invalid EFI memory map entries: > > > efi: mem47: [Reserved | | | | | | | | | | | | > > > | ] range=3D[0x0000000000000000-0x0000000000000000] (invalid) > > > efi: mem48: [Reserved | | | | | | | | | | | | > > > | ] range=3D[0x0000000000000000-0x0000000000000000] (invalid) > > > efi: mem49: [Reserved | | | | | | | | | | | | > > > | ] range=3D[0x0000000000000000-0x0000000000000000] (invalid) > > > efi: mem50: [Reserved | | | | | | | | | | | | > > > | ] range=3D[0x0000000000000000-0x0000000000000000] (invalid) > > > efi: mem51: [Reserved | | | | | | | | | | | | > > > | ] range=3D[0x0000000000000000-0x0000000000000000] (invalid) > > > efi: Removing 5 invalid memory map entries. > > > > > > > Thanks for the report. > > > > Can you try booting with efi=3Dno_disable_early_pci_dma passed via the > > kernel command line? [*] > > > Yes, that works! > > > If that does not help, can you try to reproduce with this branch? > > > > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=3Def= i/urgent > > Should I give that branch a try anyway? > Your test proves that BSS is not being cleared correctly, so I have the answer I was looking for. However, I would appreciate it if you could test that branch, just to double check. Thanks, Ard.