<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:32:06 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-10105]  kernel:Kernel panic - not syncing: LBUG</title>
                <link>https://jira.whamcloud.com/browse/LU-10105</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When attempt to create a *new *file from lustre client node, it&apos;s throwing the following panic error and rebooting the lustre client node. After the reboot, the file that was tried to create is present with 0 bytes and can be used to write data into it. Creation of new directories are fine. The problem is with creation of new files. Existing files can be updated but creation of new files from lustre client node is throwing the following panic error and rebooting the lustre client node.&lt;/p&gt;

&lt;p&gt;Message from syslogd@10-64-7-142 at Oct  9 16:19:18 ...&lt;br/&gt;
 kernel:LustreError: 4337:0:(dcache.c:188:ll_d_init()) ASSERTION( de-&amp;gt;d_op == &amp;amp;ll_d_ops ) failed:&lt;/p&gt;

&lt;p&gt;Message from syslogd@10-64-7-142 at Oct  9 16:19:18 ...&lt;br/&gt;
 kernel:LustreError: 4337:0:(dcache.c:188:ll_d_init()) LBUG&lt;/p&gt;

&lt;p&gt;Message from syslogd@10-64-7-142 at Oct  9 16:19:19 ...&lt;br/&gt;
 kernel:Kernel panic - not syncing: LBUG&lt;/p&gt;

</description>
                <environment>RHEL 7.4 plus 3rd party kernel modules</environment>
        <key id="48669">LU-10105</key>
            <summary> kernel:Kernel panic - not syncing: LBUG</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="10200">Won&apos;t Do</resolution>
                                        <assignee username="bhoagland">Brad Hoagland</assignee>
                                    <reporter username="Shankar Vellaichamy">Shankar Vellaichamy</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Oct 2017 15:38:40 +0000</created>
                <updated>Mon, 25 May 2020 14:19:40 +0000</updated>
                            <resolved>Thu, 19 Apr 2018 16:19:24 +0000</resolved>
                                    <version>Lustre 2.10.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="210622" author="shankar vellaichamy" created="Mon, 9 Oct 2017 15:53:05 +0000"  >&lt;p&gt;Message from syslogd@10-64-7-142 at Oct  9 16:51:16 ...&lt;br/&gt;
 kernel:LustreError: 7760:0:(dcache.c:188:ll_d_init()) ASSERTION( de-&amp;gt;d_op == &amp;amp;ll_d_ops ) failed:&lt;/p&gt;

&lt;p&gt;Message from syslogd@10-64-7-142 at Oct  9 16:51:16 ...&lt;br/&gt;
 kernel:LustreError: 7760:0:(dcache.c:188:ll_d_init()) LBUG&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: LustreError: 7760:0:(dcache.c:188:ll_d_init()) ASSERTION( de-&amp;gt;d_op == &amp;amp;ll_d_ops ) failed:&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: LustreError: 7760:0:(dcache.c:188:ll_d_init()) LBUG&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: Pid: 7760, comm: touch&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: #012Call Trace:&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc06957ae&amp;gt;&amp;#93;&lt;/span&gt; libcfs_call_trace+0x4e/0x60 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc069583c&amp;gt;&amp;#93;&lt;/span&gt; lbug_with_loc+0x4c/0xb0 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc0ba0d2e&amp;gt;&amp;#93;&lt;/span&gt; ll_d_init+0x2de/0x420 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc09df53d&amp;gt;&amp;#93;&lt;/span&gt; ? __req_capsule_get+0x15d/0x700 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc0be3ba8&amp;gt;&amp;#93;&lt;/span&gt; ll_splice_alias+0x1b8/0x320 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc0be3d93&amp;gt;&amp;#93;&lt;/span&gt; ll_lookup_it_finish+0x83/0x1090 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc0b81787&amp;gt;&amp;#93;&lt;/span&gt; ? lmv_intent_lock+0xe37/0x1b50 &lt;span class=&quot;error&quot;&gt;&amp;#91;lmv&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff812cb380&amp;gt;&amp;#93;&lt;/span&gt; ? security_sid_to_context+0x10/0x20&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff812bb875&amp;gt;&amp;#93;&lt;/span&gt; ? selinux_dentry_init_security+0xa5/0x110&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc0be2e80&amp;gt;&amp;#93;&lt;/span&gt; ? ll_md_blocking_ast+0x0/0x730 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc0be563e&amp;gt;&amp;#93;&lt;/span&gt; ll_lookup_it+0x89e/0xee0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff812ca70d&amp;gt;&amp;#93;&lt;/span&gt; ? context_struct_compute_av+0x34d/0x470&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc0be5db7&amp;gt;&amp;#93;&lt;/span&gt; ll_atomic_open+0x137/0x12d0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff816a318f&amp;gt;&amp;#93;&lt;/span&gt; ? avc_compute_av+0x1a3/0x1b5&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc0407138&amp;gt;&amp;#93;&lt;/span&gt; rfs_atomic_open+0x148/0x380 &lt;span class=&quot;error&quot;&gt;&amp;#91;redirfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff812100fd&amp;gt;&amp;#93;&lt;/span&gt; do_last+0xa4d/0x12c0&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81210a32&amp;gt;&amp;#93;&lt;/span&gt; path_openat+0xc2/0x490&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8118295b&amp;gt;&amp;#93;&lt;/span&gt; ? unlock_page+0x2b/0x30&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81212fcb&amp;gt;&amp;#93;&lt;/span&gt; do_filp_open+0x4b/0xb0&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8111ea0c&amp;gt;&amp;#93;&lt;/span&gt; ? audit_alloc_name+0x9c/0x160&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8111f6fd&amp;gt;&amp;#93;&lt;/span&gt; ? __audit_getname+0x3d/0xb0&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81220249&amp;gt;&amp;#93;&lt;/span&gt; ? __alloc_fd+0xa9/0x130&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff811ffc13&amp;gt;&amp;#93;&lt;/span&gt; do_sys_open+0xf3/0x1f0&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff811ffd2e&amp;gt;&amp;#93;&lt;/span&gt; SyS_open+0x1e/0x20&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffc0421c34&amp;gt;&amp;#93;&lt;/span&gt; gsch_open_hook_fn+0x124/0x140 &lt;span class=&quot;error&quot;&gt;&amp;#91;gsch&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff816b5009&amp;gt;&amp;#93;&lt;/span&gt; system_call_fastpath+0x16/0x1b&lt;/p&gt;

