[ 10.510308][ T187] ip (187) used greatest stack depth: 23728 bytes left [ 10.510327][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.510330][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 10.510332][ T187] preempt_count: 2, expected: 0 [ 10.510334][ T187] RCU nest depth: 0, expected: 0 [ 10.510335][ T187] locks held by ip/187: 5, last CPU#3: [ 10.510338][ T187] #0: ffffffffb22027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.510353][ T187] #1: ffffffffb2369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.510361][ T187] #2: ffffffffb2369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.510367][ T187] #3: ffffffffb2289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.510373][ T187] #4: ffffffffb2289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.510379][ T187] irq event stamp: 29664 [ 10.510380][ T187] hardirqs last enabled at (29663): [] __down_trylock_console_sem+0x86/0xa0 [ 10.510383][ T187] hardirqs last disabled at (29664): [] console_emit_next_record+0x3d4/0x4c0 [ 10.510386][ T187] softirqs last enabled at (29466): [] handle_softirqs+0x67c/0x900 [ 10.510389][ T187] softirqs last disabled at (29457): [] __irq_exit_rcu+0x145/0x1c0 [ 10.510392][ T187] Preemption disabled at: [ 10.510393][ T187] [<0000000000000000>] 0x0 [ 10.510401][ T187] CPU: 3 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.510406][ T187] Tainted: [W]=WARN [ 10.510407][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.510409][ T187] Call Trace: [ 10.510412][ T187] [ 10.510414][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.510421][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.510427][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.510433][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.510440][ T187] __kmalloc_noprof+0x443/0x760 [ 10.510444][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.510453][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.510456][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.510461][ T187] put_chars+0x1e1/0x2f0 [ 10.510465][ T187] ? __send_to_port+0x420/0x420 [ 10.510468][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.510474][ T187] ? validate_chain+0x38b/0xc20 [ 10.510483][ T187] hvc_console_print+0x292/0x780 [ 10.510493][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.510497][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.510501][ T187] ? lock_acquire+0x13c/0x160 [ 10.510508][ T187] console_emit_next_record+0x22f/0x4c0 [ 10.510514][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 10.510517][ T187] ? console_flush_one_record+0x106/0x710 [ 10.510522][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.510525][ T187] ? lock_acquire+0x13c/0x160 [ 10.510532][ T187] console_flush_one_record+0x46f/0x710 [ 10.510539][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 10.510541][ T187] ? __lock_acquire+0x518/0xc20 [ 10.510550][ T187] console_unlock+0xee/0x1f0 [ 10.510555][ T187] ? console_flush_one_record+0x710/0x710 [ 10.510557][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.510561][ T187] ? lock_acquire+0x60/0x160 [ 10.510567][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.510569][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.510575][ T187] vprintk_emit+0x37c/0x3e0 [ 10.510581][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.510586][ T187] ? __lock_acquire+0x518/0xc20 [ 10.510593][ T187] _printk+0xc7/0x100 [ 10.510598][ T187] ? snapshot_read.cold+0x21/0x21 [ 10.510602][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.510606][ T187] ? __rwlock_init+0x150/0x150 [ 10.510612][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.510617][ T187] do_exit.cold+0x82/0x9c [ 10.510622][ T187] ? exit_notify+0x890/0x890 [ 10.510625][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.510629][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.510637][ T187] do_group_exit+0xb8/0x370 [ 10.510641][ T187] __x64_sys_exit_group+0x3c/0x50 [ 10.510644][ T187] x64_sys_call+0x1567/0x1570 [ 10.510647][ T187] do_syscall_64+0xff/0x530 [ 10.510651][ T187] ? exc_page_fault+0xee/0x100 [ 10.510656][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.510660][ T187] RIP: 0033:0x7fd2989d51b8 [ 10.510662][ T187] Code: Unable to access opcode bytes at 0x7fd2989d518e. [ 10.510664][ T187] RSP: 002b:00007ffc5b788498 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.510667][ T187] RAX: ffffffffffffffda RBX: 00007fd298b05f88 RCX: 00007fd2989d51b8 [ 10.510669][ T187] RDX: 00007fd29871ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.510671][ T187] RBP: 00007ffc5b7884f0 R08: 0000000000000000 R09: 0000000000008010 [ 10.510672][ T187] R10: 00007ffc5b7882b0 R11: 0000000000000246 R12: 0000000000000001 [ 10.510674][ T187] R13: 0000000000000000 R14: 00007fd298b04680 R15: 00007fd298b05fa0 [ 10.510687][ T187] [ 12.120184][ T249] 8021q: 802.1Q VLAN Support v1.8 [ 12.120206][ T249] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.120209][ T249] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 249, name: modprobe [ 12.120211][ T249] preempt_count: 1, expected: 0 [ 12.120212][ T249] RCU nest depth: 0, expected: 0 [ 12.120214][ T249] locks held by modprobe/249: 4, last CPU#3: [ 12.120217][ T249] #0: ffffffffb2369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.120232][ T249] #1: ffffffffb2369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.120238][ T249] #2: ffffffffb2289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.120243][ T249] #3: ffffffffb2289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.120248][ T249] irq event stamp: 23676 [ 12.120249][ T249] hardirqs last enabled at (23675): [] __down_trylock_console_sem+0x86/0xa0 [ 12.120252][ T249] hardirqs last disabled at (23676): [] console_emit_next_record+0x3d4/0x4c0 [ 12.120255][ T249] softirqs last enabled at (22832): [] handle_softirqs+0x67c/0x900 [ 12.120259][ T249] softirqs last disabled at (22701): [] __irq_exit_rcu+0x145/0x1c0 [ 12.120262][ T249] Preemption disabled at: [ 12.120263][ T249] [] vprintk_emit+0x31b/0x3e0 [ 12.120270][ T249] CPU: 3 UID: 0 PID: 249 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.120274][ T249] Tainted: [W]=WARN [ 12.120275][ T249] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.120278][ T249] Call Trace: [ 12.120280][ T249] [ 12.120282][ T249] dump_stack_lvl+0x6f/0xa0 [ 12.120290][ T249] ? vprintk_emit+0x31b/0x3e0 [ 12.120293][ T249] __might_resched.cold+0x1fe/0x2c1 [ 12.120298][ T249] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.120304][ T249] ? __kmalloc_noprof+0xdb/0x760 [ 12.120311][ T249] __kmalloc_noprof+0x443/0x760 [ 12.120314][ T249] ? alloc_buf.isra.0+0x4b/0x260 [ 12.120322][ T249] ? do_raw_spin_unlock+0x59/0x250 [ 12.120326][ T249] alloc_buf.isra.0+0x4b/0x260 [ 12.120331][ T249] put_chars+0x1e1/0x2f0 [ 12.120335][ T249] ? __send_to_port+0x420/0x420 [ 12.120337][ T249] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.120343][ T249] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.120346][ T249] ? validate_chain+0x38b/0xc20 [ 12.120354][ T249] hvc_console_print+0x292/0x780 [ 12.120357][ T249] ? __lock_acquire+0x518/0xc20 [ 12.120365][ T249] ? hvc_write+0x3a0/0x3a0 [ 12.120369][ T249] ? rcu_is_watching+0x16/0xd0 [ 12.120377][ T249] console_emit_next_record+0x22f/0x4c0 [ 12.120383][ T249] ? devkmsg_read+0x4b0/0x4b0 [ 12.120386][ T249] ? console_flush_one_record+0x106/0x710 [ 12.120391][ T249] ? rcu_is_watching+0x16/0xd0 [ 12.120394][ T249] ? lock_acquire+0x13c/0x160 [ 12.120400][ T249] console_flush_one_record+0x46f/0x710 [ 12.120407][ T249] ? console_emit_next_record+0x4c0/0x4c0 [ 12.120409][ T249] ? __lock_acquire+0x518/0xc20 [ 12.120418][ T249] console_unlock+0xee/0x1f0 [ 12.120422][ T249] ? console_flush_one_record+0x710/0x710 [ 12.120424][ T249] ? rcu_is_watching+0x16/0xd0 [ 12.120428][ T249] ? lock_acquire+0x60/0x160 [ 12.120434][ T249] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.120436][ T249] ? vprintk_emit+0x320/0x3e0 [ 12.120442][ T249] vprintk_emit+0x37c/0x3e0 [ 12.120448][ T249] ? wake_up_klogd_work_func+0x90/0x90 [ 12.120457][ T249] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 12.120463][ T249] _printk+0xc7/0x100 [ 12.120467][ T249] ? snapshot_read.cold+0x21/0x21 [ 12.120477][ T249] ? do_one_initcall+0x113/0x4f0 [ 12.120482][ T249] vlan_proto_init+0x24/0x90 [8021q] [ 12.120486][ T249] do_one_initcall+0x124/0x4f0 [ 12.120489][ T249] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.120496][ T249] ? do_init_module+0xae/0x8a0 [ 12.120499][ T249] ? kasan_unpoison+0x44/0x70 [ 12.120505][ T249] do_init_module+0x2ad/0x8a0 [ 12.120510][ T249] ? lockdep_hardirqs_on+0x91/0x130 [ 12.120515][ T249] ? free_module+0x470/0x470 [ 12.120519][ T249] ? kfree+0x123/0x590 [ 12.120525][ T249] load_module+0x1424/0x1bb0 [ 12.120535][ T249] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.120540][ T249] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.120543][ T249] ? ovl_real_file+0x172/0x1e0 [ 12.120548][ T249] ? backing_file_read_iter+0x541/0x790 [ 12.120552][ T249] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.120557][ T249] init_module_from_file+0x11f/0x1a0 [ 12.120562][ T249] ? __do_sys_init_module+0x220/0x220 [ 12.120573][ T249] ? __rwlock_init+0x150/0x150 [ 12.120578][ T249] ? do_raw_spin_unlock+0x59/0x250 [ 12.120582][ T249] idempotent_init_module+0x37b/0x7c0 [ 12.120587][ T249] ? init_module_from_file+0x1a0/0x1a0 [ 12.120596][ T249] ? rcu_is_watching+0x16/0xd0 [ 12.120599][ T249] ? cap_capable+0x1d7/0x3d0 [ 12.120607][ T249] __x64_sys_finit_module+0xdf/0x190 [ 12.120610][ T249] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.120614][ T249] do_syscall_64+0xff/0x530 [ 12.120617][ T249] ? exc_page_fault+0xee/0x100 [ 12.120620][ T249] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.120623][ T249] RIP: 0033:0x7faf9e9f437d [ 12.120628][ T249] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 12.120631][ T249] RSP: 002b:00007ffc6fd3e418 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.120634][ T249] RAX: ffffffffffffffda RBX: 000055cf92c26810 RCX: 00007faf9e9f437d [ 12.120636][ T249] RDX: 0000000000000000 RSI: 000055cf5f301ffd RDI: 0000000000000000 [ 12.120637][ T249] RBP: 00007ffc6fd3e4b0 R08: 0000000000000000 R09: 0000000000000000 [ 12.120638][ T249] R10: 0000000000000000 R11: 0000000000000246 R12: 000055cf5f301ffd [ 12.120639][ T249] R13: 000055cf92c26960 R14: 0000000000040000 R15: 0000000000000000 [ 12.120649][ T249] [ 12.454806][ T260] gre: GRE over IPv4 demultiplexer driver [ 12.462635][ T260] ip_gre: GRE over IPv4 tunneling driver [ 14.423656][ T326] GACT probability NOT on [ 14.423673][ T326] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.423676][ T326] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 326, name: modprobe [ 14.423678][ T326] preempt_count: 1, expected: 0 [ 14.423679][ T326] RCU nest depth: 0, expected: 0 [ 14.423680][ T326] locks held by modprobe/326: 4, last CPU#3: [ 14.423682][ T326] #0: ffffffffb2369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.423694][ T326] #1: ffffffffb2369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.423698][ T326] #2: ffffffffb2289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.423702][ T326] #3: ffffffffb2289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.423707][ T326] irq event stamp: 20208 [ 14.423707][ T326] hardirqs last enabled at (20207): [] __down_trylock_console_sem+0x86/0xa0 [ 14.423710][ T326] hardirqs last disabled at (20208): [] console_emit_next_record+0x3d4/0x4c0 [ 14.423712][ T326] softirqs last enabled at (19220): [] handle_softirqs+0x67c/0x900 [ 14.423715][ T326] softirqs last disabled at (19215): [] __irq_exit_rcu+0x145/0x1c0 [ 14.423718][ T326] Preemption disabled at: [ 14.423718][ T326] [] vprintk_emit+0x31b/0x3e0 [ 14.423724][ T326] CPU: 3 UID: 0 PID: 326 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.423727][ T326] Tainted: [W]=WARN [ 14.423728][ T326] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.423730][ T326] Call Trace: [ 14.423732][ T326] [ 14.423733][ T326] dump_stack_lvl+0x6f/0xa0 [ 14.423739][ T326] ? vprintk_emit+0x31b/0x3e0 [ 14.423741][ T326] __might_resched.cold+0x1fe/0x2c1 [ 14.423746][ T326] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.423750][ T326] ? __kmalloc_noprof+0xdb/0x760 [ 14.423755][ T326] __kmalloc_noprof+0x443/0x760 [ 14.423757][ T326] ? alloc_buf.isra.0+0x4b/0x260 [ 14.423763][ T326] ? do_raw_spin_unlock+0x59/0x250 [ 14.423766][ T326] alloc_buf.isra.0+0x4b/0x260 [ 14.423769][ T326] put_chars+0x1e1/0x2f0 [ 14.423771][ T326] ? desc_read_finalized_seq+0x79/0x120 [ 14.423773][ T326] ? __send_to_port+0x420/0x420 [ 14.423776][ T326] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.423780][ T326] ? validate_chain+0x38b/0xc20 [ 14.423784][ T326] hvc_console_print+0x292/0x780 [ 14.423786][ T326] ? __lock_acquire+0x518/0xc20 [ 14.423788][ T326] ? __lock_acquire+0x518/0xc20 [ 14.423792][ T326] ? hvc_write+0x3a0/0x3a0 [ 14.423794][ T326] ? console_emit_next_record+0x1df/0x4c0 [ 14.423797][ T326] ? rcu_is_watching+0x16/0xd0 [ 14.423800][ T326] ? lock_acquire+0x13c/0x160 [ 14.423803][ T326] console_emit_next_record+0x22f/0x4c0 [ 14.423807][ T326] ? devkmsg_read+0x4b0/0x4b0 [ 14.423809][ T326] ? console_flush_one_record+0x106/0x710 [ 14.423812][ T326] ? rcu_is_watching+0x16/0xd0 [ 14.423814][ T326] ? lock_acquire+0x13c/0x160 [ 14.423818][ T326] console_flush_one_record+0x46f/0x710 [ 14.423822][ T326] ? console_emit_next_record+0x4c0/0x4c0 [ 14.423823][ T326] ? __lock_acquire+0x518/0xc20 [ 14.423828][ T326] console_unlock+0xee/0x1f0 [ 14.423831][ T326] ? console_flush_one_record+0x710/0x710 [ 14.423833][ T326] ? rcu_is_watching+0x16/0xd0 [ 14.423835][ T326] ? lock_acquire+0x60/0x160 [ 14.423838][ T326] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.423840][ T326] ? vprintk_emit+0x320/0x3e0 [ 14.423843][ T326] vprintk_emit+0x37c/0x3e0 [ 14.423847][ T326] ? wake_up_klogd_work_func+0x90/0x90 [ 14.423857][ T326] ? gre_exit+0x3f0/0x3f0 [gre] [ 14.423860][ T326] _printk+0xc7/0x100 [ 14.423864][ T326] ? snapshot_read.cold+0x21/0x21 [ 14.423870][ T326] ? do_one_initcall+0x113/0x4f0 [ 14.423872][ T326] gact_init_module+0x15/0x1000 [act_gact] [ 14.423878][ T326] do_one_initcall+0x124/0x4f0 [ 14.423881][ T326] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 14.423886][ T326] ? do_init_module+0xae/0x8a0 [ 14.423889][ T326] ? kasan_unpoison+0x44/0x70 [ 14.423893][ T326] do_init_module+0x2ad/0x8a0 [ 14.423897][ T326] ? lockdep_hardirqs_on+0x91/0x130 [ 14.423901][ T326] ? free_module+0x470/0x470 [ 14.423904][ T326] ? kfree+0x123/0x590 [ 14.423908][ T326] load_module+0x1424/0x1bb0 [ 14.423915][ T326] ? layout_and_allocate.isra.0+0x680/0x680 [ 14.423919][ T326] ? __ia32_sys_fsconfig+0x180/0x180 [ 14.423922][ T326] ? ovl_real_file+0x172/0x1e0 [ 14.423926][ T326] ? backing_file_read_iter+0x541/0x790 [ 14.423928][ T326] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.423932][ T326] init_module_from_file+0x11f/0x1a0 [ 14.423935][ T326] ? __do_sys_init_module+0x220/0x220 [ 14.423943][ T326] ? __rwlock_init+0x150/0x150 [ 14.423947][ T326] ? do_raw_spin_unlock+0x59/0x250 [ 14.423950][ T326] idempotent_init_module+0x37b/0x7c0 [ 14.423953][ T326] ? init_module_from_file+0x1a0/0x1a0 [ 14.423959][ T326] ? rcu_is_watching+0x16/0xd0 [ 14.423961][ T326] ? cap_capable+0x1d7/0x3d0 [ 14.423967][ T326] __x64_sys_finit_module+0xdf/0x190 [ 14.423969][ T326] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.423973][ T326] do_syscall_64+0xff/0x530 [ 14.423974][ T326] ? exc_page_fault+0xee/0x100 [ 14.423977][ T326] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.423979][ T326] RIP: 0033:0x7f8fbbc4237d [ 14.423982][ T326] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 14.423984][ T326] RSP: 002b:00007ffc583f5288 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 14.423987][ T326] RAX: ffffffffffffffda RBX: 000056004a897810 RCX: 00007f8fbbc4237d [ 14.423988][ T326] RDX: 0000000000000000 RSI: 0000560034152ffd RDI: 0000000000000000 [ 14.423989][ T326] RBP: 00007ffc583f5320 R08: 0000000000000000 R09: 0000000000000000 [ 14.423990][ T326] R10: 0000000000000000 R11: 0000000000000246 R12: 0000560034152ffd [ 14.423991][ T326] R13: 000056004a897960 R14: 0000000000040000 R15: 0000000000000000 [ 14.423997][ T326] [ 14.426007][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 14.426038][ C0] [ 14.426039][ C0] ======================================================== [ 14.426039][ C0] WARNING: possible irq lock inversion dependency detected [ 14.426040][ C0] 7.2.0-virtme #1 Tainted: G W [ 14.426042][ C0] -------------------------------------------------------- [ 14.426042][ C0] swapper/0/0 just changed the state of lock: [ 14.426043][ C0] ffffffffb2289660 (console_owner){..-.}-{0:0}, at: console_trylock_spinning+0xa4/0x1e0 [ 14.426051][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 14.426052][ C0] (fs_reclaim){+.+.}-{0:0} [ 14.426054][ C0] [ 14.426054][ C0] [ 14.426054][ C0] and interrupts could create inverse lock ordering between them. [ 14.426054][ C0] [ 14.426054][ C0] [ 14.426054][ C0] other info that might help us debug this: [ 14.426055][ C0] Possible interrupt unsafe locking scenario: [ 14.426055][ C0] [ 14.426055][ C0] CPU0 CPU1 [ 14.426056][ C0] ---- ---- [ 14.426056][ C0] lock(fs_reclaim); [ 14.426057][ C0] local_irq_disable(); [ 14.426058][ C0] lock(console_owner); [ 14.426058][ C0] lock(fs_reclaim); [ 14.426059][ C0] [ 14.426060][ C0] lock(console_owner); [ 14.426060][ C0] [ 14.426060][ C0] *** DEADLOCK *** [ 14.426060][ C0] [ 14.426061][ C0] locks held by swapper/0/0: 2, last CPU#0: [ 14.426062][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 14.426067][ C0] #1: ffffffffb23ce8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 14.426071][ C0] [ 14.426071][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 14.426075][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 14.426077][ C0] HARDIRQ-ON-W at: [ 14.426078][ C0] __lock_acquire+0x388/0xc20 [ 14.426081][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.426082][ C0] fs_reclaim_acquire+0xd5/0x120 [ 14.426084][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 14.426086][ C0] kthread_create_worker_on_node+0xea/0x210 [ 14.426089][ C0] workqueue_init+0x2a/0x680 [ 14.426092][ C0] kernel_init_freeable+0x2fe/0x630 [ 14.426094][ C0] kernel_init+0x21/0x150 [ 14.426096][ C0] ret_from_fork+0x474/0x6b0 [ 14.426099][ C0] ret_from_fork_asm+0x11/0x20 [ 14.426101][ C0] SOFTIRQ-ON-W at: [ 14.426102][ C0] __lock_acquire+0x388/0xc20 [ 14.426103][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.426105][ C0] fs_reclaim_acquire+0xd5/0x120 [ 14.426106][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 14.426107][ C0] kthread_create_worker_on_node+0xea/0x210 [ 14.426108][ C0] workqueue_init+0x2a/0x680 [ 14.426110][ C0] kernel_init_freeable+0x2fe/0x630 [ 14.426110][ C0] kernel_init+0x21/0x150 [ 14.426112][ C0] ret_from_fork+0x474/0x6b0 [ 14.426113][ C0] ret_from_fork_asm+0x11/0x20 [ 14.426114][ C0] INITIAL USE at: [ 14.426115][ C0] __lock_acquire+0x388/0xc20 [ 14.426117][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.426118][ C0] fs_reclaim_acquire+0xd5/0x120 [ 14.426119][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 14.426120][ C0] kthread_create_worker_on_node+0xea/0x210 [ 14.426122][ C0] workqueue_init+0x2a/0x680 [ 14.426123][ C0] kernel_init_freeable+0x2fe/0x630 [ 14.426124][ C0] kernel_init+0x21/0x150 [ 14.426125][ C0] ret_from_fork+0x474/0x6b0 [ 14.426126][ C0] ret_from_fork_asm+0x11/0x20 [ 14.426128][ C0] } [ 14.426128][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 14.426132][ C0] ... acquired at: [ 14.426133][ C0] __lock_acquire+0x518/0xc20 [ 14.426134][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.426136][ C0] fs_reclaim_acquire+0xd5/0x120 [ 14.426137][ C0] __kmalloc_noprof+0xd3/0x760 [ 14.426138][ C0] alloc_buf.isra.0+0x4b/0x260 [ 14.426139][ C0] put_chars+0x1e1/0x2f0 [ 14.426141][ C0] hvc_console_print+0x292/0x780 [ 14.426142][ C0] console_emit_next_record+0x22f/0x4c0 [ 14.426143][ C0] console_flush_one_record+0x46f/0x710 [ 14.426145][ C0] console_unlock+0xee/0x1f0 [ 14.426147][ C0] vprintk_emit+0x37c/0x3e0 [ 14.426149][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 14.426152][ C0] dev_printk_emit+0xb9/0xee [ 14.426154][ C0] _dev_info+0xe2/0x116 [ 14.426155][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 14.426158][ C0] cmos_do_probe+0x73b/0x98a [ 14.426160][ C0] platform_probe+0xfe/0x1f0 [ 14.426163][ C0] call_driver_probe+0x61/0x1c0 [ 14.426165][ C0] really_probe+0x199/0x760 [ 14.426166][ C0] __driver_probe_device+0x24f/0x440 [ 14.426168][ C0] driver_probe_device+0x4a/0xf0 [ 14.426169][ C0] __driver_attach+0x1b8/0x540 [ 14.426170][ C0] bus_for_each_dev+0x130/0x1e0 [ 14.426172][ C0] bus_add_driver+0x2c8/0x530 [ 14.426173][ C0] driver_register+0x1a3/0x390 [ 14.426174][ C0] __platform_driver_probe+0x13f/0x270 [ 14.426176][ C0] cmos_init+0x31/0x40 [ 14.426179][ C0] do_one_initcall+0x124/0x4f0 [ 14.426180][ C0] kernel_init_freeable+0x596/0x630 [ 14.426181][ C0] kernel_init+0x21/0x150 [ 14.426183][ C0] ret_from_fork+0x474/0x6b0 [ 14.426184][ C0] ret_from_fork_asm+0x11/0x20 [ 14.426185][ C0] [ 14.426185][ C0] -> (console_owner){..-.}-{0:0} { [ 14.426187][ C0] IN-SOFTIRQ-W at: [ 14.426188][ C0] __lock_acquire+0x388/0xc20 [ 14.426189][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.426191][ C0] console_trylock_spinning+0xb5/0x1e0 [ 14.426192][ C0] vprintk_emit+0x320/0x3e0 [ 14.426194][ C0] _printk+0xc7/0x100 [ 14.426196][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 14.426198][ C0] call_timer_fn+0x160/0x4d0 [ 14.426200][ C0] __run_timers+0x68f/0xaa0 [ 14.426201][ C0] run_timer_softirq+0xf0/0x160 [ 14.426203][ C0] handle_softirqs+0x1d3/0x900 [ 14.426205][ C0] __irq_exit_rcu+0x145/0x1c0 [ 14.426206][ C0] irq_exit_rcu+0xe/0x30 [ 14.426207][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 14.426209][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.426211][ C0] pv_native_safe_halt+0xf/0x10 [ 14.426212][ C0] default_idle+0x9/0x10 [ 14.426214][ C0] default_idle_call+0x6e/0xb0 [ 14.426215][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 14.426217][ C0] do_idle+0xd8/0x190 [ 14.426218][ C0] cpu_startup_entry+0x53/0x70 [ 14.426220][ C0] rest_init+0x279/0x280 [ 14.426221][ C0] start_kernel+0x3af/0x3b0 [ 14.426222][ C0] x86_64_start_reservations+0x24/0x30 [ 14.426224][ C0] x86_64_start_kernel+0x12b/0x130 [ 14.426226][ C0] common_startup_64+0x13e/0x148 [ 14.426228][ C0] INITIAL USE at: [ 14.426229][ C0] } [ 14.426229][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 14.426232][ C0] ... acquired at: [ 14.426233][ C0] mark_lock+0x1d7/0xa00 [ 14.426234][ C0] mark_usage+0x42/0x170 [ 14.426235][ C0] __lock_acquire+0x388/0xc20 [ 14.426236][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.426238][ C0] console_trylock_spinning+0xb5/0x1e0 [ 14.426239][ C0] vprintk_emit+0x320/0x3e0 [ 14.426241][ C0] _printk+0xc7/0x100 [ 14.426242][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 14.426243][ C0] call_timer_fn+0x160/0x4d0 [ 14.426245][ C0] __run_timers+0x68f/0xaa0 [ 14.426246][ C0] run_timer_softirq+0xf0/0x160 [ 14.426248][ C0] handle_softirqs+0x1d3/0x900 [ 14.426249][ C0] __irq_exit_rcu+0x145/0x1c0 [ 14.426250][ C0] irq_exit_rcu+0xe/0x30 [ 14.426251][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 14.426252][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.426254][ C0] pv_native_safe_halt+0xf/0x10 [ 14.426255][ C0] default_idle+0x9/0x10 [ 14.426257][ C0] default_idle_call+0x6e/0xb0 [ 14.426258][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 14.426260][ C0] do_idle+0xd8/0x190 [ 14.426261][ C0] cpu_startup_entry+0x53/0x70 [ 14.426262][ C0] rest_init+0x279/0x280 [ 14.426263][ C0] start_kernel+0x3af/0x3b0 [ 14.426264][ C0] x86_64_start_reservations+0x24/0x30 [ 14.426266][ C0] x86_64_start_kernel+0x12b/0x130 [ 14.426267][ C0] common_startup_64+0x13e/0x148 [ 14.426268][ C0] [ 14.426269][ C0] [ 14.426269][ C0] stack backtrace: [ 14.426271][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.426274][ C0] Tainted: [W]=WARN [ 14.426274][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.426275][ C0] Call Trace: [ 14.426276][ C0] [ 14.426277][ C0] dump_stack_lvl+0x6f/0xa0 [ 14.426281][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 14.426283][ C0] mark_lock_irq+0x989/0x9c0 [ 14.426285][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 14.426288][ C0] mark_lock+0x1d7/0xa00 [ 14.426290][ C0] mark_usage+0x42/0x170 [ 14.426291][ C0] __lock_acquire+0x388/0xc20 [ 14.426293][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.426295][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 14.426297][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.426299][ C0] ? lock_acquire+0x13c/0x160 [ 14.426301][ C0] console_trylock_spinning+0xb5/0x1e0 [ 14.426303][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 14.426304][ C0] vprintk_emit+0x320/0x3e0 [ 14.426306][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 14.426309][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 14.426311][ C0] _printk+0xc7/0x100 [ 14.426312][ C0] ? snapshot_read.cold+0x21/0x21 [ 14.426314][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 14.426316][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 14.426318][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 14.426319][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 14.426321][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 14.426323][ C0] call_timer_fn+0x160/0x4d0 [ 14.426325][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 14.426326][ C0] ? debug_object_active_state+0x430/0x430 [ 14.426330][ C0] ? find_held_lock+0x2b/0x80 [ 14.426331][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 14.426333][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.426335][ C0] __run_timers+0x68f/0xaa0 [ 14.426337][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 14.426339][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 14.426341][ C0] ? __lock_acquire+0x518/0xc20 [ 14.426343][ C0] ? __rwlock_init+0x150/0x150 [ 14.426346][ C0] run_timer_softirq+0xf0/0x160 [ 14.426348][ C0] ? __run_timers+0xaa0/0xaa0 [ 14.426349][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.426351][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.426353][ C0] handle_softirqs+0x1d3/0x900 [ 14.426355][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 14.426356][ C0] ? _local_bh_enable+0xc0/0xc0 [ 14.426358][ C0] __irq_exit_rcu+0x145/0x1c0 [ 14.426360][ C0] irq_exit_rcu+0xe/0x30 [ 14.426361][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 14.426363][ C0] [ 14.426364][ C0] [ 14.426364][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 14.426366][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.426367][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 14.426370][ C0] Code: 48 8b 3d 94 e2 f5 01 e8 1f 00 00 00 48 2b 05 58 a3 95 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 96 11 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 14.426371][ C0] RSP: 0018:ffffffffb2007cf8 EFLAGS: 00000296 [ 14.426373][ C0] RAX: 000000000007bae3 RBX: ffffffffb201c600 RCX: ffffffffaf0f0307 [ 14.426374][ C0] RDX: ffffffffb201c600 RSI: ffffffffb1e38b01 RDI: ffffffffb188d8e0 [ 14.426375][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 14.426375][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff6400fa2 [ 14.426376][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 14.426378][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 14.426380][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 14.426381][ C0] default_idle+0x9/0x10 [ 14.426383][ C0] default_idle_call+0x6e/0xb0 [ 14.426385][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 14.426386][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 14.426388][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 14.426390][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.426392][ C0] do_idle+0xd8/0x190 [ 14.426394][ C0] cpu_startup_entry+0x53/0x70 [ 14.426395][ C0] rest_init+0x279/0x280 [ 14.426397][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 14.426400][ C0] ? rest_init+0x280/0x280 [ 14.426402][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 14.426405][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 14.426408][ C0] ? acpi_enable+0x1e4/0x330 [ 14.426410][ C0] start_kernel+0x3af/0x3b0 [ 14.426412][ C0] x86_64_start_reservations+0x24/0x30 [ 14.426414][ C0] x86_64_start_kernel+0x12b/0x130 [ 14.426415][ C0] common_startup_64+0x13e/0x148 [ 14.426418][ C0]