[LU-17059] BUG: unable to handle kernel paging request in osc_extent_put() Created: 29/Aug/23  Updated: 29/Aug/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Attachments: Text File serial.txt    
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
[ 7065.812346] Lustre: DEBUG MARKER: == sanity test 226c: call path2fid and fid2path under remote dir with subdir mount ========================================================== 11:39:48 (1693309188)
[ 7066.097887] Lustre: Mounted lustre-client
[ 7066.958747] systemd[1]: mnt-submnt.mount: Succeeded.
[ 7067.025328] BUG: unable to handle kernel paging request at ffff8f75cb9be538
[ 7067.025564] PGD 224e01067 P4D 224e01067 PUD 339925067 PMD 3398c8067 PTE 800ffffd34641060
[ 7067.025724] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[ 7067.025830] CPU: 0 PID: 187571 Comm: ptlrpcd_00_00 Tainted: G        W  O     --------- -  - 4.18.0 #2
[ 7067.026018] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 7067.026151] RIP: 0010:do_raw_spin_trylock+0x0/0x40
[ 7067.026257] Code: 12 1e bb 86 48 89 df e8 be fe ff ff eb 8a 89 c6 48 89 df e8 12 e3 ff ff 66 90 eb 8b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <8b> 07 85 c0 75 0d ba 01 00 00 00 f0 0f b1 17 85 c0 74 03 31 c0 c3
[ 7067.026648] RSP: 0018:ffff8f75f5ebbb88 EFLAGS: 00010046
[ 7067.026752] RAX: 0000000000000001 RBX: ffff8f75cb9be550 RCX: 0000000000000001
[ 7067.026909] RDX: 0000000000000001 RSI: 00000000f6de3d3b RDI: ffff8f75cb9be538
[ 7067.027069] RBP: ffff8f75cb9be538 R08: ffff8f762ad05200 R09: ffff8f762ad051c8
[ 7067.030259] R10: 0000000000000000 R11: 00000000ffffffff R12: 0000000000000296
[ 7067.030415] R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
[ 7067.030570] FS:  0000000000000000(0000) GS:ffff8f762ca00000(0000) knlGS:0000000000000000
[ 7067.030724] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7067.030853] CR2: ffff8f75cb9be538 CR3: 000000031a054000 CR4: 00000000000006b0
[ 7067.031017] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 7067.031170] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 7067.031323] Call Trace:
[ 7067.031382]  _raw_spin_lock_irqsave+0x46/0x80
[ 7067.031491]  ? __wake_up_common_lock+0x4e/0x90
[ 7067.031596]  __wake_up_common_lock+0x4e/0x90
[ 7067.031716]  osc_extent_put+0x7a/0x200 [osc]
[ 7067.031832]  osc_extent_finish+0x450/0xa90 [osc]
[ 7067.031952]  ? brw_interpret+0xc91/0x2c30 [osc]
[ 7067.032066]  brw_interpret+0x506/0x2c30 [osc]
[ 7067.032232]  ptlrpc_check_set+0x52d/0x3180 [ptlrpc]
[ 7067.032378]  ptlrpcd+0x818/0xa00 [ptlrpc]
[ 7067.032465]  ? do_wait_intr_irq+0x80/0x80
[ 7067.032578]  ? ptlrpc_disconnect_import+0x940/0x940 [ptlrpc]
[ 7067.032715]  kthread+0x129/0x140


 Comments   
Comment by Alex Zhuravlev [ 29/Aug/23 ]
PID: 187571   TASK: ffff8f762ad04500  CPU: 0    COMMAND: "ptlrpcd_00_00"
 #0 [ffff8f75f5ebb9e8] panic at ffffffff860b9786
    /tmp/kernel/kernel/panic.c: 299
 #1 [ffff8f75f5ebba80] no_context at ffffffff860a9563
    /tmp/kernel/arch/x86/mm/fault.c: 799
 #2 [ffff8f75f5ebbad0] page_fault at ffffffff86600f0e
    /tmp/kernel/arch/x86/entry/entry_64.S: 1220
    [exception RIP: do_raw_spin_trylock]
    RIP: ffffffff860fcf80  RSP: ffff8f75f5ebbb88  RFLAGS: 00010046
    RAX: 0000000000000001  RBX: ffff8f75cb9be550  RCX: 0000000000000001
    RDX: 0000000000000001  RSI: 00000000f6de3d3b  RDI: ffff8f75cb9be538
    RBP: ffff8f75cb9be538   R8: ffff8f762ad05200   R9: ffff8f762ad051c8
    R10: 0000000000000000  R11: 00000000ffffffff  R12: 0000000000000296
    R13: 0000000000000003  R14: 0000000000000000  R15: 0000000000000000
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
    /tmp/kernel/./include/linux/compiler.h: 276
 #3 [ffff8f75f5ebbb88] _raw_spin_lock_irqsave at ffffffff865a7c46
    /tmp/kernel/./include/linux/spinlock_api_smp.h: 117
 #4 [ffff8f75f5ebbbb0] __wake_up_common_lock at ffffffff860ee6ce
    /tmp/kernel/kernel/sched/wait.c: 119
 #5 [ffff8f75f5ebbc10] osc_extent_put at ffffffffc0f8a1ea [osc]
    /home/lustre/master-mine/lustre/osc/osc_cache.c: 386
 #6 [ffff8f75f5ebbc28] osc_extent_finish at ffffffffc0f8f300 [osc]
    /home/lustre/master-mine/libcfs/include/libcfs/libcfs_debug.h: 155
 #7 [ffff8f75f5ebbcb0] brw_interpret at ffffffffc0f73a76 [osc]
    /home/lustre/master-mine/lustre/osc/osc_request.c: 2605
 #8 [ffff8f75f5ebbd70] ptlrpc_check_set at ffffffffc0c9330d [ptlrpc]
    /home/lustre/master-mine/lustre/include/lustre_net.h: 1154
 #9 [ffff8f75f5ebbe10] ptlrpcd at ffffffffc0cc0238 [ptlrpc]
    /home/lustre/master-mine/lustre/ptlrpc/ptlrpcd.c: 364
#10 [ffff8f75f5ebbf10] kthread at ffffffff860d5199
    /tmp/kernel/kernel/kthread.c: 340
#11 [ffff8f75f5ebbf50] ret_from_fork at ffffffff8660019f
    /tmp/kernel/arch/x86/entry/entry_64.S: 325
Generated at Sat Feb 10 03:32:17 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.