[ 37.702061][ T875] mptcp_connect (875) used greatest stack depth: 23728 bytes left [ 37.702081][ T875] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 37.702084][ T875] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 875, name: mptcp_connect [ 37.702085][ T875] preempt_count: 2, expected: 0 [ 37.702086][ T875] RCU nest depth: 0, expected: 0 [ 37.702087][ T875] locks held by mptcp_connect/875: 5, last CPU#2: [ 37.702089][ T875] #0: ffffffff9a4267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 37.702102][ T875] #1: ffffffff9a58dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 37.702107][ T875] #2: ffffffff9a58dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 37.702111][ T875] #3: ffffffff9a4ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 37.702114][ T875] #4: ffffffff9a4ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 37.702118][ T875] irq event stamp: 455042 [ 37.702119][ T875] hardirqs last enabled at (455041): [] __down_trylock_console_sem+0x86/0xa0 [ 37.702121][ T875] hardirqs last disabled at (455042): [] console_emit_next_record+0x3d4/0x4c0 [ 37.702123][ T875] softirqs last enabled at (454732): [] handle_softirqs+0x67c/0x900 [ 37.702125][ T875] softirqs last disabled at (454725): [] __irq_exit_rcu+0x145/0x1c0 [ 37.702128][ T875] Preemption disabled at: [ 37.702128][ T875] [<0000000000000000>] 0x0 [ 37.702135][ T875] CPU: 2 UID: 0 PID: 875 Comm: mptcp_connect Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 37.702139][ T875] Tainted: [W]=WARN [ 37.702140][ T875] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 37.702142][ T875] Call Trace: [ 37.702143][ T875] [ 37.702145][ T875] dump_stack_lvl+0x6f/0xa0 [ 37.702151][ T875] __might_resched.cold+0x1fe/0x2c1 [ 37.702155][ T875] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 37.702159][ T875] ? __kmalloc_noprof+0xdb/0x760 [ 37.702164][ T875] __kmalloc_noprof+0x443/0x760 [ 37.702166][ T875] ? alloc_buf.isra.0+0x4b/0x260 [ 37.702172][ T875] ? do_raw_spin_unlock+0x59/0x250 [ 37.702175][ T875] alloc_buf.isra.0+0x4b/0x260 [ 37.702178][ T875] put_chars+0x1e1/0x2f0 [ 37.702181][ T875] ? __send_to_port+0x420/0x420 [ 37.702183][ T875] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.702188][ T875] ? validate_chain+0x38b/0xc20 [ 37.702194][ T875] hvc_console_print+0x292/0x780 [ 37.702201][ T875] ? hvc_write+0x3a0/0x3a0 [ 37.702204][ T875] ? rcu_is_watching+0x16/0xd0 [ 37.702206][ T875] ? lock_acquire+0x13c/0x160 [ 37.702210][ T875] console_emit_next_record+0x22f/0x4c0 [ 37.702213][ T875] ? devkmsg_read+0x4b0/0x4b0 [ 37.702215][ T875] ? console_flush_one_record+0x106/0x710 [ 37.702218][ T875] ? rcu_is_watching+0x16/0xd0 [ 37.702220][ T875] ? lock_acquire+0x13c/0x160 [ 37.702224][ T875] console_flush_one_record+0x46f/0x710 [ 37.702227][ T875] ? console_emit_next_record+0x4c0/0x4c0 [ 37.702229][ T875] ? __lock_acquire+0x518/0xc20 [ 37.702234][ T875] console_unlock+0xee/0x1f0 [ 37.702236][ T875] ? console_flush_one_record+0x710/0x710 [ 37.702238][ T875] ? rcu_is_watching+0x16/0xd0 [ 37.702240][ T875] ? lock_acquire+0x60/0x160 [ 37.702243][ T875] ? __down_trylock_console_sem+0x5e/0xa0 [ 37.702245][ T875] ? vprintk_emit+0x320/0x3e0 [ 37.702248][ T875] vprintk_emit+0x37c/0x3e0 [ 37.702252][ T875] ? wake_up_klogd_work_func+0x90/0x90 [ 37.702253][ T875] ? do_raw_spin_unlock+0x59/0x250 [ 37.702256][ T875] ? __lock_acquire+0x518/0xc20 [ 37.702259][ T875] _printk+0xc7/0x100 [ 37.702263][ T875] ? snapshot_read.cold+0x21/0x21 [ 37.702266][ T875] ? do_raw_spin_lock+0x131/0x280 [ 37.702268][ T875] ? __rwlock_init+0x150/0x150 [ 37.702272][ T875] ? do_raw_spin_lock+0x131/0x280 [ 37.702274][ T875] do_exit.cold+0x82/0x9c [ 37.702277][ T875] ? exit_notify+0x890/0x890 [ 37.702279][ T875] ? __lock_release.isra.0+0x69/0x1a0 [ 37.702282][ T875] ? rcu_is_watching+0x16/0xd0 [ 37.702285][ T875] do_group_exit+0xb8/0x370 [ 37.702289][ T875] __x64_sys_exit_group+0x3c/0x50 [ 37.702291][ T875] x64_sys_call+0x1567/0x1570 [ 37.702293][ T875] do_syscall_64+0xff/0x530 [ 37.702296][ T875] ? exc_page_fault+0xee/0x100 [ 37.702299][ T875] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 37.702302][ T875] RIP: 0033:0x7f45005771b8 [ 37.702304][ T875] Code: Unable to access opcode bytes at 0x7f450057718e. [ 37.702305][ T875] RSP: 002b:00007ffd3787cf28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 37.702307][ T875] RAX: ffffffffffffffda RBX: 00007f45006a7f88 RCX: 00007f45005771b8 [ 37.702309][ T875] RDX: 00007f45004b4a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 37.702309][ T875] RBP: 00007ffd3787cf80 R08: 0000000000000000 R09: 0000000000000000 [ 37.702310][ T875] R10: 00007ffd3787cdc0 R11: 0000000000000246 R12: 0000000000000001 [ 37.702311][ T875] R13: 0000000000000000 R14: 00007f45006a6680 R15: 00007f45006a7fa0 [ 37.702318][ T875] [ 71.641450][ T1444] awk (1444) used greatest stack depth: 23712 bytes left [ 71.641471][ T1444] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 71.641475][ T1444] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1444, name: awk [ 71.641477][ T1444] preempt_count: 2, expected: 0 [ 71.641478][ T1444] RCU nest depth: 0, expected: 0 [ 71.641480][ T1444] locks held by awk/1444: 5, last CPU#3: [ 71.641483][ T1444] #0: ffffffff9a4267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 71.641498][ T1444] #1: ffffffff9a58dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 71.641506][ T1444] #2: ffffffff9a58dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 71.641511][ T1444] #3: ffffffff9a4ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 71.641517][ T1444] #4: ffffffff9a4ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 71.641523][ T1444] irq event stamp: 46906 [ 71.641524][ T1444] hardirqs last enabled at (46905): [] __down_trylock_console_sem+0x86/0xa0 [ 71.641527][ T1444] hardirqs last disabled at (46906): [] console_emit_next_record+0x3d4/0x4c0 [ 71.641530][ T1444] softirqs last enabled at (44932): [] handle_softirqs+0x67c/0x900 [ 71.641533][ T1444] softirqs last disabled at (44875): [] __irq_exit_rcu+0x145/0x1c0 [ 71.641536][ T1444] Preemption disabled at: [ 71.641537][ T1444] [<0000000000000000>] 0x0 [ 71.641546][ T1444] CPU: 3 UID: 0 PID: 1444 Comm: awk Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 71.641551][ T1444] Tainted: [W]=WARN [ 71.641552][ T1444] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 71.641554][ T1444] Call Trace: [ 71.641557][ T1444] [ 71.641559][ T1444] dump_stack_lvl+0x6f/0xa0 [ 71.641567][ T1444] __might_resched.cold+0x1fe/0x2c1 [ 71.641574][ T1444] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 71.641579][ T1444] ? __kmalloc_noprof+0xdb/0x760 [ 71.641586][ T1444] __kmalloc_noprof+0x443/0x760 [ 71.641589][ T1444] ? alloc_buf.isra.0+0x4b/0x260 [ 71.641599][ T1444] ? do_raw_spin_unlock+0x59/0x250 [ 71.641602][ T1444] alloc_buf.isra.0+0x4b/0x260 [ 71.641608][ T1444] put_chars+0x1e1/0x2f0 [ 71.641613][ T1444] ? __send_to_port+0x420/0x420 [ 71.641616][ T1444] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 71.641623][ T1444] ? validate_chain+0x38b/0xc20 [ 71.641632][ T1444] hvc_console_print+0x292/0x780 [ 71.641644][ T1444] ? hvc_write+0x3a0/0x3a0 [ 71.641648][ T1444] ? rcu_is_watching+0x16/0xd0 [ 71.641652][ T1444] ? lock_acquire+0x13c/0x160 [ 71.641659][ T1444] console_emit_next_record+0x22f/0x4c0 [ 71.641665][ T1444] ? devkmsg_read+0x4b0/0x4b0 [ 71.641667][ T1444] ? console_flush_one_record+0x106/0x710 [ 71.641672][ T1444] ? rcu_is_watching+0x16/0xd0 [ 71.641676][ T1444] ? lock_acquire+0x13c/0x160 [ 71.641683][ T1444] console_flush_one_record+0x46f/0x710 [ 71.641690][ T1444] ? console_emit_next_record+0x4c0/0x4c0 [ 71.641692][ T1444] ? __lock_acquire+0x518/0xc20 [ 71.641708][ T1444] console_unlock+0xee/0x1f0 [ 71.641713][ T1444] ? console_flush_one_record+0x710/0x710 [ 71.641715][ T1444] ? rcu_is_watching+0x16/0xd0 [ 71.641719][ T1444] ? lock_acquire+0x60/0x160 [ 71.641725][ T1444] ? __down_trylock_console_sem+0x5e/0xa0 [ 71.641727][ T1444] ? vprintk_emit+0x320/0x3e0 [ 71.641733][ T1444] vprintk_emit+0x37c/0x3e0 [ 71.641739][ T1444] ? wake_up_klogd_work_func+0x90/0x90 [ 71.641744][ T1444] ? __lock_acquire+0x518/0xc20 [ 71.641751][ T1444] _printk+0xc7/0x100 [ 71.641756][ T1444] ? snapshot_read.cold+0x21/0x21 [ 71.641760][ T1444] ? do_raw_spin_lock+0x131/0x280 [ 71.641764][ T1444] ? __rwlock_init+0x150/0x150 [ 71.641770][ T1444] ? do_raw_spin_lock+0x131/0x280 [ 71.641775][ T1444] do_exit.cold+0x82/0x9c [ 71.641780][ T1444] ? exit_notify+0x890/0x890 [ 71.641785][ T1444] ? __lock_release.isra.0+0x69/0x1a0 [ 71.641789][ T1444] ? rcu_is_watching+0x16/0xd0 [ 71.641796][ T1444] do_group_exit+0xb8/0x370 [ 71.641802][ T1444] __x64_sys_exit_group+0x3c/0x50 [ 71.641805][ T1444] x64_sys_call+0x1567/0x1570 [ 71.641808][ T1444] do_syscall_64+0xff/0x530 [ 71.641812][ T1444] ? exc_page_fault+0xee/0x100 [ 71.641820][ T1444] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 71.641824][ T1444] RIP: 0033:0x7fed9ad191b8 [ 71.641827][ T1444] Code: Unable to access opcode bytes at 0x7fed9ad1918e. [ 71.641829][ T1444] RSP: 002b:00007ffe2ca16c88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 71.641832][ T1444] RAX: ffffffffffffffda RBX: 00007fed9ae49f88 RCX: 00007fed9ad191b8 [ 71.641834][ T1444] RDX: 00007fed9ac29dc8 RSI: fffffffffffffc30 RDI: 0000000000000000 [ 71.641836][ T1444] RBP: 00007ffe2ca16ce0 R08: 0000000000000000 R09: 0000000000000030 [ 71.641837][ T1444] R10: 00007ffe2ca16ae0 R11: 0000000000000246 R12: 0000000000000002 [ 71.641839][ T1444] R13: 0000000000000000 R14: 00007fed9ae48680 R15: 00007fed9ae49fa0 [ 71.641852][ T1444] [ 87.411984][ C0] clocksource: Watchdog remote CPU 1 read timed out [ 87.412224][ C0] [ 87.412225][ C0] ======================================================== [ 87.412226][ C0] WARNING: possible irq lock inversion dependency detected [ 87.412229][ C0] 7.2.0-virtme #1 Tainted: G W [ 87.412231][ C0] -------------------------------------------------------- [ 87.412231][ C0] swapper/0/0 just changed the state of lock: [ 87.412232][ C0] ffffffff9a4ad660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 87.412245][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 87.412246][ C0] (fs_reclaim){+.+.}-{0:0} [ 87.412248][ C0] [ 87.412248][ C0] [ 87.412248][ C0] and interrupts could create inverse lock ordering between them. [ 87.412248][ C0] [ 87.412249][ C0] [ 87.412249][ C0] other info that might help us debug this: [ 87.412249][ C0] Possible interrupt unsafe locking scenario: [ 87.412249][ C0] [ 87.412250][ C0] CPU0 CPU1 [ 87.412250][ C0] ---- ---- [ 87.412250][ C0] lock(fs_reclaim); [ 87.412251][ C0] local_irq_disable(); [ 87.412252][ C0] lock(console_owner); [ 87.412253][ C0] lock(fs_reclaim); [ 87.412253][ C0] [ 87.412254][ C0] lock(console_owner); [ 87.412255][ C0] [ 87.412255][ C0] *** DEADLOCK *** [ 87.412255][ C0] [ 87.412255][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 87.412256][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 87.412262][ C0] #1: ffffffff9a5f28b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 87.412266][ C0] #2: ffffffff9a58dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 87.412269][ C0] #3: ffffffff9a58dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 87.412272][ C0] [ 87.412272][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 87.412276][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 87.412279][ C0] HARDIRQ-ON-W at: [ 87.412280][ C0] __lock_acquire+0x388/0xc20 [ 87.412282][ C0] lock_acquire.part.0+0xd4/0x280 [ 87.412284][ C0] fs_reclaim_acquire+0xd5/0x120 [ 87.412287][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 87.412289][ C0] kthread_create_worker_on_node+0xea/0x210 [ 87.412292][ C0] workqueue_init+0x2a/0x680 [ 87.412296][ C0] kernel_init_freeable+0x2fe/0x630 [ 87.412298][ C0] kernel_init+0x21/0x150 [ 87.412302][ C0] ret_from_fork+0x474/0x6b0 [ 87.412306][ C0] ret_from_fork_asm+0x11/0x20 [ 87.412309][ C0] SOFTIRQ-ON-W at: [ 87.412309][ C0] __lock_acquire+0x388/0xc20 [ 87.412311][ C0] lock_acquire.part.0+0xd4/0x280 [ 87.412312][ C0] fs_reclaim_acquire+0xd5/0x120 [ 87.412314][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 87.412315][ C0] kthread_create_worker_on_node+0xea/0x210 [ 87.412316][ C0] workqueue_init+0x2a/0x680 [ 87.412317][ C0] kernel_init_freeable+0x2fe/0x630 [ 87.412318][ C0] kernel_init+0x21/0x150 [ 87.412320][ C0] ret_from_fork+0x474/0x6b0 [ 87.412321][ C0] ret_from_fork_asm+0x11/0x20 [ 87.412322][ C0] INITIAL USE at: [ 87.412323][ C0] __lock_acquire+0x388/0xc20 [ 87.412324][ C0] lock_acquire.part.0+0xd4/0x280 [ 87.412326][ C0] fs_reclaim_acquire+0xd5/0x120 [ 87.412327][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 87.412328][ C0] kthread_create_worker_on_node+0xea/0x210 [ 87.412330][ C0] workqueue_init+0x2a/0x680 [ 87.412331][ C0] kernel_init_freeable+0x2fe/0x630 [ 87.412332][ C0] kernel_init+0x21/0x150 [ 87.412333][ C0] ret_from_fork+0x474/0x6b0 [ 87.412335][ C0] ret_from_fork_asm+0x11/0x20 [ 87.412336][ C0] } [ 87.412336][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 87.412340][ C0] ... acquired at: [ 87.412341][ C0] __lock_acquire+0x518/0xc20 [ 87.412342][ C0] lock_acquire.part.0+0xd4/0x280 [ 87.412343][ C0] fs_reclaim_acquire+0xd5/0x120 [ 87.412345][ C0] __kmalloc_noprof+0xd3/0x760 [ 87.412346][ C0] alloc_buf.isra.0+0x4b/0x260 [ 87.412350][ C0] put_chars+0x1e1/0x2f0 [ 87.412351][ C0] hvc_console_print+0x292/0x780 [ 87.412354][ C0] console_emit_next_record+0x22f/0x4c0 [ 87.412356][ C0] console_flush_one_record+0x46f/0x710 [ 87.412357][ C0] console_unlock+0xee/0x1f0 [ 87.412358][ C0] vprintk_emit+0x37c/0x3e0 [ 87.412360][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 87.412363][ C0] dev_printk_emit+0xb9/0xee [ 87.412365][ C0] _dev_info+0xe2/0x116 [ 87.412366][ C0] cmos_do_probe+0x8be/0x98a [ 87.412369][ C0] platform_probe+0xfe/0x1f0 [ 87.412372][ C0] call_driver_probe+0x61/0x1c0 [ 87.412373][ C0] really_probe+0x199/0x760 [ 87.412375][ C0] __driver_probe_device+0x24f/0x440 [ 87.412376][ C0] driver_probe_device+0x4a/0xf0 [ 87.412377][ C0] __driver_attach+0x1b8/0x540 [ 87.412378][ C0] bus_for_each_dev+0x130/0x1e0 [ 87.412379][ C0] bus_add_driver+0x2c8/0x530 [ 87.412380][ C0] driver_register+0x1a3/0x390 [ 87.412382][ C0] __platform_driver_probe+0x13f/0x270 [ 87.412383][ C0] cmos_init+0x31/0x40 [ 87.412386][ C0] do_one_initcall+0x124/0x4f0 [ 87.412387][ C0] kernel_init_freeable+0x596/0x630 [ 87.412388][ C0] kernel_init+0x21/0x150 [ 87.412390][ C0] ret_from_fork+0x474/0x6b0 [ 87.412392][ C0] ret_from_fork_asm+0x11/0x20 [ 87.412393][ C0] [ 87.412393][ C0] -> (console_owner){..-.}-{0:0} { [ 87.412395][ C0] IN-SOFTIRQ-W at: [ 87.412395][ C0] __lock_acquire+0x388/0xc20 [ 87.412396][ C0] lock_acquire.part.0+0xd4/0x280 [ 87.412398][ C0] console_lock_spinning_enable+0x5c/0x60 [ 87.412399][ C0] console_emit_next_record+0x1d1/0x4c0 [ 87.412400][ C0] console_flush_one_record+0x46f/0x710 [ 87.412402][ C0] console_unlock+0xee/0x1f0 [ 87.412403][ C0] vprintk_emit+0x37c/0x3e0 [ 87.412404][ C0] _printk+0xc7/0x100 [ 87.412408][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 87.412410][ C0] call_timer_fn+0x160/0x4d0 [ 87.412411][ C0] __run_timers+0x68f/0xaa0 [ 87.412413][ C0] run_timer_softirq+0xf0/0x160 [ 87.412414][ C0] handle_softirqs+0x1d3/0x900 [ 87.412416][ C0] __irq_exit_rcu+0x145/0x1c0 [ 87.412417][ C0] irq_exit_rcu+0xe/0x30 [ 87.412418][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 87.412420][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 87.412422][ C0] pv_native_safe_halt+0xf/0x10 [ 87.412424][ C0] default_idle+0x9/0x10 [ 87.412425][ C0] default_idle_call+0x6e/0xb0 [ 87.412427][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 87.412429][ C0] do_idle+0xd8/0x190 [ 87.412430][ C0] cpu_startup_entry+0x53/0x70 [ 87.412431][ C0] rest_init+0x279/0x280 [ 87.412432][ C0] start_kernel+0x3af/0x3b0 [ 87.412433][ C0] x86_64_start_reservations+0x24/0x30 [ 87.412436][ C0] x86_64_start_kernel+0x12b/0x130 [ 87.412437][ C0] common_startup_64+0x13e/0x148 [ 87.412439][ C0] INITIAL USE at: [ 87.412440][ C0] } [ 87.412441][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 87.412443][ C0] ... acquired at: [ 87.412444][ C0] mark_lock+0x1d7/0xa00 [ 87.412445][ C0] mark_usage+0x42/0x170 [ 87.412446][ C0] __lock_acquire+0x388/0xc20 [ 87.412448][ C0] lock_acquire.part.0+0xd4/0x280 [ 87.412449][ C0] console_lock_spinning_enable+0x5c/0x60 [ 87.412450][ C0] console_emit_next_record+0x1d1/0x4c0 [ 87.412451][ C0] console_flush_one_record+0x46f/0x710 [ 87.412453][ C0] console_unlock+0xee/0x1f0 [ 87.412454][ C0] vprintk_emit+0x37c/0x3e0 [ 87.412455][ C0] _printk+0xc7/0x100 [ 87.412457][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 87.412458][ C0] call_timer_fn+0x160/0x4d0 [ 87.412459][ C0] __run_timers+0x68f/0xaa0 [ 87.412461][ C0] run_timer_softirq+0xf0/0x160 [ 87.412462][ C0] handle_softirqs+0x1d3/0x900 [ 87.412463][ C0] __irq_exit_rcu+0x145/0x1c0 [ 87.412464][ C0] irq_exit_rcu+0xe/0x30 [ 87.412465][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 87.412466][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 87.412467][ C0] pv_native_safe_halt+0xf/0x10 [ 87.412469][ C0] default_idle+0x9/0x10 [ 87.412470][ C0] default_idle_call+0x6e/0xb0 [ 87.412472][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 87.412473][ C0] do_idle+0xd8/0x190 [ 87.412474][ C0] cpu_startup_entry+0x53/0x70 [ 87.412475][ C0] rest_init+0x279/0x280 [ 87.412476][ C0] start_kernel+0x3af/0x3b0 [ 87.412477][ C0] x86_64_start_reservations+0x24/0x30 [ 87.412479][ C0] x86_64_start_kernel+0x12b/0x130 [ 87.412480][ C0] common_startup_64+0x13e/0x148 [ 87.412481][ C0] [ 87.412482][ C0] [ 87.412482][ C0] stack backtrace: [ 87.412484][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 87.412487][ C0] Tainted: [W]=WARN [ 87.412488][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 87.412490][ C0] Call Trace: [ 87.412492][ C0] [ 87.412493][ C0] dump_stack_lvl+0x6f/0xa0 [ 87.412496][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 87.412499][ C0] mark_lock_irq+0x989/0x9c0 [ 87.412500][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 87.412503][ C0] mark_lock+0x1d7/0xa00 [ 87.412504][ C0] mark_usage+0x42/0x170 [ 87.412506][ C0] __lock_acquire+0x388/0xc20 [ 87.412507][ C0] lock_acquire.part.0+0xd4/0x280 [ 87.412509][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 87.412511][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412513][ C0] ? lock_acquire+0x13c/0x160 [ 87.412515][ C0] console_lock_spinning_enable+0x5c/0x60 [ 87.412516][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 87.412518][ C0] console_emit_next_record+0x1d1/0x4c0 [ 87.412520][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 87.412521][ C0] ? console_flush_one_record+0x106/0x710 [ 87.412523][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412525][ C0] ? lock_acquire+0x13c/0x160 [ 87.412526][ C0] console_flush_one_record+0x46f/0x710 [ 87.412528][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 87.412530][ C0] ? __lock_acquire+0x518/0xc20 [ 87.412532][ C0] console_unlock+0xee/0x1f0 [ 87.412533][ C0] ? console_flush_one_record+0x710/0x710 [ 87.412535][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412536][ C0] ? lock_acquire+0x60/0x160 [ 87.412538][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 87.412539][ C0] ? vprintk_emit+0x320/0x3e0 [ 87.412541][ C0] vprintk_emit+0x37c/0x3e0 [ 87.412543][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 87.412545][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 87.412547][ C0] _printk+0xc7/0x100 [ 87.412548][ C0] ? snapshot_read.cold+0x21/0x21 [ 87.412550][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 87.412552][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 87.412554][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 87.412555][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 87.412557][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 87.412558][ C0] call_timer_fn+0x160/0x4d0 [ 87.412560][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 87.412561][ C0] ? debug_object_active_state+0x430/0x430 [ 87.412564][ C0] ? find_held_lock+0x2b/0x80 [ 87.412566][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 87.412568][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412570][ C0] __run_timers+0x68f/0xaa0 [ 87.412571][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 87.412573][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 87.412575][ C0] ? __lock_acquire+0x518/0xc20 [ 87.412577][ C0] ? __rwlock_init+0x150/0x150 [ 87.412579][ C0] run_timer_softirq+0xf0/0x160 [ 87.412581][ C0] ? __run_timers+0xaa0/0xaa0 [ 87.412583][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 87.412586][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412587][ C0] handle_softirqs+0x1d3/0x900 [ 87.412589][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 87.412590][ C0] ? _local_bh_enable+0xc0/0xc0 [ 87.412592][ C0] __irq_exit_rcu+0x145/0x1c0 [ 87.412593][ C0] irq_exit_rcu+0xe/0x30 [ 87.412594][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 87.412596][ C0] [ 87.412597][ C0] [ 87.412597][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 87.412599][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 87.412602][ C0] Code: 48 8b 3d 94 a2 10 02 e8 1f 00 00 00 48 2b 05 58 f3 ab 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 d6 25 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 87.412603][ C0] RSP: 0018:ffffffff9a207cf8 EFLAGS: 00000296 [ 87.412606][ C0] RAX: 0000000000382029 RBX: ffffffff9a240600 RCX: ffffffff970f3307 [ 87.412607][ C0] RDX: ffffffff9a240600 RSI: ffffffff9a057571 RDI: ffffffff99a8d8e0 [ 87.412608][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 87.412609][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff3440fa2 [ 87.412609][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 87.412611][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 87.412613][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 87.412615][ C0] default_idle+0x9/0x10 [ 87.412616][ C0] default_idle_call+0x6e/0xb0 [ 87.412618][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 87.412619][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 87.412621][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 87.412624][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 87.412626][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412628][ C0] do_idle+0xd8/0x190 [ 87.412629][ C0] cpu_startup_entry+0x53/0x70 [ 87.412630][ C0] rest_init+0x279/0x280 [ 87.412632][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 87.412635][ C0] ? rest_init+0x280/0x280 [ 87.412636][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 87.412640][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 87.412642][ C0] ? acpi_enable+0x1e4/0x330 [ 87.412644][ C0] start_kernel+0x3af/0x3b0 [ 87.412645][ C0] x86_64_start_reservations+0x24/0x30 [ 87.412647][ C0] x86_64_start_kernel+0x12b/0x130 [ 87.412649][ C0] common_startup_64+0x13e/0x148 [ 87.412651][ C0] [ 87.412655][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 87.412657][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 87.412658][ C0] preempt_count: 103, expected: 0 [ 87.412659][ C0] RCU nest depth: 0, expected: 0 [ 87.412660][ C0] INFO: lockdep is turned off. [ 87.412661][ C0] irq event stamp: 3678317 [ 87.412661][ C0] hardirqs last enabled at (3678316): [] __down_trylock_console_sem+0x86/0xa0 [ 87.412663][ C0] hardirqs last disabled at (3678317): [] console_emit_next_record+0x3d4/0x4c0 [ 87.412665][ C0] softirqs last enabled at (3678244): [] handle_softirqs+0x67c/0x900 [ 87.412666][ C0] softirqs last disabled at (3678251): [] __irq_exit_rcu+0x145/0x1c0 [ 87.412667][ C0] Preemption disabled at: [ 87.412668][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 87.412671][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 87.412673][ C0] Tainted: [W]=WARN [ 87.412673][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 87.412674][ C0] Call Trace: [ 87.412674][ C0] [ 87.412675][ C0] dump_stack_lvl+0x6f/0xa0 [ 87.412677][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 87.412678][ C0] __might_resched.cold+0x1fe/0x2c1 [ 87.412681][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 87.412684][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412686][ C0] __kmalloc_noprof+0x443/0x760 [ 87.412687][ C0] ? __rwlock_init+0x150/0x150 [ 87.412688][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 87.412691][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 87.412692][ C0] alloc_buf.isra.0+0x4b/0x260 [ 87.412695][ C0] put_chars+0x1e1/0x2f0 [ 87.412697][ C0] ? __send_to_port+0x420/0x420 [ 87.412699][ C0] ? mark_lock+0x1d7/0xa00 [ 87.412701][ C0] hvc_console_print+0x292/0x780 [ 87.412704][ C0] ? hvc_write+0x3a0/0x3a0 [ 87.412706][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412707][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412709][ C0] console_emit_next_record+0x22f/0x4c0 [ 87.412711][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 87.412713][ C0] ? console_flush_one_record+0x106/0x710 [ 87.412715][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412716][ C0] ? lock_acquire+0x13c/0x160 [ 87.412718][ C0] console_flush_one_record+0x46f/0x710 [ 87.412720][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 87.412721][ C0] ? __lock_acquire+0x518/0xc20 [ 87.412723][ C0] console_unlock+0xee/0x1f0 [ 87.412725][ C0] ? console_flush_one_record+0x710/0x710 [ 87.412726][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412728][ C0] ? lock_acquire+0x60/0x160 [ 87.412730][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 87.412731][ C0] ? vprintk_emit+0x320/0x3e0 [ 87.412733][ C0] vprintk_emit+0x37c/0x3e0 [ 87.412735][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 87.412737][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 87.412738][ C0] _printk+0xc7/0x100 [ 87.412740][ C0] ? snapshot_read.cold+0x21/0x21 [ 87.412742][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 87.412743][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 87.412745][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 87.412747][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 87.412748][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 87.412750][ C0] call_timer_fn+0x160/0x4d0 [ 87.412757][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 87.412759][ C0] ? debug_object_active_state+0x430/0x430 [ 87.412760][ C0] ? find_held_lock+0x2b/0x80 [ 87.412762][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 87.412764][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412766][ C0] __run_timers+0x68f/0xaa0 [ 87.412767][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 87.412769][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 87.412771][ C0] ? __lock_acquire+0x518/0xc20 [ 87.412773][ C0] ? __rwlock_init+0x150/0x150 [ 87.412775][ C0] run_timer_softirq+0xf0/0x160 [ 87.412777][ C0] ? __run_timers+0xaa0/0xaa0 [ 87.412779][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 87.412780][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412785][ C0] handle_softirqs+0x1d3/0x900 [ 87.412786][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 87.412788][ C0] ? _local_bh_enable+0xc0/0xc0 [ 87.412789][ C0] __irq_exit_rcu+0x145/0x1c0 [ 87.412791][ C0] irq_exit_rcu+0xe/0x30 [ 87.412792][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 87.412794][ C0] [ 87.412794][ C0] [ 87.412795][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 87.412796][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 87.412798][ C0] Code: 48 8b 3d 94 a2 10 02 e8 1f 00 00 00 48 2b 05 58 f3 ab 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 d6 25 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 87.412799][ C0] RSP: 0018:ffffffff9a207cf8 EFLAGS: 00000296 [ 87.412800][ C0] RAX: 0000000000382029 RBX: ffffffff9a240600 RCX: ffffffff970f3307 [ 87.412801][ C0] RDX: ffffffff9a240600 RSI: ffffffff9a057571 RDI: ffffffff99a8d8e0 [ 87.412802][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 87.412802][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff3440fa2 [ 87.412803][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 87.412804][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 87.412806][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 87.412808][ C0] default_idle+0x9/0x10 [ 87.412809][ C0] default_idle_call+0x6e/0xb0 [ 87.412811][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 87.412812][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 87.412814][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 87.412817][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 87.412819][ C0] ? rcu_is_watching+0x16/0xd0 [ 87.412822][ C0] do_idle+0xd8/0x190 [ 87.412823][ C0] cpu_startup_entry+0x53/0x70 [ 87.412824][ C0] rest_init+0x279/0x280 [ 87.412826][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 87.412829][ C0] ? rest_init+0x280/0x280 [ 87.412830][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 87.412832][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 87.412834][ C0] ? acpi_enable+0x1e4/0x330 [ 87.412835][ C0] start_kernel+0x3af/0x3b0 [ 87.412837][ C0] x86_64_start_reservations+0x24/0x30 [ 87.412839][ C0] x86_64_start_kernel+0x12b/0x130 [ 87.412840][ C0] common_startup_64+0x13e/0x148 [ 87.412843][ C0]