Bug 1132368

Summary: [abrt] WARNING: CPU: 1 PID: 4071 at fs/proc/generic.c:521 remove_proc_entry+0x197/0x1a0()
Product: [Fedora] Fedora Reporter: lejeczek <peljasz>
Component: kernelAssignee: nfs-maint
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab, michele
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:796afd437deb536b094277b331c78b89edef0426
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-25 14:35:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: dmesg none

Description lejeczek 2014-08-21 08:53:56 UTC
Additional info:
reporter:       libreport-2.2.3
WARNING: CPU: 1 PID: 4071 at fs/proc/generic.c:521 remove_proc_entry+0x197/0x1a0()
remove_proc_entry: removing non-empty directory 'fs/nfsfs', leaking at least 'volumes'
Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd sunrpc fscache bnep fuse ccm ip6t_rpfilter ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw arc4 ath9k ath9k_common ath9k_hw uvcvideo snd_hda_codec_hdmi x86_pkg_temp_thermal snd_hda_codec_idt videobuf2_vmalloc ath coretemp ath3k snd_hda_codec_generic btusb mac80211 videobuf2_memops kvm_intel videobuf2_core bluetooth dell_wmi kvm sparse_keymap v4l2_common iTCO_wdt iTCO_vendor_support videodev ppdev snd_hda_intel media snd_hda_controller[0C][F8][E0]
 dell_laptop crct10dif_pclmul dcdbas crc32_pclmul cfg80211 crc32c_intel snd_hda_codec snd_hwdep snd_seq ghash_clmulni_intel snd_seq_device sdhci_pci microcode joydev sdhci serio_raw mmc_core snd_pcm rfkill lpc_ich i2c_i801 mfd_core wmi snd_timer parport_pc parport snd mei_me soundcore mei shpchp binfmt_misc i915 i2c_algo_bit e1000e drm_kms_helper drm ptp pps_core video
CPU: 1 PID: 4071 Comm: kworker/u8:0 Not tainted 3.17.0-0.rc1.git0.1.fc22.x86_64 #1
Hardware name: Dell Inc. Latitude 6430U/0JCV3H, BIOS A08 06/20/2014
Workqueue: netns cleanup_net
 0000000000000000 00000000edaa35a7 ffff88007acdbc60 ffffffff81736d9b
 ffff88007acdbca8 ffff88007acdbc98 ffffffff81093ddd ffff8801de542480
 0000000000000005 ffffffffa087e570 ffffffffa087e573 ffff880212c727c0
Call Trace:
 [<ffffffff81736d9b>] dump_stack+0x45/0x56
 [<ffffffff81093ddd>] warn_slowpath_common+0x7d/0xa0
 [<ffffffff81093e5c>] warn_slowpath_fmt+0x5c/0x80
 [<ffffffff812776b7>] remove_proc_entry+0x197/0x1a0
 [<ffffffffa085f5b2>] nfs_fs_proc_net_exit+0x62/0x80 [nfs]
 [<ffffffffa0865d22>] nfs_net_exit+0x12/0x20 [nfs]
 [<ffffffff81620769>] ops_exit_list.isra.1+0x39/0x60
 [<ffffffff81620fe0>] cleanup_net+0x100/0x1e0
 [<ffffffff810ac4fe>] process_one_work+0x17e/0x430
 [<ffffffff810ace8b>] worker_thread+0x6b/0x4a0
 [<ffffffff810ace20>] ? rescuer_thread+0x2a0/0x2a0
 [<ffffffff810b1fca>] kthread+0xea/0x100[03]
 [<ffffffff810b1ee0>] ? kthread_create_on_node+0x1a0/0x1a0
 [<ffffffff8173dd7c>] ret_from_fork+0x7c/0xb0
 [<ffffffff810b1ee0>] ? kthread_create_on_node+0x1a0/0x1a0

Comment 1 lejeczek 2014-08-21 08:53:59 UTC
Created attachment 929119 [details]
File: dmesg

