<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:54:29 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-12653]  WARNING: CPU: 3 PID: 5070 at fs/proc/generic.c:399 proc_register+0x8e/0xb0</title>
                <link>https://jira.whamcloud.com/browse/LU-12653</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When trying to setup lustre server and client on same node:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[ 1317.867842] WARNING: CPU: 3 PID: 5487 at fs/proc/generic.c:399 proc_register+0x8e/0xb0
[ 1317.869828] proc_dir_entry &apos;lustre/lov&apos; already registered
[ 1317.871253] Modules linked in: lov(OE+) ofd(OE) ost(OE) osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgs(OE) mgc(OE) osd_ldiskfs(OE) lquota(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) libcfs(OE) ldiskfs(OE) mbcache jbd2 rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs ipmi_devintf lockd ipmi_msghandler grace fscache ip6t_rpfilter ipt_REJECT nf_reject_ipv4 ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter zfs(POE) sunrpc zunicode(POE) zlua(POE)
[ 1317.884392] ppdev zcommon(POE) znvpair(POE) zavl(POE) icp(POE) iosf_mbi crc32_pclmul ghash_clmulni_intel spl(OE) aesni_intel lrw gf128mul glue_helper ablk_helper cryptd joydev pcspkr sg parport_pc parport virtio_balloon i2c_piix4 ip_tables xfs libcrc32c sd_mod sr_mod crc_t10dif cdrom crct10dif_generic ata_generic pata_acpi virtio_blk crct10dif_pclmul crct10dif_common crc32c_intel serio_raw floppy 8139too ata_piix libata virtio_pci 8139cp virtio_ring virtio mii
[ 1317.891046] CPU: 3 PID: 5487 Comm: modprobe Kdump: loaded Tainted: P W OE ------------ 3.10.0-957.1.3.el7_lustre.2.12.50_281_g77be9b2.x86_64 #1
[ 1317.893091] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-2.fc30 04/01/2014
[ 1317.894479] Call Trace:
[ 1317.894953] [&amp;lt;ffffffff9c161e41&amp;gt;] dump_stack+0x19/0x1b
[ 1317.895748] [&amp;lt;ffffffff9ba97648&amp;gt;] __warn+0xd8/0x100
[ 1317.896495] [&amp;lt;ffffffff9ba976cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1317.897372] [&amp;lt;ffffffff9bcbe5e8&amp;gt;] ? pde_subdir_insert+0x58/0xb0
[ 1317.898319] [&amp;lt;ffffffff9bcbe80e&amp;gt;] proc_register+0x8e/0xb0
[ 1317.899175] [&amp;lt;ffffffff9bcbe956&amp;gt;] proc_mkdir_data+0x66/0xa0
[ 1317.900059] [&amp;lt;ffffffff9bcbe9c5&amp;gt;] proc_mkdir+0x15/0x20
[ 1317.900884] [&amp;lt;ffffffffc0fe5ff4&amp;gt;] lprocfs_register+0x24/0x80 [obdclass]
[ 1317.901922] [&amp;lt;ffffffffc0fde00d&amp;gt;] class_register_type+0x71d/0x7b0 [obdclass]
[ 1317.903062] [&amp;lt;ffffffffc1270000&amp;gt;] ? 0xffffffffc126ffff
[ 1317.903893] [&amp;lt;ffffffffc1270141&amp;gt;] lov_init+0x141/0x1000 [lov]
[ 1317.904778] [&amp;lt;ffffffff9ba0210a&amp;gt;] do_one_initcall+0xba/0x240
[ 1317.905684] [&amp;lt;ffffffff9bb1906c&amp;gt;] load_module+0x272c/0x2bc0
[ 1317.906536] [&amp;lt;ffffffff9bda36b0&amp;gt;] ? ddebug_proc_write+0x100/0x100
[ 1317.907462] [&amp;lt;ffffffff9bb14bf3&amp;gt;] ? copy_module_from_fd.isra.44+0x53/0x150
[ 1317.908533] [&amp;lt;ffffffff9bb196e6&amp;gt;] SyS_finit_module+0xa6/0xd0
[ 1317.909422] [&amp;lt;ffffffff9c174ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1317.910375] ---[ end trace 254564f3fd63f4a8 ]---
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The problem seems Server side might try to create proc firstly:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt; create &quot;lov&quot; entry for compatibility purposes /
        sym = class_add_symlinks(LUSTRE_LOV_NAME, true);
        if (IS_ERR(sym)) {
                rc = PTR_ERR(sym);
                / does real &quot;lov&quot; already exist ? /
                if (rc == -EEXIST)
                        rc = 0; 
        }    
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and then lov_init will fail:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;rc = class_register_type(&amp;amp;lov_obd_ops, NULL, true, NULL,
                                 LUSTRE_LOV_NAME, &amp;amp;lov_device_type);
  if (rc) {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="56630">LU-12653</key>
            <summary> WARNING: CPU: 3 PID: 5070 at fs/proc/generic.c:399 proc_register+0x8e/0xb0</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="simmonsja">James A Simmons</assignee>
                                    <reporter username="wshilong">Wang Shilong</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Aug 2019 10:50:03 +0000</created>
                <updated>Wed, 25 Sep 2019 19:42:01 +0000</updated>
                            <resolved>Fri, 9 Aug 2019 14:58:15 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="252856" author="wshilong" created="Fri, 9 Aug 2019 10:52:45 +0000"  >&lt;p&gt;James Simmons&lt;/p&gt;

&lt;p&gt;This seems a regression for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8066&quot; title=&quot;Move lustre procfs handling to sysfs and debugfs.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8066&quot;&gt;LU-8066&lt;/a&gt;, I have no idea how to resolve this, would you take a look at it?&lt;br/&gt;
It is just annoying here, I have to lustre_rmmod &amp;amp;&amp;amp; modprobe lustre to fix mount lustre.&lt;/p&gt;</comment>
                            <comment id="252860" author="pjones" created="Fri, 9 Aug 2019 12:52:10 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=wshilong&quot; class=&quot;user-hover&quot; rel=&quot;wshilong&quot;&gt;wshilong&lt;/a&gt; are you able to identify which &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8066&quot; title=&quot;Move lustre procfs handling to sysfs and debugfs.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8066&quot;&gt;LU-8066&lt;/a&gt; landing introduced this problem? The quickest solution is just to revert it &lt;/p&gt;</comment>
                            <comment id="252862" author="simmonsja" created="Fri, 9 Aug 2019 13:05:37 +0000"  >&lt;p&gt;Can you try patch&#160;&lt;a href=&quot;https://review.whamcloud.com/#/c/34718/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/34718.&lt;/a&gt;&#160; It fixes a couple of bugs.&lt;/p&gt;</comment>
                            <comment id="252871" author="wshilong" created="Fri, 9 Aug 2019 14:57:56 +0000"  >&lt;p&gt;Peter,&lt;/p&gt;

&lt;p&gt;I confirmed the James mentioned patch fix the problem, so I think we could close the ticket as duplicated.&lt;/p&gt;</comment>
                            <comment id="252872" author="pjones" created="Fri, 9 Aug 2019 14:59:31 +0000"  >&lt;p&gt;Sounds good - thanks&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="36381">LU-8066</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i00l13:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>