Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2089958rwa; Mon, 22 Aug 2022 01:44:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR4TE3TcMV61Y4YoK1PZQms6AC4pgfQ1vG45P4qYHMcji/O5q/ASOQZ3nlpPYjSSiwSgc9EW X-Received: by 2002:a17:907:2cf6:b0:73d:63bf:efcc with SMTP id hz22-20020a1709072cf600b0073d63bfefccmr6244460ejc.239.1661157847926; Mon, 22 Aug 2022 01:44:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661157847; cv=none; d=google.com; s=arc-20160816; b=AofQzGCnoFDOiYoG0aEyIlrA2+HmsuKFENUPRUhyUshKrE7DVi2zL+PG3Kid4u3d6M 7vx3PKbDFr2C5hZztroEj4T4UARrP5tUvMQRGoanaW8BiadchIFnV2qDsdCmDOAqDJJ3 Gl52Yzx+5PpZHXUQzH8X0kKu34ll4Ue3HvyZbm5+f8tMSs5UTIg7oCspMJIYZZEZQmvk sJsHjgngaAh2hzcqqgAmAckiXQ3F8sYYEUaIhmX9CmIJVwlHZzqigH3H6gR1foUJWHgV 2bhF/L1RU+lGtXRMeAama6mYhIIBT2Y4LahUa9YvZfTi1L/RZTSC3PV8SfvEdfToO+s/ IjXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=V7OwjhszLT7BFEIvaeA9yrsZ6HBHXax+ZK9vxDzjn1k=; b=xfTpuKKILyUyN1X9b6vpZNXesPPNXKV0wFNPJR87VxCia38kFm3wPcDk8pG7/A4lSf tD9b6BUSF9VatTbSWhBpm1UFvaDRq4xGElhofFtR75CWopazmn75D/gv5qpf7YS1Hbmf rRcGvD4Dfsfj1TSlR/HpXrmMeSPLm30eGCyrkY3JJLpZICeGTqonbQSRIzCOwrMN9Pa9 5tmg9TMtVUnhNob8rOZ9i8DkvrI6WS6FqfdJkN9MGxPDQrWkmE4TYg0x06WucziHddLL YmuHcyMuwl97CkV/DJ74dmU9oKEV3C8XBQ3Vn9VD1gCs9CGM+3nrPnb8zzrL9IVPS4bE Z08g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=V+lcO0Vq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd44-20020a17090796ac00b00730d207a05esi9696526ejc.32.2022.08.22.01.43.42; Mon, 22 Aug 2022 01:44:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=V+lcO0Vq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233437AbiHVHuD (ORCPT + 99 others); Mon, 22 Aug 2022 03:50:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233364AbiHVHt7 (ORCPT ); Mon, 22 Aug 2022 03:49:59 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCF52165B3; Mon, 22 Aug 2022 00:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1661154595; bh=OU34lRpO/1OTDjZ9Diuvg5jc+I14siphOEscXix5Otk=; h=X-UI-Sender-Class:Date:To:Cc:References:From:Subject:In-Reply-To; b=V+lcO0VqLmjQGTx03pqc3q7B/6LGyJ4CETKflXzSBuBXD6Uh/Zk1U6jbwD46eRAmC d1TF6oyqzoyVyqD/FWoqs5mlLU9sJiANtf5yDG8r02llJ7iQynPa0DpKyuq8DtT1ni 2DEJC/f7CsU0x6VQzldWzG3bQ2rf0HSnVwF5ri1k= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [0.0.0.0] ([149.28.201.231]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MD9XF-1oYWVH2NFp-0097IY; Mon, 22 Aug 2022 09:49:55 +0200 Message-ID: <8aff5c17-d414-2412-7269-c9d15f574037@gmx.com> Date: Mon, 22 Aug 2022 15:49:51 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Content-Language: en-US To: Greg KH Cc: stable , "linux-btrfs@vger.kernel.org" , Linux Kernel Mailing List , linux-x86_64@vger.kernel.org References: <2d6012e8-805d-4225-80ed-d317c28f1899@gmx.com> <1ed5a33a-b667-0e8e-e010-b4365f3713d6@gmx.com> From: Qu Wenruo Subject: Re: LTS kernel Linux 4.14.290 unable to boot with edk2-ovmf (x86_64 UEFI runtime) In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:CnIpYoLCgBjfRiNPGj4hRiKW6uk13KaR20i+1Yhg/1MIpBe9iQa xVNH0d3Pzb8D4PHfTZEsx2d7kn7FEuOIdAOCO8TJFRd89FpuQyWT+3t0F59sYaeTpsFvFGz jbNHh4KnGgsFUknPeNjigbydyGiwkzm6lK+LItqPHmVcAh9PLUsEMuzZ8YxB6Ca5iGHlG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cs6bXimqTpiKeHWamarxt xU8En9L0rxWZvLY3+wZeDhLivKKP3wGQZtpMSw4oN2g5VVNDYRRCwjzzJNOLO+wKIHNxV2c4n xfd10OIXysbWap1ZB6pTDDMSj2Hkx0qiYnfZ7zPbOu5FA/AKt2GEEcoCg== X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/8/22 15:33, Greg KH wrote: > On Mon, Aug 22, 2022 at 03:24:53PM +0800, Qu Wenruo wrote: >> >> >> On 2022/8/22 14:25, Greg KH wrote: >>> On Mon, Aug 22, 2022 at 09:15:59AM +0800, Qu Wenruo wrote: >>>> Hi, >>>> >>>> When backporting some btrfs specific patches to all LTS kernels, I fo= und >>>> v4.14.290 kernel unable to boot as a KVM guest with edk2-ovmf >>>> (edk2-ovmf: 202205, qemu 7.0.0, libvirt 1:8.6.0). >>>> >>>> While all other LTS/stable branches (4.19.x, 5.4.x, 5.10.x, 5.15.x, >>>> 5.18.x, 5.19.x) can boot without a hipccup. >>>> >>>> I tried the following configs, but none of them can even provide an >>>> early output: >>>> >>>> - CONFIG_X86_VERBOSE_BOOTUP >>>> - CONFIG_EARLY_PRINTK >>>> - CONFIG_EARLY_PRINTK_EFI >>>> >>>> Is this a known bug or something new? >>> >>> Has this ever worked properly on this very old kernel tree? If so, ca= n >>> you use 'git bisect' to find the offending commit? >> >> Unfortunately the initial v4.14 from upstream can not even be compiled. > > Really? Try using an older version of gcc and you should be fine. It > did build properly back in 2017 when it was released :) Yeah, I'm pretty sure my toolchain is too new for v4.14.0. But my distro only provides the latest and mostly upstream packages. It may be a even worse disaster to find a way to rollback to older toolchains using my distro... Also my hardware may not be well suited for older kernels either. (Zen 3 CPU used here) In fact, I even find it hard just to locate a v4.14.x tag that can compile= . After some bisection between v4.14.x tags, only v4.14.268 and newer tags can even be compiled using latest toolchain. (But still tons of warning, and tons of objdump warnings against insn_get_length()). I'm not sure what's the normal practice for backports to such old branch. Do you stable guys keep dedicated VMs loaded with older distro just for these old branches? If so, any recommendation on those kinda retro distro? Thanks, Qu > > thanks, > > greg k-h