<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:57:07 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-12956] oops in target_handle_connect()</title>
                <link>https://jira.whamcloud.com/browse/LU-12956</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;
Lustre: DEBUG MARKER: == replay-single test 111b: DNE: unlink striped dir, fail MDT2 ======================================= 01:31:46 (1573417906)
...
LDISKFS-fs (dm-1): mounted filesystem with ordered data mode. Opts: user_xattr,errors=remount-ro,no_mbcache,nodelalloc
Lustre: DEBUG MARKER: tmp.kWfRXHK7nj: executing wait_import_state_mount (FULL|IDLE) mdc.lustre-MDT0000-mdc-*.mds_server_uuid,mdc.lustre-MDT0001-mdc-*.mds_server_uuid
BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
PGD 0 P4D 0 
Oops: 0010 [#1] SMP DEBUG_PAGEALLOC
CPU: 0 PID: 11132 Comm: mdt00_000 Tainted: G        W  O     --------- ---  4.18.0 #31
Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
RIP: 0010:          (&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;)
Code: Bad RIP value.
RSP: 0018:ffff88017a7dbcb8 EFLAGS: 00010202
RAX: ffffffff8216dd00 RBX: ffff880172b72a80 RCX: 0000000000000000
RDX: 0000000000000098 RSI: 0000000000000000 RDI: ffff88012e41cd48
RBP: ffff880172364208 R08: 0000000000000028 R09: ffff880172b72f30
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801723643a8
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff880198e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000014e73c000 CR4: 00000000000006b0
Call Trace:
 ? target_handle_connect+0x1ca9/0x2eb0 [ptlrpc]
 ? tgt_request_handle+0x148/0x17b0 [ptlrpc]
 ? ptlrpc_main+0x1182/0x3180 [ptlrpc]
 ? __kthread_parkme+0x2a/0x80
 ? kthread+0x100/0x140
 ? ptlrpc_register_service+0x15a0/0x15a0 [ptlrpc]
 ? kthread_flush_work_fn+0x10/0x10
 ? ret_from_fork+0x24/0x30
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="57352">LU-12956</key>
            <summary>oops in target_handle_connect()</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="1">Fixed</resolution>
                                        <assignee username="aboyko">Alexander Boyko</assignee>
                                    <reporter username="bzzz">Alex Zhuravlev</reporter>
                        <labels>
                    </labels>
                <created>Sun, 10 Nov 2019 20:41:34 +0000</created>
                <updated>Thu, 19 Nov 2020 14:25:22 +0000</updated>
                            <resolved>Thu, 19 Nov 2020 14:25:22 +0000</resolved>
                                    <version>Upstream</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="258070" author="adilger" created="Sun, 10 Nov 2019 21:47:55 +0000"  >&lt;p&gt;Can you please run &quot;&lt;tt&gt;list *(target_handle_connect+0x1ca9)&lt;/tt&gt;&quot; with &lt;tt&gt;gdb&lt;/tt&gt; on the &lt;tt&gt;ptlrpc.ko&lt;/tt&gt; module to see where that is failing.&lt;/p&gt;</comment>
                            <comment id="258072" author="bzzz" created="Mon, 11 Nov 2019 05:03:16 +0000"  >&lt;p&gt;sure&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;
(gdb) list *(target_handle_connect+0x1ca9)
0x15979 is in target_handle_connect (include/linux/hrtimer.h:285).
280		&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; ktime_to_ns(timer-&amp;gt;node.expires);
281	}
282	
283	&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; inline ktime_t hrtimer_expires_remaining(&lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; struct hrtimer *timer)
284	{
285		&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; ktime_sub(timer-&amp;gt;node.expires, timer-&amp;gt;base-&amp;gt;get_time());
286	}
287	
288	&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer)
289	{
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and objdump:&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;
                        stale = target-&amp;gt;obd_stale_clients;
000000000001591a &amp;lt;target_handle_connect+0x1c7a&amp;gt; mov    0x5b8(%rbp),%r13d
0000000000015921 &amp;lt;target_handle_connect+0x1c81&amp;gt; mov    0x6dc(%rbp),%r14d
0000000000015928 &amp;lt;target_handle_connect+0x1c88&amp;gt; mov    0x5b0(%rbp),%r15d
000000000001592f &amp;lt;target_handle_connect+0x1c8f&amp;gt; mov    %eax,0x10(%rsp)
0000000000015933 &amp;lt;target_handle_connect+0x1c93&amp;gt; mov    0x688(%rbp),%rax
000000000001593a &amp;lt;target_handle_connect+0x1c9a&amp;gt; mov    %rax,0x8(%rsp)
000000000001593f &amp;lt;target_handle_connect+0x1c9f&amp;gt; mov    0x6a0(%rbp),%rax
0000000000015946 &amp;lt;target_handle_connect+0x1ca6&amp;gt; callq  *0x60(%rax)
0000000000015949 &amp;lt;target_handle_connect+0x1ca9&amp;gt; mov    0x8(%rsp),%rcx
000000000001594e &amp;lt;target_handle_connect+0x1cae&amp;gt; mov    $0x3b9aca00,%esi
                                msg = &lt;span class=&quot;code-quote&quot;&gt;&quot;to recover in&quot;&lt;/span&gt;;
0000000000015953 &amp;lt;target_handle_connect+0x1cb3&amp;gt; mov    $0x0,%r10
                        15956: R_X86_64_32S     .rodata.str1.1+0xfaa
000000000001595a &amp;lt;target_handle_connect+0x1cba&amp;gt; sub    %rax,%rcx
000000000001595d &amp;lt;target_handle_connect+0x1cbd&amp;gt; mov    %rcx,%rax
0000000000015960 &amp;lt;target_handle_connect+0x1cc0&amp;gt; cqto   
0000000000015962 &amp;lt;target_handle_connect+0x1cc2&amp;gt; idiv   %rsi
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;looks like obd_recovery_timer wasn&apos;t initialized&lt;/p&gt;</comment>
                            <comment id="258358" author="bzzz" created="Fri, 15 Nov 2019 09:13:21 +0000"  >&lt;p&gt;Lustre: DEBUG MARKER: == replay-single test 80a: DNE: create remote dir, drop update rep from MDT0, fail MDT0 ============== 14:07:34 (1573808854)&lt;br/&gt;
LustreError: 5753:0:(ldlm_lib.c:3080:target_send_reply_msg()) @@@ dropping reply  req@00000000432bd521 x1650253602473600/t365072220167(0) o1000-&amp;gt;lustre-MDT0001-mdtlov_UUID@192.168.122.230@tcp:36/0 lens 1056/4320 e 0 to 0 dl 1573808861 ref 1 fl Interpret:/0/0 rc 0/0 job:&apos;osp_up0-1.0&apos;&lt;br/&gt;
Lustre: DEBUG MARKER: mds1 REPLAY BARRIER on lustre-MDT0000&lt;br/&gt;
Lustre: DEBUG MARKER: local REPLAY BARRIER on lustre-MDT0000&lt;br/&gt;
LustreError: 8083:0:(ldlm_lib.c:1331:target_handle_connect()) ASSERTION( timer-&amp;gt;base-&amp;gt;get_time ) failed: &lt;br/&gt;
LustreError: 8083:0:(ldlm_lib.c:1331:target_handle_connect()) LBUG&lt;br/&gt;
Call Trace:&lt;br/&gt;
 ? __schedule+0x2ad/0xb00&lt;br/&gt;
 schedule+0x34/0x80&lt;br/&gt;
 lbug_with_loc+0x79/0x80 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ? target_handle_connect+0x2c62/0x2f20 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ? tgt_request_handle+0x148/0x17b0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ? ptlrpc_main+0x1182/0x3180 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ? kthread+0x100/0x140&lt;/p&gt;</comment>
                            <comment id="283618" author="aboyko" created="Thu, 29 Oct 2020 12:22:34 +0000"  >&lt;p&gt;Looks like hrtimer_expires_remaining(timer) should be changed to hrtimer_get_remaining(timer). With hrtimer_expires_remaining() race is possible with  hrtimer_start()&lt;del&gt;&amp;gt;hrtimer_start_range_ns()&lt;/del&gt;&amp;gt;switch_hrtimer_base()&lt;/p&gt;</comment>
                            <comment id="283963" author="gerrit" created="Mon, 2 Nov 2020 11:05:39 +0000"  >&lt;p&gt;Alexander Boyko (alexander.boyko@hpe.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40513&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40513&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12956&quot; title=&quot;oops in target_handle_connect()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12956&quot;&gt;&lt;del&gt;LU-12956&lt;/del&gt;&lt;/a&gt; ldlm: fix hrtimer using&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f787eddc0a1f6f41aae87ceda94dbf7fcd92f646&lt;/p&gt;</comment>
                            <comment id="285540" author="gerrit" created="Thu, 19 Nov 2020 10:19:51 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40513/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40513/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12956&quot; title=&quot;oops in target_handle_connect()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12956&quot;&gt;&lt;del&gt;LU-12956&lt;/del&gt;&lt;/a&gt; ldlm: fix hrtimer using&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 01a70a56540f095b3dc30656b7135636b4b3abef&lt;/p&gt;</comment>
                            <comment id="285569" author="pjones" created="Thu, 19 Nov 2020 14:25:22 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                    </comments>
                    <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|i00p9b:</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>