[ 12.919155][ C3] [ 12.919304][ C3] ================================ [ 12.919492][ C3] WARNING: inconsistent lock state [ 12.919679][ C3] 6.15.0-virtme #1 Not tainted [ 12.919865][ C3] -------------------------------- [ 12.920055][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.920292][ C3] ksoftirqd/3/32 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.920522][ C3] ffffffff9e9c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.920862][ C3] {SOFTIRQ-ON-W} state was registered at: [ 12.921039][ C3] __lock_acquire+0x20b/0x7e0 [ 12.921233][ C3] lock_acquire.part.0+0xb6/0x240 [ 12.921418][ C3] _raw_spin_lock+0x33/0x40 [ 12.921600][ C3] simple_pin_fs+0x24/0x150 [ 12.921779][ C3] start_creating.part.0+0x52/0x310 [ 12.921961][ C3] debugfs_create_dir+0x6a/0x540 [ 12.922139][ C3] component_debug_init+0x17/0x30 [ 12.922324][ C3] do_one_initcall+0x8f/0x1e0 [ 12.922504][ C3] do_initcalls+0x176/0x280 [ 12.922685][ C3] kernel_init_freeable+0x22d/0x300 [ 12.922879][ C3] kernel_init+0x20/0x200 [ 12.923061][ C3] ret_from_fork+0x240/0x320 [ 12.923242][ C3] ret_from_fork_asm+0x1a/0x30 [ 12.923429][ C3] irq event stamp: 203574 [ 12.923565][ C3] hardirqs last enabled at (203574): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.923915][ C3] hardirqs last disabled at (203573): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.924281][ C3] softirqs last enabled at (203548): [] handle_softirqs+0x358/0x620 [ 12.924629][ C3] softirqs last disabled at (203555): [] run_ksoftirqd+0x3f/0x70 [ 12.924978][ C3] [ 12.924978][ C3] other info that might help us debug this: [ 12.925249][ C3] Possible unsafe locking scenario: [ 12.925249][ C3] [ 12.925519][ C3] CPU0 [ 12.925656][ C3] ---- [ 12.925789][ C3] lock(pin_fs_lock); [ 12.925928][ C3] [ 12.926056][ C3] lock(pin_fs_lock); [ 12.926192][ C3] [ 12.926192][ C3] *** DEADLOCK *** [ 12.926192][ C3] [ 12.926467][ C3] 1 lock held by ksoftirqd/3/32: [ 12.926652][ C3] #0: ffffffff9e7774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.926972][ C3] [ 12.926972][ C3] stack backtrace: [ 12.927197][ C3] CPU: 3 UID: 0 PID: 32 Comm: ksoftirqd/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.927202][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.927205][ C3] Call Trace: [ 12.927207][ C3] [ 12.927209][ C3] dump_stack_lvl+0x82/0xd0 [ 12.927216][ C3] print_usage_bug.part.0+0x25f/0x360 [ 12.927221][ C3] mark_lock_irq+0x343/0x400 [ 12.927226][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 12.927232][ C3] ? save_trace+0x52/0x170 [ 12.927236][ C3] mark_lock+0x174/0x2f0 [ 12.927240][ C3] mark_usage+0x46/0x150 [ 12.927243][ C3] __lock_acquire+0x20b/0x7e0 [ 12.927247][ C3] ? __lock_acquire+0x44d/0x7e0 [ 12.927251][ C3] lock_acquire.part.0+0xb6/0x240 [ 12.927255][ C3] ? simple_pin_fs+0x24/0x150 [ 12.927258][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.927264][ C3] ? lock_acquire+0x10c/0x170 [ 12.927267][ C3] ? simple_pin_fs+0x24/0x150 [ 12.927271][ C3] _raw_spin_lock+0x33/0x40 [ 12.927274][ C3] ? simple_pin_fs+0x24/0x150 [ 12.927276][ C3] simple_pin_fs+0x24/0x150 [ 12.927280][ C3] debugfs_remove+0x35/0x70 [ 12.927284][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 12.927289][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.927293][ C3] ? __sk_destruct+0x383/0x780 [ 12.927299][ C3] ? rcu_do_batch+0x34c/0xf20 [ 12.927302][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.927305][ C3] ? smpboot_thread_fn+0x30a/0x960 [ 12.927309][ C3] ? kthread+0x37e/0x600 [ 12.927313][ C3] ? ret_from_fork+0x240/0x320 [ 12.927316][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 12.927319][ C3] ? migrate_enable+0x1f2/0x270 [ 12.927324][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 12.927329][ C3] __put_net+0x19/0x60 [ 12.927334][ C3] __sk_destruct+0x58a/0x780 [ 12.927338][ C3] ? rcu_do_batch+0x34a/0xf20 [ 12.927341][ C3] rcu_do_batch+0x34c/0xf20 [ 12.927344][ C3] ? __schedule+0x87b/0x1b00 [ 12.927350][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.927353][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.927357][ C3] ? note_gp_changes+0x182/0x1e0 [ 12.927360][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.927366][ C3] rcu_core+0x2bb/0x500 [ 12.927372][ C3] handle_softirqs+0x218/0x620 [ 12.927376][ C3] ? __pfx_run_ksoftirqd+0x10/0x10 [ 12.927380][ C3] run_ksoftirqd+0x3f/0x70 [ 12.927383][ C3] smpboot_thread_fn+0x30a/0x960 [ 12.927386][ C3] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 12.927389][ C3] kthread+0x37e/0x600 [ 12.927392][ C3] ? __pfx_kthread+0x10/0x10 [ 12.927394][ C3] ? ret_from_fork+0x1b/0x320 [ 12.927397][ C3] ? __lock_release+0x5d/0x170 [ 12.927401][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.927404][ C3] ? __pfx_kthread+0x10/0x10 [ 12.927407][ C3] ret_from_fork+0x240/0x320 [ 12.927410][ C3] ? __pfx_kthread+0x10/0x10 [ 12.927413][ C3] ret_from_fork_asm+0x1a/0x30 [ 12.927419][ C3] [ 12.937681][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.937973][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 32, name: ksoftirqd/3 [ 12.938266][ C3] preempt_count: 100, expected: 0 [ 12.938429][ C3] RCU nest depth: 0, expected: 0 [ 12.938590][ C3] INFO: lockdep is turned off. [ 12.938753][ C3] Preemption disabled at: [ 12.938755][ C3] [] handle_softirqs+0xe5/0x620 [ 12.939092][ C3] CPU: 3 UID: 0 PID: 32 Comm: ksoftirqd/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.939097][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.939098][ C3] Call Trace: [ 12.939100][ C3] [ 12.939102][ C3] dump_stack_lvl+0xb0/0xd0 [ 12.939108][ C3] __might_resched+0x360/0x5a0 [ 12.939117][ C3] down_write+0x72/0x210 [ 12.939121][ C3] ? __pfx_down_write+0x10/0x10 [ 12.939124][ C3] ? simple_recursive_removal+0x33/0x610 [ 12.939128][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.939134][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 12.939138][ C3] simple_recursive_removal+0x6a/0x610 [ 12.939141][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 12.939144][ C3] ? __pfx_remove_one+0x10/0x10 [ 12.939149][ C3] debugfs_remove+0x44/0x70 [ 12.939152][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 12.939157][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.939159][ C3] ? __sk_destruct+0x383/0x780 [ 12.939164][ C3] ? rcu_do_batch+0x34c/0xf20 [ 12.939168][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.939170][ C3] ? smpboot_thread_fn+0x30a/0x960 [ 12.939173][ C3] ? kthread+0x37e/0x600 [ 12.939177][ C3] ? ret_from_fork+0x240/0x320 [ 12.939182][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 12.939186][ C3] ? migrate_enable+0x1f2/0x270 [ 12.939191][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 12.939196][ C3] __put_net+0x19/0x60 [ 12.939201][ C3] __sk_destruct+0x58a/0x780 [ 12.939205][ C3] ? rcu_do_batch+0x34a/0xf20 [ 12.939207][ C3] rcu_do_batch+0x34c/0xf20 [ 12.939211][ C3] ? __schedule+0x87b/0x1b00 [ 12.939216][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.939220][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.939224][ C3] ? note_gp_changes+0x182/0x1e0 [ 12.939226][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.939232][ C3] rcu_core+0x2bb/0x500 [ 12.939237][ C3] handle_softirqs+0x218/0x620 [ 12.939242][ C3] ? __pfx_run_ksoftirqd+0x10/0x10 [ 12.939246][ C3] run_ksoftirqd+0x3f/0x70 [ 12.939249][ C3] smpboot_thread_fn+0x30a/0x960 [ 12.939252][ C3] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 12.939256][ C3] kthread+0x37e/0x600 [ 12.939259][ C3] ? __pfx_kthread+0x10/0x10 [ 12.939262][ C3] ? ret_from_fork+0x1b/0x320 [ 12.939264][ C3] ? __lock_release+0x5d/0x170 [ 12.939269][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.939273][ C3] ? __pfx_kthread+0x10/0x10 [ 12.939276][ C3] ret_from_fork+0x240/0x320 [ 12.939279][ C3] ? __pfx_kthread+0x10/0x10 [ 12.939282][ C3] ret_from_fork_asm+0x1a/0x30 [ 12.939288][ C3] [ 66.165029][ T229] bench-lookups_i (229) used greatest stack depth: 24272 bytes left