Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2064508rwa; Mon, 22 Aug 2022 01:08:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR6hOf4U7lxrnpz6TAp58PUiGvK6RwSVnMQLagjv0Gp4l41pDJzDkyKi6LO3ws9DTF8zSwEc X-Received: by 2002:a05:6402:3694:b0:446:93e0:eed3 with SMTP id ej20-20020a056402369400b0044693e0eed3mr5644350edb.323.1661155694086; Mon, 22 Aug 2022 01:08:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661155694; cv=none; d=google.com; s=arc-20160816; b=MF97LFYTzVNdu45UUxhahJfYenW7bACou2+Va/lk6/0TsCA5JjHPKMmkuHOR8Gnw0Y qDON27VH0JjYeH8N1rjg0qkrmRH5P7ihhfj4bLlTolSSI0ttMqyqY8i9li3UAgY3yeD+ pQfG8sDH+wl6c+PNboRyvXKnSBy/Y072vPY1d1zYiOq16dB7AsYTRzHiTEItIKn3fLfF Xk16XSxyCHspfRqFBTOWCwKEIPRwSM33+m37UKvnrdgjYL1aM4Qfc3rHTAQOAceEuk76 AhA2qSve62bYAYtH+3GIqrzGWagftfPqP/M5XHOe3g4L5+l8wW7EOd5p5ShpX58/rQsc idLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=LB0pgFiLnUatL+zVNfmFDHLxyNCxPZYu6WE40ct+T8s=; b=gNeA7MNv+ahJdcpBX6W8W+1EhcF/6cTgVrRo0kk958nBfsAC2vL9aQ3U2cKipmB1N3 FK9zPPq3s7PV5yojZ8O82QsOMzn/+Ect1RaqATg+CJ9hAeBheIQsM4v9n5i3RgTbu//O h5f+Mt9omp2EpYlreJBIrddE7tNoqEwYj/1kc0V2h//bIA0YyQY781iD+Jlv+Fb+wh/M WFl1c0mJbW1MR1IN4G0xo2HIMis1dewkkNWUGdL4tLieQVCAS8K/3S44fnXTqDnL+UCl +rv+vVIZpoCmqtqcUfXFMaLJDHPGLjNqZHon4xnAc9PevcJZws+jKOv6UU6c9blVpOUR /Phw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb33-20020a1709077ea100b0073d6c50d34esi4204693ejc.732.2022.08.22.01.07.48; Mon, 22 Aug 2022 01:08:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233645AbiHVIFk (ORCPT + 99 others); Mon, 22 Aug 2022 04:05:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232785AbiHVIFC (ORCPT ); Mon, 22 Aug 2022 04:05:02 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6C12B10AE; Mon, 22 Aug 2022 01:04:59 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 27M84u0h017804; Mon, 22 Aug 2022 10:04:56 +0200 Date: Mon, 22 Aug 2022 10:04:56 +0200 From: Willy Tarreau To: Qu Wenruo Cc: Greg KH , stable , "linux-btrfs@vger.kernel.org" , Linux Kernel Mailing List , linux-x86_64@vger.kernel.org Subject: Re: LTS kernel Linux 4.14.290 unable to boot with edk2-ovmf (x86_64 UEFI runtime) Message-ID: <20220822080456.GB17080@1wt.eu> References: <2d6012e8-805d-4225-80ed-d317c28f1899@gmx.com> <1ed5a33a-b667-0e8e-e010-b4365f3713d6@gmx.com> <8aff5c17-d414-2412-7269-c9d15f574037@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8aff5c17-d414-2412-7269-c9d15f574037@gmx.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 Mon, Aug 22, 2022 at 03:49:51PM +0800, Qu Wenruo wrote: > 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. Then there's something odd in your use case. Old kernels are aimed at those who need to have systems on which nothing changes. It's particularly strange to be stuck in the past for the kernel but to continually upgrade userland. Most often it's the opposite that's seen. Regardless, if you need an older compiler, just use these ones: https://mirrors.edge.kernel.org/pub/tools/crosstool/ They go back to 4.9.4 for x86, you'll surely find the right one for your usage. I've long used 4.7.4 for kernels up to 4.9 and 6.5 for 4.19 and above, so something within that area will surely match your needs. > It may be a even worse disaster to find a way to rollback to older > toolchains using my distro... No, using a prebuilt toolchain like those above is quite trivial and it will avoid messing up with your local packages. That's the best solution I can recommend. Willy