Comment 2 Michele Baldessari 2014-08-24 08:06:54 UTC
I get the same with a slightly later kernel:
[   89.151871] ------------[ cut here ]------------
[   89.151889] WARNING: CPU: 1 PID: 60 at fs/proc/generic.c:521 remove_proc_entry+0x197/0x1a0()
[   89.151893] remove_proc_entry: removing non-empty directory 'fs/nfsfs', leaking at least 'volumes'
[   89.151896] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd sunrpc fscache xt_CHECKSUM ipt_MASQUERADE tun fuse ip6t_rpfilter ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep b43 mac80211 btusb uvcvideo joydev bluetooth cfg80211 videobuf2_vmalloc videobuf2_memops videobuf2_core bcm5974 v4l2_common x86_pkg_temp_thermal ssb mmc_core videodev coretemp kvm_intel rfkill snd_hda_codec_hdmi media iTCO_wdt snd_hda_codec_cirrus kvm snd_hda_codec_generic iTCO_vendor_support snd_hda_intel
[   89.151973]  snd_hda_controller snd_hda_codec snd_hwdep applesmc snd_seq input_polldev snd_seq_device microcode bcma snd_pcm lpc_ich snd_timer apple_bl sbs mfd_core snd mei_me shpchp sbshc mei soundcore i2c_i801 dm_crypt i915 crct10dif_pclmul i2c_algo_bit crc32_pclmul drm_kms_helper crc32c_intel drm ghash_clmulni_intel asix ata_generic usbnet pata_acpi mii i2ccore video
[   89.152017] CPU: 1 PID: 60 Comm: kworker/u16:1 Not tainted 3.17.0-0.rc1.git3.2.fc22.1.x86_64 #1
[   89.152020] Hardware name: Apple Inc. MacBookAir4,1/Mac-C08A6BB70A942AC2, BIOS MBA41.88Z.0077.B0F.1201241549 01/24/2012
[   89.152028] Workqueue: netns cleanup_net
[   89.152031]  0000000000000000 00000000e6ce5f9c ffff88016786bc60 ffffffff817314eb
[   89.152036]  ffff88016786bca8 ffff88016786bc98 ffffffff81093ddd ffff88005ddf2680
[   89.152041]  0000000000000005 ffffffffa0804570 ffffffffa0804573 ffff88016b05ad40
[   89.152046] Call Trace:
[   89.152055]  [<ffffffff817314eb>] dump_stack+0x45/0x56
[   89.152062]  [<ffffffff81093ddd>] warn_slowpath_common+0x7d/0xa0
[   89.152068]  [<ffffffff81093e5c>] warn_slowpath_fmt+0x5c/0x80
[   89.152074]  [<ffffffff812776b7>] remove_proc_entry+0x197/0x1a0
[   89.152090]  [<ffffffffa07e55b2>] nfs_fs_proc_net_exit+0x62/0x80 [nfs]
[   89.152103]  [<ffffffffa07ebd22>] nfs_net_exit+0x12/0x20 [nfs]
[   89.152108]  [<ffffffff8161aeb9>] ops_exit_list.isra.1+0x39/0x60
[   89.152113]  [<ffffffff8161b730>] cleanup_net+0x100/0x1e0
[   89.152119]  [<ffffffff810ac4fe>] process_one_work+0x17e/0x430
[   89.152124]  [<ffffffff810ace8b>] worker_thread+0x6b/0x4a0
[   89.152129]  [<ffffffff810ace20>] ? rescuer_thread+0x2a0/0x2a0
[   89.152136]  [<ffffffff810b1fca>] kthread+0xea/0x100
[   89.152142]  [<ffffffff810b1ee0>] ? kthread_create_on_node+0x1a0/0x1a0
[   89.152151]  [<ffffffff817384bc>] ret_from_fork+0x7c/0xb0
[   89.152156]  [<ffffffff810b1ee0>] ? kthread_create_on_node+0x1a0/0x1a0
[   89.152160] ---[ end trace 13bcb5c19a421e60 ]---


Fixed by www.spinics.net/lists/linux-nfs/msg46080.html

Comment 3 Josh Boyer 2014-08-25 14:35:05 UTC
Thanks for the pointer to the patch!  I've added it to today's rawhide kernel.  Should land in the repo tomorrow.