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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE763CD4F49 for ; Fri, 22 Sep 2023 10:12:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229720AbjIVKNB (ORCPT ); Fri, 22 Sep 2023 06:13:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229605AbjIVKM7 (ORCPT ); Fri, 22 Sep 2023 06:12:59 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28E0218F for ; Fri, 22 Sep 2023 03:12:52 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qjd9R-0004p2-AR; Fri, 22 Sep 2023 12:12:45 +0200 Message-ID: <08a432e0-4e16-41a6-bad6-e6a51ea34a97@leemhuis.info> Date: Fri, 22 Sep 2023 12:12:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: kexec reboot failed due to commit 75d090fd167ac Content-Language: en-US, de-DE To: "Kirill A. Shutemov" , Linux regressions mailing list Cc: Dave Young , Ard Biesheuvel , Kees Cook , Aaron Lu , Bagas Sanjaya , Borislav Petkov , Linux Kernel Mailing List , kexec@lists.infradead.org, Tom Lendacky , x86@kernel.org References: <20230907131409.masxz42ik6u456qp@box.shutemov.name> <20230908060230.GA283801@ziqianlu-dell> <20230908123233.dpbpohgrbyyxekzk@box.shutemov.name> <202309080856.F066F92C98@keescook> <20230909113209.actnan6hczrclz2d@box.shutemov.name> <20230911145707.hslq47ngknshrlyk@box.shutemov.name> <20230913142410.dfqsg3l5v44mr5j3@box> <91daa8b6-57c2-424f-8c6c-647e05f2a8c9@leemhuis.info> <20230921160325.g5ei2gfads6deb32@box.shutemov.name> From: "Linux regression tracking #update (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: <20230921160325.g5ei2gfads6deb32@box.shutemov.name> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1695377572;6db91bda; X-HE-SMSGID: 1qjd9R-0004p2-AR Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21.09.23 18:03, Kirill A. Shutemov wrote: > On Thu, Sep 21, 2023 at 11:54:15AM +0200, Linux regression tracking (Thorsten Leemhuis) wrote: >> On 13.09.23 16:24, Kirill A. Shutemov wrote: >>> On Mon, Sep 11, 2023 at 05:57:07PM +0300, Kirill A. Shutemov wrote: >>>> On Mon, Sep 11, 2023 at 10:56:36PM +0800, Dave Young wrote: >>>>>> early console in extract_kernel >>>>>> input_data: 0x000000807eb433a8 >>>>>> input_len: 0x0000000000d26271 >>>>>> output: 0x000000807b000000 >>>>>> output_len: 0x0000000004800c10 >>>>>> kernel_total_size: 0x0000000003e28000 >>>>>> needed_size: 0x0000000004a00000 >>>>>> trampoline_32bit: 0x000000000009d000 >>>>>> >>>>>> Decompressing Linux... out of pgt_buf in arch/x86/boot/compressed/ident_map_64.c!? >>>>>> pages->pgt_buf_offset: 0x0000000000006000 >>>>>> pages->pgt_buf_size: 0x0000000000006000 >>>>>> >>>>>> Error: kernel_ident_mapping_init() failed >>> [...] >>>> The problem is not limited to unaccepted memory, it also triggers if we >>>> reach efi_get_rsdp_addr() in the same setup. >>>> >>>> I think we have several problems here. >>> [...] >>>> Any comments? >>> >>> I struggle to come up with anything better than increasing the constant to >>> a value that "ought to be enough for anybody" ©, let's say 128K. >>> >>> And we can eliminate logic on no-KASLR vs. KASLR vs. KASLR+VERBOSE_BOOTUP. >>> >>> Objections? >> >> Apparently not, as there was no reply since then (which is why I show up >> here, as it looked like fixing this regression stalled). > > It has been fixed in upstream by the commit f530ee95b72e > ("x86/boot/compressed: Reserve more memory for page tables") Ahh, great, thx for letting me know. That commit sadly missed a Link: or Closes: tag to the regression report, which Linus and the docs ask for (and regression tracking relies on), then it would have noticed this automatically. Whatever, things happen, thx again. #regzbot fix: f530ee95b72e Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.