Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp686449ybz; Wed, 15 Apr 2020 16:42:50 -0700 (PDT) X-Google-Smtp-Source: APiQypKFWdYKFw6LtzmwdcwIjjtb2/R/4NUHMx37/8CBXD7YAwQKA2v3gca5R5cjscSDtN2gt1hg X-Received: by 2002:a17:906:1845:: with SMTP id w5mr7074814eje.287.1586994169958; Wed, 15 Apr 2020 16:42:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586994169; cv=none; d=google.com; s=arc-20160816; b=ajtHZIZH0nW7W96irT0Z17iOE0kMvRQkTKOLa/e2bpCyKityh47MMjQ2pLzWmaBcyV Ltm3DuXOFqRq7nNkCBuOr8Fhs83r9//c1ZHbrqMKpZCM247+vZTx8vjGUP1CfoWy6b5A xdGfuu3ry9MjfrsSPLZwziKSpDeRGljfF99prFc46bXl581ddN/GFa14qRHFAO1/ZApT u++0XFnlIFOttMdwuGxlij1Bh0FNuNGcNa92tcrUiaXnJ3CljMRyea+1e/hGRmaWr7Yu fL7UkiLS6c1vJi24EdDDQYiFHTE491AD0I6AK3JuiQzXkRhuKGv9Iz0WpRill+awiTa1 w35g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mea28piwCzgRuQ3mfdsmk7Ai20oILdWCske3DP+bUC0=; b=Dy2YHeB9lP36zNhhyEppKhkukYo8sZoPciR+UCbXuTrIrUuY9jay8a6xPhXLCbVx+p ASQoOfep0bnaT+Egf5aFfOhO+WqbLJfYsUkQArulXFlGX6Mlr4KBXptuOgNDupaVbTkl M80j9idXfYFcNhHLjAL873mAilSvHcKLxQ5K+YyCF4Yk8E6RlX0tGfoAcupJMRkGY5F8 xa5AevP3OHS3X3Xj52cuEH+BM5VN6f+we4gppOmu2zACDjgtpP0Eys3WrjxZF5HKkTsX HkHTZCUSDvYS0C8Z2BbYENnIzhCG1YHoYYifXLW1srwH7aObM/vGRWuQEQV4X2ff6E7r PfmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eMorzzOf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z92si3587235ede.45.2020.04.15.16.42.26; Wed, 15 Apr 2020 16:42:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eMorzzOf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2635286AbgDOHpk (ORCPT + 99 others); Wed, 15 Apr 2020 03:45:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2635275AbgDOHpH (ORCPT ); Wed, 15 Apr 2020 03:45:07 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65EA8C061A0C; Wed, 15 Apr 2020 00:45:07 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id h9so17879871wrc.8; Wed, 15 Apr 2020 00:45:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=mea28piwCzgRuQ3mfdsmk7Ai20oILdWCske3DP+bUC0=; b=eMorzzOfrAaP7sksuzpfZg+IHXqttTLbtLhh2Xp4BLS8MlGL35hXWrQlaYXju1Hsks 3bscde2H23OC5O771jlYBwBUytFuYjArh/PX+q05qxiQBWc+q1/Yv6aWp8CS6KIza/Fi fUT8hjHaZNm7Wxuz6/a4Xh4dx3Jo4nvZDGSrgMn5V+6XeR8jp59TBw9w5eNqsTZ7NI5y bvo5jLupS35G4eP7tha//RzzvHnjggiLinELJ2rubqJApOcOOuqEVmg5EW+VK9yo+WI9 wFl1chztUtgy51mfch4JsWN1tIh8KFQfjyHLC2EAwMDz0Et+f7Fq6O+qTBQlYIgcxc79 xIpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=mea28piwCzgRuQ3mfdsmk7Ai20oILdWCske3DP+bUC0=; b=uDFVvkiCWA5iiiOVR2MaJ/syl8lOW1oezDa//yYri2Ul/GgGUBQD4xVhKruZglTipW 3WFp+2l181jnw68TSD/3CrAJs+7PWsrDWEbq7jZa1VrY9zblAeH526x6fQLwj3LHVfTG efan/LZaMfgy20bAzDHogxMdp8pM9kcsuvkuzY6lgLyHtuWK4yozdFy4FxrZiXtTuwkj e35ZcLd2EcfTVzfzZr/6akOK1s+xiV7LaDcBK6OxFmTmUFjy4nTZO2ebDM/Li4OlZiR6 D4vwiFX56s26d4kDFnjVb7qYINUF8na+ELNU6Fn9XvOLWwcHPf7h0FzTOmg/1vFm03ua izvw== X-Gm-Message-State: AGi0PuYew8uLbRkuk5b9InmOUhU8BGsEMTLRWU/3I7u1+FViPev8Jn1c UJjdOXUMt+iPoYK2Ml5U8R77uoXK X-Received: by 2002:adf:c188:: with SMTP id x8mr26374042wre.136.1586936706163; Wed, 15 Apr 2020 00:45:06 -0700 (PDT) Received: from gmail.com (54033286.catv.pool.telekom.hu. [84.3.50.134]) by smtp.gmail.com with ESMTPSA id a10sm22166232wrm.87.2020.04.15.00.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 00:45:04 -0700 (PDT) Date: Wed, 15 Apr 2020 09:45:03 +0200 From: Ingo Molnar To: Ard Biesheuvel Cc: =?iso-8859-1?Q?J=F6rg?= Otte , linux-efi , Arvind Sankar , Linux Kernel Mailing List , Linus Torvalds Subject: Re: Kernel V5.7-rc1 doesn't boot (EFI?) Message-ID: <20200415074502.GA111015@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ard Biesheuvel wrote: > On Tue, 14 Apr 2020 at 18:32, J?rg Otte wrote: > > > > Am Di., 14. Apr. 2020 um 12:50 Uhr schrieb Ard Biesheuvel : > > > > > > On Tue, 14 Apr 2020 at 12:40, J?rg 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=0xdcffe000 ACPI 2.0=0xdcffe014 SMBIOS=0xdce80000 RNG=0xdc3cd198 > > > > efi: seeding entropy pool > > > > efi: [Firmware Bug]: Invalid EFI memory map entries: > > > > efi: mem47: [Reserved | | | | | | | | | | | | > > > > | ] range=[0x0000000000000000-0x0000000000000000] (invalid) > > > > efi: mem48: [Reserved | | | | | | | | | | | | > > > > | ] range=[0x0000000000000000-0x0000000000000000] (invalid) > > > > efi: mem49: [Reserved | | | | | | | | | | | | > > > > | ] range=[0x0000000000000000-0x0000000000000000] (invalid) > > > > efi: mem50: [Reserved | | | | | | | | | | | | > > > > | ] range=[0x0000000000000000-0x0000000000000000] (invalid) > > > > efi: mem51: [Reserved | | | | | | | | | | | | > > > > | ] range=[0x0000000000000000-0x0000000000000000] (invalid) > > > > efi: Removing 5 invalid memory map entries. > > > > > > > > > > Thanks for the report. > > > > > > Can you try booting with efi=no_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=efi/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. I'll send efi/urgent to Linus within the next couple of hours, to get the fix to Linus: 105cb9544b16: ("efi/x86: Move efi stub globals from .bss to .data") Thanks, Ingo