Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp582137pxu; Thu, 3 Dec 2020 07:44:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCoQWxSRtNguqOgE9c8+skRTeGHhzigVAO0bfp9I8nGpMaYojfT4Oi/dYdLZ4IjuRLOVEJ X-Received: by 2002:a17:906:8c7:: with SMTP id o7mr3171637eje.413.1607010270589; Thu, 03 Dec 2020 07:44:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607010270; cv=none; d=google.com; s=arc-20160816; b=apdpc/kqGbopSQeLODMq8+wjPTym7TIXtaf+kL/fnILfSFBfMtPPyKkGu6N/HB0wxY sf4yJTNw6k8YCrEG16EFJkzddKzh0AarPW2NYpeu2Y3qmFI1g7CZJVI+jbWnrRGfrDes VRFDKbImJiF3P+WSp5NTCbOOBOaUDHVy6kBLcmZQqyF9IU1UUTLOiolVOXx5gvleVXiL pNawJgsfXeJjHizLFDsm9fVHbBi3kzwnIYgMqhZdfQupn2CQe6eeQv6nMf2btQnHpXhP dY6Z39qELBuGqb4btqZrtJTdpoSEiKYAejEs7j1VlTfkiZOTRK8YIjSbr0/fqeDliXeL d9PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=ukj6wYoU8f9EdGxQzNawT+aRFDNZF7DZ/HLyI+9SABI=; b=bQuMC7D/Bnmxzf+L2X4tWRlEqQ/vekeVqSnRKaggh91CjUNNwnRvGPRMxMU/+fQHDO T35m/OuKbYQ2fIgZpEJASHCXLhMdAWKcIP3suTib1FqZ78tyHqCExkj4JUdTCbifRuml FzpWpfuu3pzsrKEngDCYbX82wV5fF+mHE+Fr7ShGwoOVmycEITfsP8M8WWTKtwM2/OXv IFTSwebnJRKKmpAlFEpcUqy6md1IGS8Mpx8QjDjLy/v2M2I0luxpt8gVAAwE8I3TMYb7 yxbr3Vu5nNYPT1UrZRN1Q8qau9gWu9fobcsgm0q3Jrkg/pd2Z4KuvxVs5djgBAkWYPNF oGwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@desy.de header.s=default header.b=Ozz99UhL; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id de12si1100163edb.38.2020.12.03.07.43.57; Thu, 03 Dec 2020 07:44:30 -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=@desy.de header.s=default header.b=Ozz99UhL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727479AbgLCPn4 (ORCPT + 99 others); Thu, 3 Dec 2020 10:43:56 -0500 Received: from smtp-o-2.desy.de ([131.169.56.155]:59107 "EHLO smtp-o-2.desy.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727297AbgLCPn4 (ORCPT ); Thu, 3 Dec 2020 10:43:56 -0500 Received: from smtp-buf-2.desy.de (smtp-buf-2.desy.de [IPv6:2001:638:700:1038::1:a5]) by smtp-o-2.desy.de (Postfix) with ESMTP id 76BB2160EAB for ; Thu, 3 Dec 2020 16:43:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-o-2.desy.de 76BB2160EAB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desy.de; s=default; t=1607010192; bh=ukj6wYoU8f9EdGxQzNawT+aRFDNZF7DZ/HLyI+9SABI=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=Ozz99UhLJ5GZjeZbzSYmRdX+f9fgaizBLhlfLrDv6FO5cnaOQQeu1FiVhCKziSrQs LURAmCZ8edQjb47Pp/HcjzUlcS2yrueW+J1vWdUH0b6LSohlJ965afDj6DX11c/DeO McpZgwCN7/kQBeC2XNffo82fJM0CiVIabcVuLqSc= Received: from smtp-m-2.desy.de (smtp-m-2.desy.de [131.169.56.130]) by smtp-buf-2.desy.de (Postfix) with ESMTP id 6E2221A0088; Thu, 3 Dec 2020 16:43:12 +0100 (CET) X-Virus-Scanned: amavisd-new at desy.de Received: from z-mbx-2.desy.de (z-mbx-2.desy.de [131.169.55.140]) by smtp-intra-2.desy.de (Postfix) with ESMTP id 43B3B1001A7; Thu, 3 Dec 2020 16:43:12 +0100 (CET) Date: Thu, 3 Dec 2020 16:43:12 +0100 (CET) From: "Mkrtchyan, Tigran" To: Olga Kornievskaia Cc: linux-nfs , trondmy , Frank van der Linden Message-ID: <1296195278.2032485.1607010192169.JavaMail.zimbra@desy.de> In-Reply-To: References: <2137763922.1852883.1606983653611.JavaMail.zimbra@desy.de> Subject: Re: Kernel OPS when using xattr MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.8.15_GA_3980 (ZimbraWebClient - FF83 (Mac)/8.8.15_GA_3980) Thread-Topic: Kernel OPS when using xattr Thread-Index: CQoVthOsoeann1xp4sI4VOrCB0WdKA== Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Olga, Franks patches are not applied. I will check with Trond's patch and then will try those as well. Regards, Tigran. ----- Original Message ----- > From: "Olga Kornievskaia" > To: "Tigran Mkrtchyan" > Cc: "linux-nfs" , "trondmy" , "Frank van der Linden" > > Sent: Thursday, 3 December, 2020 15:07:55 > Subject: Re: Kernel OPS when using xattr > On Thu, Dec 3, 2020 at 3:22 AM Mkrtchyan, Tigran > wrote: >> >> >> Dear NFS folk, >> >> this is I got while accessing xattrs over NFS with 5.10.0-rc6 kernel >> from Trond's testing tree (8102e956f22e710eecb3913cdd236282213812cf). >> The 5.9 kernel works as expected. > > Is that with Frank's getxattr patch? > https://www.spinics.net/lists/linux-nfs/msg81183.html > >> >> Tigran. >> >> [ 2803.765467] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver >> Registering... >> [59837.811426] general protection fault, probably for non-canonical address >> 0x5088000000ffc: 0000 [#1] SMP PTI >> [59837.811433] CPU: 3 PID: 3858 Comm: attr Not tainted 5.10.0-rc6+ #60 >> [59837.811435] Hardware name: Dell Inc. Latitude E6520/0J4TFW, BIOS A06 >> 07/11/2011 >> [59837.811442] RIP: 0010:__memmove+0xe2/0x1a0 >> [59837.811445] Code: 1f 84 00 00 00 00 00 90 48 83 fa 20 72 50 48 81 fa a8 02 00 >> 00 72 05 40 38 fe 74 bc 48 01 d6 48 01 d7 48 83 ea 20 48 83 ea 20 <4c> 8b 5e f8 >> 4c 8b 56 f0 4c 8b 4e e8 4c 8b 46 e0 48 8d 76 e0 4c 89 >> [59837.811447] RSP: 0018:ffffc90002b4f870 EFLAGS: 00010202 >> [59837.811451] RAX: 0005088000000004 RBX: 0000000000000000 RCX: 000000000000fffc >> [59837.811453] RDX: 0000000000000fbc RSI: 0005088000000ffc RDI: 0005088000001000 >> [59837.811455] RBP: ffff88810be80000 R08: 0005088000000ffc R09: ffff888235aec550 >> [59837.811457] R10: 0000000000000356 R11: 000000000000016c R12: 0000000000000004 >> [59837.811459] R13: 000000000000fffc R14: ffff88810be80000 R15: ffffc90002b4fc58 >> [59837.811462] FS: 00007fd9303ff740(0000) GS:ffff888235ac0000(0000) >> knlGS:0000000000000000 >> [59837.811465] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 >> [59837.811467] CR2: 00007fd9305d2000 CR3: 000000011fc10005 CR4: 00000000000606e0 >> [59837.811469] Call Trace: >> [59837.811505] _shift_data_right_pages+0x11e/0x150 [sunrpc] >> [59837.811531] xdr_shrink_bufhead+0x151/0x170 [sunrpc] >> [59837.811555] xdr_realign_pages+0x4c/0xa0 [sunrpc] >> [59837.811578] xdr_align_pages+0x49/0x120 [sunrpc] >> [59837.811601] xdr_read_pages+0x23/0xb0 [sunrpc] >> [59837.811626] nfs4_xdr_dec_getxattr+0xfa/0x120 [nfsv4] >> [59837.811643] call_decode+0x199/0x1f0 [sunrpc] >> [59837.811659] ? rpc_decode_header+0x4e0/0x4e0 [sunrpc] >> [59837.811678] __rpc_execute+0x71/0x420 [sunrpc] >> [59837.811700] ? xprt_iter_default_rewind+0x10/0x10 [sunrpc] >> [59837.811721] ? xprt_iter_get_next+0x4a/0x60 [sunrpc] >> [59837.811737] rpc_run_task+0x14c/0x180 [sunrpc] >> [59837.811756] nfs4_do_call_sync+0x6e/0xb0 [nfsv4] >> [59837.811785] _nfs42_proc_getxattr+0xb7/0x170 [nfsv4] >> [59837.811809] ? xprt_iter_get_next+0x4a/0x60 [sunrpc] >> [59837.811830] nfs42_proc_getxattr+0x86/0xb0 [nfsv4] >> [59837.811844] nfs4_xattr_get_nfs4_user+0xc9/0xe0 [nfsv4] >> [59837.811849] vfs_getxattr+0x161/0x1a0 >> [59837.811852] getxattr+0x14f/0x230 >> [59837.811856] ? filename_lookup+0x123/0x1b0 >> [59837.811861] ? _cond_resched+0x16/0x40 >> [59837.811864] ? kmem_cache_alloc+0x3c4/0x4b0 >> [59837.811866] ? getname_flags.part.0+0x45/0x1a0 >> [59837.811869] path_getxattr+0x62/0xb0 >> [59837.811873] do_syscall_64+0x33/0x40 >> [59837.811876] entry_SYSCALL_64_after_hwframe+0x44/0xa9 >> [59837.811879] RIP: 0033:0x7fd93050162e >> [59837.811883] Code: 48 8b 0d 4d 48 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f >> 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 c0 00 00 00 0f 05 <48> 3d 01 f0 >> ff ff 73 01 c3 48 8b 0d 1a 48 0c 00 f7 d8 64 89 01 48 >> [59837.811884] RSP: 002b:00007ffe178ad1c8 EFLAGS: 00000202 ORIG_RAX: >> 00000000000000c0 >> [59837.811887] RAX: ffffffffffffffda RBX: 00007ffe178ad330 RCX: 00007fd93050162e >> [59837.811889] RDX: 0000000000000000 RSI: 00007ffe178ad330 RDI: 00007ffe178bf525 >> [59837.811890] RBP: 0000000000000000 R08: 00007ffe178ad210 R09: 0000000000000000 >> [59837.811892] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000001 >> [59837.811894] R13: 00007ffe178ad210 R14: 00007ffe178bf525 R15: 0000000000000000 >> [59837.811896] Modules linked in: nfs_layout_flexfiles rpcsec_gss_krb5 >> auth_rpcgss nfsv4 dns_resolver nfs lockd grace nfs_ssc fscache >> nf_conntrack_netbios_ns nf_conntrack_broadcast nft_ct nf_tables ebtable_nat >> ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security >> iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle >> iptable_raw iptable_security ip_set nfnetlink ebtable_filter ebtables >> ip6table_filter ip6_tables sunrpc snd_hda_codec_idt snd_hda_codec_generic >> ledtrig_audio nouveau i915 iwldvm mac80211 btrfs snd_hda_codec_hdmi > > snd_hda_intel snd_intel_ds