&lt;p&gt;Message from syslogd@10-64-7-142 at Oct  9 16:51:16 ...&lt;br/&gt;
 kernel:Kernel panic - not syncing: LBUG&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel:&lt;br/&gt;
Oct  9 16:51:16 10-64-7-142 kernel: Kernel panic - not syncing: LBUG&lt;/p&gt;</comment>
                            <comment id="210625" author="jhammond" created="Mon, 9 Oct 2017 16:12:03 +0000"  >&lt;p&gt;Could you describe the client configuration used here? Especially the how gsch and redirfs are used?&lt;/p&gt;</comment>
                            <comment id="210681" author="shankar vellaichamy" created="Tue, 10 Oct 2017 01:06:17 +0000"  >&lt;p&gt;Hi John, After stopping ds_agent using /etc/init.d/ds_agent stop, new file creations are successful. Please refer attached ds_agent diagnostic package from output of /opt/ds_agent/dsa_control -d. Could you please support to make the creation of new files work from lustre client with ds-agent active and running.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/attachment/28426/28426_ds-agent-diagnostic.zip&quot; title=&quot;ds-agent-diagnostic.zip attached to LU-10105&quot;&gt;ds-agent-diagnostic.zip&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.whamcloud.com/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="210729" author="bhoagland" created="Tue, 10 Oct 2017 17:33:16 +0000"  >&lt;p&gt;Hi Shankar,&lt;/p&gt;

&lt;p&gt;Do you have a support agreement for this system with Intel?&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Brad&lt;/p&gt;</comment>
                            <comment id="210737" author="shankar vellaichamy" created="Tue, 10 Oct 2017 17:58:11 +0000"  >&lt;p&gt;Hi Brad,&#160; We have just started with Lustre and don&apos;t have support agreement for this system with Intel.&lt;/p&gt;</comment>
                            <comment id="271061" author="degremoa" created="Mon, 25 May 2020 14:19:40 +0000"  >&lt;p&gt;For the record, I&apos;ve faced the same crashes which ended up being cause by the same software. &lt;tt&gt;ds_agent&lt;/tt&gt; is &lt;tt&gt;Trend Micro Deep Security Agent&lt;/tt&gt;. This is part of Trend Deep Security composed of a file system wrapping real filesystem accesses: &lt;tt&gt;redirfs&lt;/tt&gt; and a hooking modules &lt;tt&gt;gsch&lt;/tt&gt; . Here is the LBUG stack trace:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
