Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2BF8C10F0E for ; Tue, 9 Apr 2019 17:54:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 80987206B7 for ; Tue, 9 Apr 2019 17:54:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726513AbfDIRyS (ORCPT ); Tue, 9 Apr 2019 13:54:18 -0400 Received: from mail.bugwerft.de ([46.23.86.59]:37334 "EHLO mail.bugwerft.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726383AbfDIRyS (ORCPT ); Tue, 9 Apr 2019 13:54:18 -0400 Received: from [192.168.178.170] (pD95EF7A7.dip0.t-ipconnect.de [217.94.247.167]) by mail.bugwerft.de (Postfix) with ESMTPSA id 14ADE2A9DC0; Tue, 9 Apr 2019 17:52:39 +0000 (UTC) Subject: Re: 5.1.0-rc4: Oops in __rpc_execute() when trying to boot from NFS To: Trond Myklebust , "bfields@fieldses.org" , "linux-nfs@vger.kernel.org" , "jlayton@kernel.org" Cc: "linux-kernel@vger.kernel.org" References: <0412f79c-61a8-bfa4-26ce-1083a59d31e8@zonque.org> <4f4bb4a9-f752-f9f4-41cd-5c41d6191308@zonque.org> <7bdd83d7c2442d8096612ad3f821af556dd96015.camel@hammerspace.com> From: Daniel Mack Openpgp: preference=signencrypt Autocrypt: addr=daniel@zonque.org; prefer-encrypt=mutual; keydata= mQINBFJqOksBEADTAqNa32jIMmtknN+kbl2QCQ+O8onAyfBXW2+ULBy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LiT/v+/1U0AEQEAAYkCHwQYAQIACQIb DAUCV6sTCAAKCRC6YTEa/GNUJHw5D/4luZ1GFCPW8kqkmpBUFTVjZqOhhT+z0KnrBsisJSOH VR8MraCDWHo/u4PTgqwF38PvyeZ4jXTXv+5FYjN6sJ8ydnfsUOORoM/KUafXmAug3zafqFd9 CzELh8FutTRYncoJMmL2HAbHqQRZlcFj6mKYFKqN+pA3tPbl3QpDORxMzeSn0J4sQeaVkIw2 inqYKTW+7vMi9/toMBNPEJPgSG77opYcEVjtDCPeAermjt6Ypqb0NyvE7zHLXpw3zcIA+Zge 0VIIW5bXco8520SJfDCKlS3IJlxOGgLVbcWwMayhO8cw8kWHg4KqjWQPvfsuhALGUidfhC3h L/o+2sOPZXT09OIR4arkuWH7xPF2X+L13TJ52OqVt0ERX5D9/7AwTArpCK6Vr3hybscBwFdW DduIc9DAFQ4AzQuURhAP2wHBmayrVDdtwtZVxyO6b6G2brkdbCpFEzeg66Q1jp/R5GXgNMBi qkqS7nnXncMTx6jmMAxHQ3XoXzPIZmBvWmD9Z0gCyTU6lSFSiGLO7KegnaRgBlJX/kmZ7Xfu YbiKOFbQ6XDctinOnZW5HFQiNQ+qkkx/CEcC1tXPY+JMjmA43KfCtwCjZbmi/bmb1JHJNZ9O H/iGc7WLxMDmqqBiZcQMQ0fcvv9Pj/NM8qNTDPtWeMwHV1p5s/U9nT8E35Hvbwx1Zg== Message-ID: <78dbd13a-9a91-9a67-eaa6-ea7f0190898b@zonque.org> Date: Tue, 9 Apr 2019 19:54:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: <7bdd83d7c2442d8096612ad3f821af556dd96015.camel@hammerspace.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 9/4/2019 6:55 PM, Trond Myklebust wrote: > On Tue, 2019-04-09 at 18:25 +0200, Daniel Mack wrote: >> On 8/4/2019 8:51 PM, Trond Myklebust wrote: >>> On Mon, 2019-04-08 at 19:01 +0200, Daniel Mack wrote: >>>> Hi, >>>> >>>> I'm seeing the Oops below when trying to boot 5.1.0-rc4 on an ARM >>>> PXA3xx >>>> platform. v5.0 did not show this effect with the same cmdline. >>>> >>> Please do bisect if that is at all practical. I'm having trouble >>> interpreting this Oops. >> >> Here you go: >> >> 009a82f6437490c262584d65a14094a818bcb747 is the first bad commit >> commit 009a82f6437490c262584d65a14094a818bcb747 >> Author: Trond Myklebust >> Date: Sat Mar 9 12:07:17 2019 -0500 >> >> SUNRPC: Micro-optimise when the task is known not to be sleeping >> >> In cases where we know the task is not sleeping, try to optimise >> away the indirect call to task->tk_action() by replacing it with >> a direct call. >> Only change tail calls, to allow gcc to perform tail call >> elimination. > > Ah... It looks like we explicitly turn off tail call optimisation in > some ARM configs, so this might be a stack overflow. > > Does your config file have THUMB2_AVOID_R_ARM_THM_JUMP11 set? Nope. I don't even have THUMB2_KERNEL. In the meantime, I tried to trace that with some printks, but the bug appears evasive, and the backtrace changes as soon as I modify the timing. Hmm. Happy to test patches if you have any idea. Thanks, Daniel