Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1161692pxk; Thu, 10 Sep 2020 08:28:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJN+nPA73d+iAWEE9IyREL6SGQ3VbjnJX3WKYVUVSzvi13KJ8T/vO0LRLjsYCT2Hc89BZc X-Received: by 2002:a17:906:6007:: with SMTP id o7mr9842577ejj.550.1599751714302; Thu, 10 Sep 2020 08:28:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599751714; cv=none; d=google.com; s=arc-20160816; b=Oke93ItNB4j3tndBV0yVm0ik0BKay3W4oVjLlUYOhMfewzb1GGLy3vs0xBMmShXC2p O4ZByb/GU0NzUf7SVVGLIuUqd7L/kJ9//Ewf/jE3u4QblsgilvljCk9987LxkBwObH+P iZhel7tu7fMUzVvSBNzIVibVGRA++ekJIa1ZhgoI0e7IFoset/opYGCRF4z92uvCXCYj DdLH2cGMk10prnsXwXxTy+4JbjKbWoN4kKz0pURAgSa+ByrRC59dnTOrfskHqQIk6z36 YXgCA4k9vBnce9kJUnvuaO53+ozEhrIQNVOao1L2fKuaQNKRJJsQk1NDmHq8Eg6U75MG Cf2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=mfDlbY7gY4hRLiwC4XEB9WwxJ07KUMv374l5cGr0Et8=; b=nqs2zsylut7xJyacVhNYGCZ2i86X9Ko5fxqBkm36kgtcRjXaYwWJ0cS5m6azW9eu8J p23o8ux9WmFdGXNp8a58JIj5vIqfYgr2EevsU8plyFatpc+4aB4lEQFVoEJcumPCG6Ya PinLv+Cs+8QViwSKvmTaR8iobcfJwLoF/aaVYGvWWy8t+y6fyQ3Jc3NqtvUZObOVq0D6 iho+Vq8xbdQu8v3ezUnTGJ2nBMOh94dml/LtLupfZeluSoDXtn4+Z/GEqAXg0xQaPLPx mX1kPoT7xXZuCM/9OJo/Lh5++8873uifkrgO76bemt1PGwzJzE4SLYoDATwafKPFBOWf 4Qsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=e+KAOP7d; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si3917747ejq.390.2020.09.10.08.28.09; Thu, 10 Sep 2020 08:28:34 -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=e+KAOP7d; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731284AbgIJP0g (ORCPT + 99 others); Thu, 10 Sep 2020 11:26:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730896AbgIJOwg (ORCPT ); Thu, 10 Sep 2020 10:52:36 -0400 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66E21C061795; Thu, 10 Sep 2020 06:47:35 -0700 (PDT) Received: by mail-oi1-x244.google.com with SMTP id d189so5915301oig.12; Thu, 10 Sep 2020 06:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mfDlbY7gY4hRLiwC4XEB9WwxJ07KUMv374l5cGr0Et8=; b=e+KAOP7dzfcJ2TWuzTweheFwhiAtewKaO/z6qX6xiy2qvPz2R33Aq8KMRlJjNhB6NA t7/7/JNvSTNyEIkrXhMykuvx6pE3AVSA3UwoeT+fylozQmXxw3YCthVYmP6YS4PBwB8O mT2Ia28yh/TFGSkbQExASZJ9YoGu4cgSGxOI7Jihfw7vO01g3sDWxL72/zGaI4SdylsC bnp4NAUCXQsThn6pSeFOVsDb0ZW+yG4RtgsatNfYYri8FS1twbwHF40jYXHvy1wQtymM pDwMrvo3gEkV0cDHnccNwvZ+xsIJjUCZVajw5M3JIE74PNoRTmZkeBv8030wwOna39+7 yO+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=mfDlbY7gY4hRLiwC4XEB9WwxJ07KUMv374l5cGr0Et8=; b=GofuXsypHn2UXtTU28U9kOBW36998d8ZQ86j68JwvEcdlTMFXjNZdU/F3hu88tRI1Y IcZGVFrQ8CliI32J60AiqDx1Ek1sTbOIvaUcwLMD8/1H0XL5rpXIqOhUWzDTxSTreRpe kLcpz2I/WQO4CkGVvXBaAXdJuDtmsq4fy9lWBuUAz5kAJEmF2DyKwvvZtGGgVhEXdwKL YaOPIpnLMHiCTLcQ4XwpNIcfN9URS4kP36LM2Jlso5gghDOQTVf2TnIOKYDhmMxQkn61 tmG5cBA72v64fGbo0zV/v+uzYuRbpKiS5QUH9vEZsM6vDVRZzvaxX9fU1z8qK0GVLaqR jmJQ== X-Gm-Message-State: AOAM532X8RsfdUtuO29pWcb8/Q2/NI/OK7uHrsfq428nl74gkH74YgyC AM3tdV1HuMsaP7upHAm+NRsJrYHZ6LY= X-Received: by 2002:aca:d845:: with SMTP id p66mr30509oig.47.1599745654501; Thu, 10 Sep 2020 06:47:34 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id n37sm824678ota.20.2020.09.10.06.47.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Sep 2020 06:47:34 -0700 (PDT) Subject: Re: [PATCH 5.8 000/186] 5.8.8-rc1 review To: Geert Uytterhoeven Cc: Greg Kroah-Hartman , Linux Kernel Mailing List , "torvalds@linux-foundation.org" , Andrew Morton , Shuah Khan , patches@kernelci.org, Ben Hutchings , lkft-triage@lists.linaro.org, stable , Masahiro Yamada , Michal Marek , linux-kbuild References: <20200908152241.646390211@linuxfoundation.org> <20200909164705.GE1479@roeck-us.net> <20200909180121.GD1003763@kroah.com> <5ea4e73b-778d-e742-7ba7-f1cbe0307a0f@roeck-us.net> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9p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T0VLXtHULdlzg8VjDnFZ3lfz5PWEOeIMk7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= Message-ID: <23b60a5d-1d21-7fd3-a125-29e564d5b753@roeck-us.net> Date: Thu, 10 Sep 2020 06:47:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/9/20 11:36 PM, Geert Uytterhoeven wrote: > Hi Günter, > > On Wed, Sep 9, 2020 at 8:24 PM Guenter Roeck wrote: >> On 9/9/20 11:01 AM, Greg Kroah-Hartman wrote: >>> On Wed, Sep 09, 2020 at 09:47:05AM -0700, Guenter Roeck wrote: >>>> On Tue, Sep 08, 2020 at 05:22:22PM +0200, Greg Kroah-Hartman wrote: >>>>> This is the start of the stable review cycle for the 5.8.8 release. >>>>> There are 186 patches in this series, all will be posted as a response >>>>> to this one. If anyone has any issues with these being applied, please >>>>> let me know. >>>>> >>>>> Responses should be made by Thu, 10 Sep 2020 15:21:57 +0000. >>>>> Anything received after that time might be too late. >>>>> >>>> >>>> Build results: >>>> total: 154 pass: 153 fail: 1 >>>> Failed builds: >>>> powerpc:allmodconfig >>>> Qemu test results: >>>> total: 430 pass: 430 fail: 0 >>>> >>>> The powerpc problem is the same as before: >>>> >>>> Inconsistent kallsyms data >>>> Try make KALLSYMS_EXTRA_PASS=1 as a workaround >>>> >>>> KALLSYMS_EXTRA_PASS=1 doesn't help. The problem is sporadic, elusive, and all >>>> but impossible to bisect. The same build passes on another system, for example, >>>> with a different load pattern. It may pass with -j30 and fail with -j40. >>>> The problem started at some point after v5.8, and got worse over time; by now >>>> it almost always happens. I'd be happy to debug if there is a means to do it, >>>> but I don't have an idea where to even start. I'd disable KALLSYMS in my >>>> test configurations, but the symbol is selected from various places and thus >>>> difficult to disable. So unless I stop building ppc:allmodconfig entirely >>>> we'll just have to live with the failure. >>> >>> Ah, I was worried when I saw your dashboard orange for this kernel. >>> >>> I guess the powerpc maintainers don't care? Sad :( >>> >> >> Not sure if the powerpc architecture is to blame. Bisect attempts end up >> all over the place, and don't typically include any powerpc changes. >> I have no idea how kallsyms is created, but my suspicion is that it is >> a generic problem and that powerpc just happens to hit it right now. >> I have added KALLSYMS_EXTRA_PASS=1 to several architecture builds over >> time, when they reported similar problems. Right now I set it for >> alpha, arm, and m68k. powerpc just happens to be the first architecture >> where it doesn't help. > > This is a generic problem, cfr. scripts/link-vmlinux.sh: > > # kallsyms support > # Generate section listing all symbols and add it into vmlinux > # It's a three step process: > # 1) Link .tmp_vmlinux1 so it has all symbols and sections, > # but __kallsyms is empty. > # Running kallsyms on that gives us .tmp_kallsyms1.o with > # the right size > # 2) Link .tmp_vmlinux2 so it now has a __kallsyms section of > # the right size, but due to the added section, some > # addresses have shifted. > # From here, we generate a correct .tmp_kallsyms2.o > # 3) That link may have expanded the kernel image enough that > # more linker branch stubs / trampolines had to be added, which > # introduces new names, which further expands kallsyms. Do another > # pass if that is the case. In theory it's possible this results > # in even more stubs, but unlikely. > # KALLSYMS_EXTRA_PASS=1 may also used to debug or work around > # other bugs. > Ah, that explains a lot. > Adding even more kallsyms_steps may help (or not, if you're really > unlucky). Perhaps the number of passes should be handled automatically > (i.e. run until it succeeds, with a sane (16?) upper limit to avoid > endless builds, so it can still fail, in theory). > Turns out it needs four steps. I prepared a patch to try up to 8 steps. We'll see if it gets accepted. Thanks, Guenter