Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9456266imu; Wed, 5 Dec 2018 05:13:21 -0800 (PST) X-Google-Smtp-Source: AFSGD/XwmYXLiOHUTrg3NgrVmqF9bXtjdgXVqodoFH9+YReSNTKRu0DAMGtmQBheG4SiSXQMZXPy X-Received: by 2002:a63:cc4e:: with SMTP id q14mr14100869pgi.291.1544015601210; Wed, 05 Dec 2018 05:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544015601; cv=none; d=google.com; s=arc-20160816; b=QSi47ozUkZ/K0aAD/GRS+X1z7gLLik7JC2cyKKPLHl84r3mrgKjJsCT209y5Zik/z4 NqfF4knuQrRmSKnI05OGTpXTwcOdoFDEXbHXV67BnMrfbvv6FZL6km1SAo6qrDu9sBY/ Ua8zQ10GHpNx8/6ovGrrHyRsDwAq4yQJiLIiGGuLOG4aDh1diVmPCq28RE7ChYdPMUDo p0GDQjm8UTmhAVowCgVqRt6dKlTA0DIO8ZdNzyTTHqFRlrzCxFcD0utlx63Vg8gxOhZQ xnNUTYyiL+gzn0kH2Trhx8bkNwo1pkoqZLCd+DKIgzE70Txi+9oOwhMRoDlGAwvBkARf dlaw== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=nO04V47plIgBxGgBXCBXqqWTGvkIDhE8ri93NlVxREs=; b=Cx6mYOAj/rU0MUB1U76RkA/0mS24idL1s+hASMAYLHVuv7WhA22RGPiOwgXbYjvCQz KPRA2PH5UWTzEo3y+YTrNw4X52mUex/rHEvV8vUsqbFr7bdA0+/e9WwK0KZRz8iTiGa6 t+p4ddAOMkvT48yrZIW3pESwKh/G/GcKccFcP5v/D4+q+ICxYJUrHIq9k8evbcZ23T9I UHpnIBECro/QFDITvV8p5iUnPaVGrn/JgpkTblppS1DxU9yAGeWJ37LCKDsEk2JCrcyG AVZXHCvpICmt0OMgNa1KImN3WIIApxId8jwML6XSUu6gKAFIGy4lnnsYb5ul8wg64Jv2 otgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i13si18211426pgj.199.2018.12.05.05.13.06; Wed, 05 Dec 2018 05:13:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727449AbeLENL5 (ORCPT + 99 others); Wed, 5 Dec 2018 08:11:57 -0500 Received: from mfdf018.ocn.ad.jp ([153.128.50.74]:56318 "EHLO mfdf018.ocn.ad.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726918AbeLENL4 (ORCPT ); Wed, 5 Dec 2018 08:11:56 -0500 Received: from mogw1832.ocn.ad.jp (mogw1832.ocn.ad.jp [153.138.214.98]) by mfdf018.ocn.ad.jp (Postfix) with ESMTP id C83A7B94A48; Wed, 5 Dec 2018 22:11:53 +0900 (JST) Received: from mf-smf-unw005c2 (mf-smf-unw005c2.ocn.ad.jp [153.138.219.79]) by mogw1832.ocn.ad.jp (Postfix) with ESMTP id ECA234A043F; Wed, 5 Dec 2018 22:11:50 +0900 (JST) Received: from ocn-vc-mts-201c1.ocn.ad.jp ([153.138.219.212]) by mf-smf-unw005c2 with ESMTP id UWvBgKrs3017KUWxygZjK0; Wed, 05 Dec 2018 22:11:50 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.167]) by ocn-vc-mts-201c1.ocn.ad.jp with ESMTP id UWxygUhJ963EtUWxygCBiS; Wed, 05 Dec 2018 22:11:50 +0900 Received: from localhost (p935071-ipngn2102funabasi.chiba.ocn.ne.jp [180.56.175.71]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Wed, 5 Dec 2018 22:11:50 +0900 (JST) Date: Wed, 05 Dec 2018 22:11:46 +0900 (JST) Message-Id: <20181205.221146.969453990167463340.anemo@mba.ocn.ne.jp> To: geert@linux-m68k.org Cc: trond.myklebust@hammerspace.com, linux-nfs@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: NFS/TCP crashes on MIPS/RBTX4927 in v4.20-rcX (bisected) From: Atsushi Nemoto In-Reply-To: References: X-Fingerprint: 6ACA 1623 39BD 9A94 9B1A B746 CA77 FE94 2874 D52F X-Pgp-Public-Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x2874D52F X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On Tue, 4 Dec 2018 14:53:07 +0100, Geert Uytterhoeven wrote: > I found similar crashes in a report from 2006, but of course the code > has changed too much to apply the solution proposed there > (https://www.linux-mips.org/archives/linux-mips/2006-09/msg00169.html). > > Userland is Debian 8 (the last release supporting "old" MIPS). > My kernel is based on v4.20.0-rc5, but the issue happens with v4.20-rc1, > too. > > However, I noticed it works in v4.19! Hence I've bisected this, to commit > 277e4ab7d530bf28 ("SUNRPC: Simplify TCP receive code by switching to using > iterators"). > > Dropping the ",tcp" part from the nfsroot parameter also fixes the issue. > > Given RBTX4926 is little endian, just like my arm/arm64 boards, it's probably > not an endianness issue. Sparse didn't show anything suspicious before/after > the guilty commit. > > Do you have a clue? If it was a cache issue, disabling i-cache or d-cache completely might help understanding the problem. I added TXx9 specific "icdisable" and "dcdisable" kernel options for debugging long ago. I hope these options still works correctly with recent kernel but not sure. Also, disabling i-cache makes your board VERY slow, of course. --- Atsushi Nemoto