crash&amp;gt; bt
PID: 19992  TASK: ffff9df833f73150  CPU: 1   COMMAND: &lt;span class=&quot;code-quote&quot;&gt;&quot;touch&quot;&lt;/span&gt;
 #0 [ffff9df7395b3728] machine_kexec at ffffffffa6466044
 #1 [ffff9df7395b3788] __crash_kexec at ffffffffa6522ee2
 #2 [ffff9df7395b3858] panic at ffffffffa6b7952c
 #3 [ffff9df7395b38d8] lbug_with_loc at ffffffffc03028cb [libcfs]
 #4 [ffff9df7395b38f8] ll_d_init at ffffffffc07b9d2e [lustre]
 #5 [ffff9df7395b3938] ll_splice_alias at ffffffffc07fdab8 [lustre]
 #6 [ffff9df7395b3980] ll_lookup_it_finish at ffffffffc07fdca3 [lustre]
 #7 [ffff9df7395b3a48] ll_lookup_it at ffffffffc07ff576 [lustre]
 #8 [ffff9df7395b3b08] ll_atomic_open at ffffffffc07ffcf7 [lustre]
 #9 [ffff9df7395b3bc8] rfs_atomic_open at ffffffffc075622b [redirfs]
#10 [ffff9df7395b3c70] do_last at ffffffffa665d803
#11 [ffff9df7395b3d20] path_openat at ffffffffa665e1bd
#12 [ffff9df7395b3db8] do_filp_open at ffffffffa666040d
#13 [ffff9df7395b3e90] do_sys_open at ffffffffa664bfe4
#14 [ffff9df7395b3ef0] sys_open at ffffffffa664c0fe
#15 [ffff9df7395b3f00] gsch_open_hook_fn at ffffffffc088a4fa [gsch]
#16 [ffff9df7395b3f50] system_call_fastpath at ffffffffa6b92ed2
    RIP: 00007fb6a78d3760  RSP: 00007ffee9c8e958  RFLAGS: 00010202
    RAX: 0000000000000002  RBX: 00007ffee9c8ecf8  RCX: 0000000000000037
    RDX: 00000000000001b6  RSI: 0000000000000941  RDI: 00007ffee9c9056f
    RBP: 0000000000000000   R8: 0000000000000000   R9: 0000000000000000
    R10: 00007ffee9c8dea0  R11: 0000000000000246  R12: 00007ffee9c9056f
    R13: 00007fb6a7bab2a0  R14: 0000000000000001  R15: 0000000000000000
    ORIG_RAX: 0000000000000002  CS: 0033  SS: 002b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;(See &apos;&lt;tt&gt;gsch&lt;/tt&gt;&apos; at the beginning of the call stack)&lt;/p&gt;

&lt;p&gt;This hook or &lt;tt&gt;redirfs&lt;/tt&gt; is replacing the &lt;tt&gt;struct dentry_operations&lt;/tt&gt; by its own, where some callbacks are replaced by its own callbacks, making the LASSERT fail.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
crash&amp;gt; p &amp;amp;ll_d_ops
$7 = (&lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; struct dentry_operations *) 0xffffffffc0824200 &amp;lt;ll_d_ops&amp;gt;

...

crash&amp;gt; struct dentry_operations 0xffff9df83256e040
struct dentry_operations {
  d_revalidate = 0xffffffffc07538e0,
  d_weak_revalidate = 0x0,
  d_hash = 0x0,
  d_compare = 0xffffffffc07b9770 &amp;lt;ll_dcompare&amp;gt;,
  d_delete = 0xffffffffc07b94e0 &amp;lt;ll_ddelete&amp;gt;,
  d_release = 0xffffffffc0753b30,
  d_prune = 0x0,
  d_iput = 0xffffffffc07536a0,
  d_dname = 0x0,
  d_automount = 0x0,
  {
    d_manage = 0x0,
    __UNIQUE_ID_rh_kabi_hide17 = {
      d_manage = 0x0
    },
    {&amp;lt;No data fields&amp;gt;}
  }
}

ffffffffc07538e0 (t) rfs_d_revalidate [redirfs]
ffffffffc0753b30 (t) rfs_d_release [redirfs]
ffffffffc07536a0 (t) rfs_d_iput [redirfs]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;This kind of low level hooking is definitely a bad design in my opinion, but I was wondering if this &lt;tt&gt;LASSERT&lt;/tt&gt; is really useful and if removing it could be enough to make this software works.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="28426" name="ds-agent-diagnostic.zip" size="1622254" author="Shankar Vellaichamy" created="Tue, 10 Oct 2017 01:08:22 +0000"/>
                    </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|hzzlkf:</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>