Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3570176pxb; Mon, 9 Nov 2020 15:01:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxEgVzJtX0yYMmYsS1yLZbtWCdWZS5FZoFFoxNSeSnz3IqS2LhprM1NaAulNY7fJ6OlVGHX X-Received: by 2002:a05:6402:206:: with SMTP id t6mr17490866edv.291.1604962919494; Mon, 09 Nov 2020 15:01:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604962919; cv=none; d=google.com; s=arc-20160816; b=sc4aD3Zq1U2GnP+R6vmpZB8oeDJZH0om6GsPvFkKZw8DQwugvwzUF634OdbTvrXDhQ 6IRH1c4C46vxC7lKTimhPLVNuwxBMg0W+D2RxDiZm5Q5WBOrRgc0DSztG1zCUEZnYQE2 o0CqqSAmZ1vghkGdvgk8z3Rwf8E0NECMHppWFum1yw33vwNDhx84xXC7wuohxYR7h87f ivFNru4LLD4n8Nl7Rp1J3pllYLsvq6ROyE75kJRMUo4l+KkBW88F0GKuqyEDZxlxb1y9 Tcdo9R/o87by72Y0MXy4nA2hG78OAEj2oZ2Nee8/dvjb4+/K8NE99UAVhcOdqH5ILBwE wFgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=26bGyiolBVTYOKkFvZ8L4qIaiKoYXAxF9ntpoxzQf6g=; b=yY8K80Xj/E8jVxjsl9XBwFo7JzBWMhT1p4aefbHCFYh77Gyyn8mwkpuQxtSI6Ztbn6 qEryb9gj7OmST6lmvxB7vojGi3PwMCTnKBccKSxvPiYwyLudx4TN1d7eEp6FVYhWN/GH YHXxb5JneQTL1Vd13IXOBMWBeg4mj/HRFMmjPEVenXrl4vTphDCuipSZa5P78AdW/1V8 t9HqLjOiD957vUAiMQCwATA7mdWWpqJribvhG60y8wZvjbjyegeYb0t0/+oXsUSuzP+B E9+QBbeV5gbT+87z4jTs0FwZGsArtMwt9gJaoFvLk6M+jXWgU1u8KscmEOkpB9sJLZe1 hJjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=qlBlyTwq; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t6si8220129ejo.473.2020.11.09.15.01.34; Mon, 09 Nov 2020 15:01:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=qlBlyTwq; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729452AbgKIXBb (ORCPT + 99 others); Mon, 9 Nov 2020 18:01:31 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:41558 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729247AbgKIXBb (ORCPT ); Mon, 9 Nov 2020 18:01:31 -0500 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0A9Mrvqn158451; Mon, 9 Nov 2020 23:01:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=corp-2020-01-29; bh=26bGyiolBVTYOKkFvZ8L4qIaiKoYXAxF9ntpoxzQf6g=; b=qlBlyTwqxk4N5uZEBAiSjzvxAZAZJ7J/9H2FALQ6K+D0B5p2ISxfRktcbDA0uZxfVX9s NMiElD5QdjskXK6eFeem5aYUfowtO9iTJP9eoPprDYlWl4w7gY3hjuiayUzMH2es2Bbx R6bmq+HPDamxxkFmuZbWlyM5aECzB0JYhPxLCYWtRxpBxgmssQUpR2bqKxmbHuSjMdDQ qSOYlhoVaMQy8xSs7wczpB+r16ValRFR0MaF1V0630lb/J0sIgoL9w5ZZnKQV2wh1XEB gaXeQe46MlJx+W5e6utlrtZZ/klI8zkIsRJMqxxY0kNHmFpXlrakx0hbQ+YS0SNuNqxe iQ== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 34nkhkrqd9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 09 Nov 2020 23:01:26 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0A9MuKiS058175; Mon, 9 Nov 2020 22:59:25 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 34p5gvy7kg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 09 Nov 2020 22:59:25 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0A9MxPBa017813; Mon, 9 Nov 2020 22:59:25 GMT Received: from anon-dhcp-152.1015granger.net (/68.61.232.219) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 09 Nov 2020 14:59:25 -0800 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: kernel oops in generic/013 on an rdma mount (over either soft roce or iwarp) From: Chuck Lever In-Reply-To: Date: Mon, 9 Nov 2020 17:59:24 -0500 Cc: Linux NFS Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: <98BAC3EC-35C5-449F-8476-4B740632DC7C@oracle.com> References: To: Olga Kornievskaia X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9800 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=999 mlxscore=0 spamscore=0 phishscore=0 adultscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011090144 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9800 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 mlxlogscore=999 lowpriorityscore=0 spamscore=0 malwarescore=0 adultscore=0 clxscore=1015 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011090144 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > On Nov 9, 2020, at 5:55 PM, Olga Kornievskaia wrote: >=20 > Hi Chuck, >=20 > generic/013 on 5.10-rc3 under both soft RoCE and iWarp produce the > following kernel oops. > Are you aware of it? 5.9 ran fine. In 5.10-rc1/rc2 both soft RoCE and > iWarp were broken (outside of nfs) so can't test. I'll see what I can > find out more but wanted to run it by you first. Thank you. Could be this: = https://lore.kernel.org/linux-nfs/160416263202.2615192.7554388264467271587= .stgit@manet.1015granger.net/T/#u >=20 > [ 126.767318] run fstests generic/013 at 2020-11-09 17:03:25 > [ 126.931805] BUG: unable to handle page fault for address: = ffffa085363bb010 > [ 126.935622] #PF: supervisor write access in kernel mode > [ 126.938202] #PF: error_code(0x0003) - permissions violation > [ 126.941042] PGD 3fe02067 P4D 3fe02067 PUD 3fe06067 PMD 74e77063 PTE > 80000000763bb061 > [ 126.944882] Oops: 0003 [#1] SMP PTI > [ 126.946985] CPU: 0 PID: 2924 Comm: fsstress Not tainted 5.10.0-rc3+ = #32 > [ 126.950482] Hardware name: VMware, Inc. VMware Virtual > Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020 > [ 126.955680] RIP: 0010:rpcrdma_convert_iovs.isra.32+0x125/0x190 = [rpcrdma] > [ 126.959175] Code: 03 74 70 83 f9 05 74 6b 49 8b 45 18 48 85 c0 74 > 43 49 8b 4d 10 89 c2 89 ce 81 e6 ff 0f 00 00 85 c0 74 31 bf 00 10 00 > 00 89 f8 <49> 89 48 10 29 f0 49 c7 40 08 00 00 00 00 39 d0 0f 47 c2 49 > 83 c0 > [ 126.968901] RSP: 0018:ffffc32703137a68 EFLAGS: 00010286 > [ 126.971423] RAX: 0000000000001000 RBX: 0000000000000000 RCX: = ffffa08542daf000 > [ 126.974807] RDX: 00000000f34df06c RSI: 0000000000000000 RDI: = 0000000000001000 > [ 126.978224] RBP: 0000000000000000 R08: ffffa085363bb000 R09: = 0000000000001000 > [ 126.982701] R10: ffffeef9c0006f48 R11: ffffa0853ffd60c0 R12: = 000000000000cb35 > [ 126.986327] R13: ffffa0853628a060 R14: ffffa08534f195d0 R15: = ffffa0851e213358 > [ 126.989769] FS: 00007fab74973740(0000) GS:ffffa0853be00000(0000) > knlGS:0000000000000000 > [ 126.993803] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 126.996953] CR2: ffffa085363bb010 CR3: 0000000074fd0002 CR4: = 00000000001706f0 > [ 127.000593] Call Trace: > [ 127.001907] rpcrdma_marshal_req+0x4b9/0xb30 [rpcrdma] > [ 127.004789] ? lock_timer_base+0x67/0x80 > [ 127.006710] xprt_rdma_send_request+0x48/0xd0 [rpcrdma] > [ 127.009257] xprt_transmit+0x130/0x3f0 [sunrpc] > [ 127.011499] ? rpc_clnt_swap_deactivate+0x30/0x30 [sunrpc] > [ 127.014225] ? > rpc_wake_up_task_on_wq_queue_action_locked+0x230/0x230 [sunrpc] > [ 127.017848] call_transmit+0x63/0x70 [sunrpc] > [ 127.019973] __rpc_execute+0x75/0x3e0 [sunrpc] > [ 127.022135] ? xprt_iter_get_helper+0x17/0x30 [sunrpc] > [ 127.024793] rpc_run_task+0x153/0x170 [sunrpc] > [ 127.027098] nfs4_call_sync_custom+0xb/0x30 [nfsv4] > [ 127.029617] nfs4_do_call_sync+0x69/0x90 [nfsv4] > [ 127.032001] _nfs42_proc_listxattrs+0x143/0x200 [nfsv4] > [ 127.034766] nfs42_proc_listxattrs+0x8e/0xc0 [nfsv4] > [ 127.037160] nfs4_listxattr+0x1b8/0x210 [nfsv4] > [ 127.039454] ? __check_object_size+0x162/0x180 > [ 127.041606] listxattr+0xd1/0xf0 > [ 127.043163] path_listxattr+0x5f/0xb0 > [ 127.044969] do_syscall_64+0x33/0x40 > [ 127.047200] entry_SYSCALL_64_after_hwframe+0x44/0xa9 > [ 127.049644] RIP: 0033:0x7fab74296c8b > [ 127.051440] Code: f0 ff ff 73 01 c3 48 8b 0d fa 21 2c 00 f7 d8 64 > 89 01 48 83 c8 ff c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 c2 00 00 > 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d cd 21 2c 00 f7 d8 64 89 > 01 48 > [ 127.060978] RSP: 002b:00007fffcddc4a38 EFLAGS: 00000202 ORIG_RAX: > 00000000000000c2 > [ 127.064848] RAX: ffffffffffffffda RBX: 000000000000002a RCX: = 00007fab74296c8b > [ 127.068244] RDX: 0000000000000000 RSI: 0000000000000000 RDI: = 0000000000674440 > [ 127.071642] RBP: 00000000000001f4 R08: 0000000000000000 R09: = 00007fffcddc4687 > [ 127.075214] R10: 0000000000000004 R11: 0000000000000202 R12: = 000000000000002a > [ 127.078667] R13: 0000000000403e60 R14: 0000000000000000 R15: = 0000000000000000 > [ 127.082783] Modules linked in: cts rpcsec_gss_krb5 nfsv4 > dns_resolver nfs lockd grace nfs_ssc rpcrdma rdma_rxe ip6_udp_tunnel > udp_tunnel rdma_ucm rdma_cm iw_cm ib_cm ib_uverbs ib_core nls_utf8 > isofs fuse rfcomm nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib > nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct > nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 tun bridge stp llc > ip6_tables nft_compat ip_set nf_tables nfnetlink bnep > vmw_vsock_vmci_transport vsock snd_seq_midi snd_seq_midi_event > intel_rapl_msr intel_rapl_common crct10dif_pclmul crc32_pclmul > vmw_balloon ghash_clmulni_intel joydev btusb btrtl pcspkr btbcm > btintel uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 > videobuf2_common videodev snd_ens1371 bluetooth snd_ac97_codec > ac97_bus rfkill mc snd_seq snd_pcm ecdh_generic ecc snd_timer > snd_rawmidi snd_seq_device snd soundcore vmw_vmci i2c_piix4 > auth_rpcgss sunrpc ip_tables xfs libcrc32c sr_mod cdrom sg ata_generic > vmwgfx drm_kms_helper nvme crc32c_intel serio_raw > [ 127.082841] syscopyarea sysfillrect sysimgblt fb_sys_fops > nvme_core t10_pi cec vmxnet3 ata_piix ahci libahci ttm libata drm > [ 127.132635] CR2: ffffa085363bb010 > [ 127.134527] ---[ end trace 912ce02a00d98fdf ]--- -- Chuck Lever