Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2251609rwa; Mon, 22 Aug 2022 05:00:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR5l58EqjdJ2irf3r5x+tYAZvMmOR8pNZGXKHxAyHehsDPisCX8CRb3b9sEHRUNJJYZWTS4/ X-Received: by 2002:a05:6402:514f:b0:445:e158:9eb7 with SMTP id n15-20020a056402514f00b00445e1589eb7mr15639116edd.322.1661169609391; Mon, 22 Aug 2022 05:00:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661169609; cv=none; d=google.com; s=arc-20160816; b=seC0yqjLjMpxxLG7PKZKe8gwrpijymNBf4sXrIJZD3p1QxhFlpWrh/V1brVjhhzYkf LwEvADlU+mUVN0rRdKd+cM0NpHoUiISxV1On2hQ9rdG7GJUhzRU3h3NLTCpFJMoQmVB+ iLbZsPrD5hBWU39h7Nhg6sf9M4Gbwyi3WzfCpom+FGbLK3tUzbsMmRKE+XKw2rROCwn3 LKcf0EP5fs1me48X/tuu+/wM7CdQIreYABts35mied/Z8JqWelBhW6gLBPv6LIjA5u/D YRsKQHzhdMQqWjk1ePgGpEYt3GlJHgbOOOpUoFFEntzl2/hDlTlchJ4QJG5lOJkVkEAd paPg== 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=nbKUAXdJzyFATfwJeodMA38sxk0wE3qdbRW4hKLT1rU=; b=SUdKCZA+cE0ZfXp08UBy+1hBNFGxQRqOYj1TtrAiU4QU5+X1kAU5AVc+LlRcZMlGGV caI7/oVnBFOhusNwL/wNSheDZwrmgCOwCgaRt+jzrmVUra9/qPtf5o+IEiMmBCbUh1gS OChzyVp5RnV6jnevwetnM+9ag/0rS74aEa8/H3OU8vH/3qCiylDCywT4oorAihmeBkXv H6cecyvNdHL2Ym7RoSwIMB5zuAWnErmLb2JbQEnMTB8NmRI3a3Qrh2M1xQKH0DRlpVTm NmiK9bTK9sjQ12zPscYuI4bbJPgT6zBTbpqjfWWXfhG7+kVZEcqbwyM6xMQjecSc8xMp bKvQ== 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 s12-20020a1709064d8c00b00732fce8c673si3982482eju.883.2022.08.22.04.59.43; Mon, 22 Aug 2022 05:00:09 -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 S234547AbiHVL6U (ORCPT + 99 others); Mon, 22 Aug 2022 07:58:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234444AbiHVL6S (ORCPT ); Mon, 22 Aug 2022 07:58:18 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1E069286; Mon, 22 Aug 2022 04:58:12 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 27MBwBf8019247; Mon, 22 Aug 2022 13:58:11 +0200 Date: Mon, 22 Aug 2022 13:58:11 +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: <20220822115811.GE17080@1wt.eu> References: <2d6012e8-805d-4225-80ed-d317c28f1899@gmx.com> <1ed5a33a-b667-0e8e-e010-b4365f3713d6@gmx.com> <8aff5c17-d414-2412-7269-c9d15f574037@gmx.com> <34793a7b-64e4-f1cb-b84e-5804b4f6fac3@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34793a7b-64e4-f1cb-b84e-5804b4f6fac3@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 07:43:18PM +0800, Qu Wenruo wrote: > Tried to compile gcc10 from AUR, which failed to compile. > > > Anyway, thanks to the advice from Willy, I got the pre-built crosstool > (gcc 7.5) set up, with some small tweaks like disabling > CONFIG_RANDOMIZE_BASE to workaround the RELOCS failure, it at least > compiles for v4.14.0. > > Although there is still warning from test_gen_len: > > Warning: ffffffff818158cc: 0f ff e9 ud0 %ecx,%ebp > Warning: objdump says 3 bytes, but insn_get_length() says 2 > Warning: arch/x86/tools/test_get_len found difference at > :ffffffff818159b0 Strange, sounds like a binutils issue though I could be wrong. > And unfortunately v4.14 still fails to boot, even with GCC 7.5, which > provides an almost perfect (except above wanrings) build. > > I also tried to reduce the CPUid, from host-passthru to qemu64, and > rebuild, no change (same test_get_len wanrings, same boot failure). > > No clue at all now, would try older debian in a VM then. I suggest that instead of switching distros you should rather first try 4.14.0 to verify if there was a regression affecting your system. And if so, then a bisect will certainly be welcome. If it still does not work, then maybe a different distro could help, though I doubt it. Willy