[ 11.300499][ T194] ip (194) used greatest stack depth: 23856 bytes left [ 11.300519][ T194] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.300521][ T194] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 194, name: ip [ 11.300523][ T194] preempt_count: 2, expected: 0 [ 11.300524][ T194] RCU nest depth: 0, expected: 0 [ 11.300525][ T194] locks held by ip/194: 5, last CPU#0: [ 11.300527][ T194] #0: ffffffffb3c02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 11.300539][ T194] #1: ffffffffb3d6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.300544][ T194] #2: ffffffffb3d6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.300548][ T194] #3: ffffffffb3c89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.300551][ T194] #4: ffffffffb3c89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.300555][ T194] irq event stamp: 29734 [ 11.300556][ T194] hardirqs last enabled at (29733): [] __down_trylock_console_sem+0x86/0xa0 [ 11.300559][ T194] hardirqs last disabled at (29734): [] console_emit_next_record+0x3d4/0x4c0 [ 11.300561][ T194] softirqs last enabled at (28178): [] netlink_release+0x17b/0xcf0 [ 11.300565][ T194] softirqs last disabled at (28176): [] netlink_release+0xd2/0xcf0 [ 11.300567][ T194] Preemption disabled at: [ 11.300568][ T194] [<0000000000000000>] 0x0 [ 11.300575][ T194] CPU: 0 UID: 0 PID: 194 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.300579][ T194] Tainted: [W]=WARN [ 11.300580][ T194] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.300581][ T194] Call Trace: [ 11.300583][ T194] [ 11.300584][ T194] dump_stack_lvl+0x6f/0xa0 [ 11.300590][ T194] __might_resched.cold+0x1fe/0x2c1 [ 11.300594][ T194] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.300597][ T194] ? __kmalloc_noprof+0xdb/0x760 [ 11.300603][ T194] __kmalloc_noprof+0x443/0x760 [ 11.300605][ T194] ? alloc_buf.isra.0+0x4b/0x260 [ 11.300612][ T194] ? do_raw_spin_unlock+0x59/0x250 [ 11.300615][ T194] alloc_buf.isra.0+0x4b/0x260 [ 11.300618][ T194] put_chars+0x1e1/0x2f0 [ 11.300621][ T194] ? __send_to_port+0x420/0x420 [ 11.300628][ T194] hvc_console_print+0x292/0x780 [ 11.300635][ T194] ? hvc_write+0x3a0/0x3a0 [ 11.300638][ T194] ? lock_acquire+0x13c/0x160 [ 11.300642][ T194] console_emit_next_record+0x22f/0x4c0 [ 11.300646][ T194] ? devkmsg_read+0x4b0/0x4b0 [ 11.300647][ T194] ? console_flush_one_record+0x106/0x710 [ 11.300650][ T194] ? rcu_is_watching+0x16/0xd0 [ 11.300653][ T194] ? lock_acquire+0x13c/0x160 [ 11.300658][ T194] console_flush_one_record+0x46f/0x710 [ 11.300661][ T194] ? console_emit_next_record+0x4c0/0x4c0 [ 11.300663][ T194] ? __lock_acquire+0x518/0xc20 [ 11.300668][ T194] console_unlock+0xee/0x1f0 [ 11.300671][ T194] ? console_flush_one_record+0x710/0x710 [ 11.300672][ T194] ? rcu_is_watching+0x16/0xd0 [ 11.300674][ T194] ? lock_acquire+0x60/0x160 [ 11.300678][ T194] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.300680][ T194] ? vprintk_emit+0x320/0x3e0 [ 11.300683][ T194] vprintk_emit+0x37c/0x3e0 [ 11.300686][ T194] ? wake_up_klogd_work_func+0x90/0x90 [ 11.300689][ T194] ? __lock_acquire+0x518/0xc20 [ 11.300693][ T194] _printk+0xc7/0x100 [ 11.300697][ T194] ? snapshot_read.cold+0x21/0x21 [ 11.300700][ T194] ? do_raw_spin_lock+0x131/0x280 [ 11.300702][ T194] ? __rwlock_init+0x150/0x150 [ 11.300707][ T194] ? do_raw_spin_lock+0x131/0x280 [ 11.300710][ T194] do_exit.cold+0x82/0x9c [ 11.300714][ T194] ? exit_notify+0x890/0x890 [ 11.300715][ T194] ? __lock_release.isra.0+0x69/0x1a0 [ 11.300718][ T194] ? rcu_is_watching+0x16/0xd0 [ 11.300722][ T194] do_group_exit+0xb8/0x370 [ 11.300725][ T194] __x64_sys_exit_group+0x3c/0x50 [ 11.300727][ T194] x64_sys_call+0x1567/0x1570 [ 11.300730][ T194] do_syscall_64+0x10e/0x570 [ 11.300733][ T194] ? exc_page_fault+0xee/0x100 [ 11.300736][ T194] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.300739][ T194] RIP: 0033:0x7ff5e414c1b8 [ 11.300741][ T194] Code: Unable to access opcode bytes at 0x7ff5e414c18e. [ 11.300742][ T194] RSP: 002b:00007ffe10563d68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.300744][ T194] RAX: ffffffffffffffda RBX: 00007ff5e427cf88 RCX: 00007ff5e414c1b8 [ 11.300746][ T194] RDX: 00007ff5e3e96fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.300747][ T194] RBP: 00007ffe10563dc0 R08: 0000000000000000 R09: 0000000000000050 [ 11.300748][ T194] R10: 00007ffe10563b80 R11: 0000000000000246 R12: 0000000000000001 [ 11.300749][ T194] R13: 0000000000000000 R14: 00007ff5e427b680 R15: 00007ff5e427cfa0 [ 11.300756][ T194] [ 17.635254][ T377] ip (377) used greatest stack depth: 23632 bytes left [ 17.635278][ T377] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.635281][ T377] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 377, name: ip [ 17.635282][ T377] preempt_count: 2, expected: 0 [ 17.635283][ T377] RCU nest depth: 0, expected: 0 [ 17.635285][ T377] locks held by ip/377: 5, last CPU#2: [ 17.635288][ T377] #0: ffffffffb3c02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 17.635302][ T377] #1: ffffffffb3d6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.635307][ T377] #2: ffffffffb3d6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.635311][ T377] #3: ffffffffb3c89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.635314][ T377] #4: ffffffffb3c89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.635318][ T377] irq event stamp: 40074 [ 17.635319][ T377] hardirqs last enabled at (40073): [] irqentry_exit+0x21c/0x790 [ 17.635323][ T377] hardirqs last disabled at (40074): [] console_emit_next_record+0x3d4/0x4c0 [ 17.635325][ T377] softirqs last enabled at (39060): [] handle_softirqs+0x67c/0x900 [ 17.635327][ T377] softirqs last disabled at (39053): [] __irq_exit_rcu+0x145/0x1c0 [ 17.635330][ T377] Preemption disabled at: [ 17.635331][ T377] [<0000000000000000>] 0x0 [ 17.635337][ T377] CPU: 2 UID: 0 PID: 377 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.635340][ T377] Tainted: [W]=WARN [ 17.635341][ T377] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.635343][ T377] Call Trace: [ 17.635345][ T377] [ 17.635346][ T377] dump_stack_lvl+0x6f/0xa0 [ 17.635352][ T377] __might_resched.cold+0x1fe/0x2c1 [ 17.635356][ T377] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.635359][ T377] ? __kmalloc_noprof+0xdb/0x760 [ 17.635365][ T377] __kmalloc_noprof+0x443/0x760 [ 17.635367][ T377] ? alloc_buf.isra.0+0x4b/0x260 [ 17.635373][ T377] ? do_raw_spin_unlock+0x59/0x250 [ 17.635376][ T377] alloc_buf.isra.0+0x4b/0x260 [ 17.635379][ T377] put_chars+0x1e1/0x2f0 [ 17.635382][ T377] ? __send_to_port+0x420/0x420 [ 17.635389][ T377] hvc_console_print+0x292/0x780 [ 17.635396][ T377] ? hvc_write+0x3a0/0x3a0 [ 17.635399][ T377] ? lock_acquire+0x13c/0x160 [ 17.635404][ T377] console_emit_next_record+0x22f/0x4c0 [ 17.635407][ T377] ? devkmsg_read+0x4b0/0x4b0 [ 17.635408][ T377] ? console_flush_one_record+0x106/0x710 [ 17.635411][ T377] ? rcu_is_watching+0x16/0xd0 [ 17.635415][ T377] ? lock_acquire+0x13c/0x160 [ 17.635419][ T377] console_flush_one_record+0x46f/0x710 [ 17.635422][ T377] ? console_emit_next_record+0x4c0/0x4c0 [ 17.635424][ T377] ? __lock_acquire+0x518/0xc20 [ 17.635429][ T377] console_unlock+0xee/0x1f0 [ 17.635432][ T377] ? console_flush_one_record+0x710/0x710 [ 17.635433][ T377] ? rcu_is_watching+0x16/0xd0 [ 17.635436][ T377] ? lock_acquire+0x60/0x160 [ 17.635443][ T377] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.635446][ T377] ? vprintk_emit+0x320/0x3e0 [ 17.635449][ T377] vprintk_emit+0x37c/0x3e0 [ 17.635452][ T377] ? wake_up_klogd_work_func+0x90/0x90 [ 17.635455][ T377] ? __lock_acquire+0x518/0xc20 [ 17.635459][ T377] _printk+0xc7/0x100 [ 17.635463][ T377] ? snapshot_read.cold+0x21/0x21 [ 17.635465][ T377] ? do_raw_spin_lock+0x131/0x280 [ 17.635468][ T377] ? __rwlock_init+0x150/0x150 [ 17.635472][ T377] ? do_raw_spin_lock+0x131/0x280 [ 17.635475][ T377] do_exit.cold+0x82/0x9c [ 17.635479][ T377] ? exit_notify+0x890/0x890 [ 17.635481][ T377] ? __lock_release.isra.0+0x69/0x1a0 [ 17.635484][ T377] ? rcu_is_watching+0x16/0xd0 [ 17.635488][ T377] do_group_exit+0xb8/0x370 [ 17.635491][ T377] __x64_sys_exit_group+0x3c/0x50 [ 17.635493][ T377] x64_sys_call+0x1567/0x1570 [ 17.635495][ T377] do_syscall_64+0x10e/0x570 [ 17.635497][ T377] ? exc_page_fault+0xee/0x100 [ 17.635500][ T377] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.635503][ T377] RIP: 0033:0x7f7ee2d301b8 [ 17.635505][ T377] Code: Unable to access opcode bytes at 0x7f7ee2d3018e. [ 17.635506][ T377] RSP: 002b:00007ffcc37d96f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 17.635509][ T377] RAX: ffffffffffffffda RBX: 00007f7ee2e60f88 RCX: 00007f7ee2d301b8 [ 17.635510][ T377] RDX: 00007f7ee2a7afc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 17.635511][ T377] RBP: 00007ffcc37d9750 R08: 0000000000000000 R09: 0000000000000000 [ 17.635512][ T377] R10: 00007ffcc37d9510 R11: 0000000000000246 R12: 0000000000000001 [ 17.635512][ T377] R13: 0000000000000000 R14: 00007f7ee2e5f680 R15: 00007f7ee2e60fa0 [ 17.635519][ T377] [ 17.901245][ T384] ip (384) used greatest stack depth: 23504 bytes left [ 59.424526][ C0] clocksource: Watchdog remote CPU 1 read timed out [ 59.424568][ C0] [ 59.424569][ C0] ======================================================== [ 59.424571][ C0] WARNING: possible irq lock inversion dependency detected [ 59.424573][ C0] 7.2.0-virtme #1 Tainted: G W [ 59.424574][ C0] -------------------------------------------------------- [ 59.424575][ C0] swapper/0/0 just changed the state of lock: [ 59.424576][ C0] ffffffffb3c89de0 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 59.424588][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 59.424589][ C0] (fs_reclaim){+.+.}-{0:0} [ 59.424590][ C0] [ 59.424590][ C0] [ 59.424590][ C0] and interrupts could create inverse lock ordering between them. [ 59.424590][ C0] [ 59.424591][ C0] [ 59.424591][ C0] other info that might help us debug this: [ 59.424592][ C0] Possible interrupt unsafe locking scenario: [ 59.424592][ C0] [ 59.424592][ C0] CPU0 CPU1 [ 59.424593][ C0] ---- ---- [ 59.424594][ C0] lock(fs_reclaim); [ 59.424595][ C0] local_irq_disable(); [ 59.424595][ C0] lock(console_owner); [ 59.424596][ C0] lock(fs_reclaim); [ 59.424597][ C0] [ 59.424597][ C0] lock(console_owner); [ 59.424598][ C0] [ 59.424598][ C0] *** DEADLOCK *** [ 59.424598][ C0] [ 59.424599][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 59.424600][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 59.424605][ C0] #1: ffffffffb3dcf0b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 59.424609][ C0] #2: ffffffffb3d6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 59.424612][ C0] #3: ffffffffb3d6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 59.424615][ C0] [ 59.424615][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 59.424619][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 59.424621][ C0] HARDIRQ-ON-W at: [ 59.424623][ C0] __lock_acquire+0x388/0xc20 [ 59.424627][ C0] lock_acquire.part.0+0xd4/0x280 [ 59.424628][ C0] fs_reclaim_acquire+0xd5/0x120 [ 59.424632][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 59.424634][ C0] kthread_create_worker_on_node+0xea/0x210 [ 59.424637][ C0] workqueue_init+0x2a/0x680 [ 59.424641][ C0] kernel_init_freeable+0x2fe/0x630 [ 59.424644][ C0] kernel_init+0x21/0x150 [ 59.424647][ C0] ret_from_fork+0x4a4/0x720 [ 59.424650][ C0] ret_from_fork_asm+0x11/0x20 [ 59.424654][ C0] SOFTIRQ-ON-W at: [ 59.424655][ C0] __lock_acquire+0x388/0xc20 [ 59.424656][ C0] lock_acquire.part.0+0xd4/0x280 [ 59.424658][ C0] fs_reclaim_acquire+0xd5/0x120 [ 59.424659][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 59.424660][ C0] kthread_create_worker_on_node+0xea/0x210 [ 59.424662][ C0] workqueue_init+0x2a/0x680 [ 59.424664][ C0] kernel_init_freeable+0x2fe/0x630 [ 59.424665][ C0] kernel_init+0x21/0x150 [ 59.424666][ C0] ret_from_fork+0x4a4/0x720 [ 59.424667][ C0] ret_from_fork_asm+0x11/0x20 [ 59.424669][ C0] INITIAL USE at: [ 59.424670][ C0] __lock_acquire+0x388/0xc20 [ 59.424671][ C0] lock_acquire.part.0+0xd4/0x280 [ 59.424673][ C0] fs_reclaim_acquire+0xd5/0x120 [ 59.424674][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 59.424675][ C0] kthread_create_worker_on_node+0xea/0x210 [ 59.424677][ C0] workqueue_init+0x2a/0x680 [ 59.424678][ C0] kernel_init_freeable+0x2fe/0x630 [ 59.424680][ C0] kernel_init+0x21/0x150 [ 59.424681][ C0] ret_from_fork+0x4a4/0x720 [ 59.424682][ C0] ret_from_fork_asm+0x11/0x20 [ 59.424683][ C0] } [ 59.424684][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 59.424689][ C0] ... acquired at: [ 59.424690][ C0] __lock_acquire+0x518/0xc20 [ 59.424691][ C0] lock_acquire.part.0+0xd4/0x280 [ 59.424693][ C0] fs_reclaim_acquire+0xd5/0x120 [ 59.424694][ C0] __kmalloc_noprof+0xd3/0x760 [ 59.424695][ C0] alloc_buf.isra.0+0x4b/0x260 [ 59.424699][ C0] put_chars+0x1e1/0x2f0 [ 59.424700][ C0] hvc_console_print+0x292/0x780 [ 59.424702][ C0] console_emit_next_record+0x22f/0x4c0 [ 59.424703][ C0] console_flush_one_record+0x46f/0x710 [ 59.424704][ C0] console_unlock+0xee/0x1f0 [ 59.424705][ C0] vprintk_emit+0x37c/0x3e0 [ 59.424706][ C0] _printk+0xc7/0x100 [ 59.424709][ C0] sock_register+0x12d/0x290 [ 59.424712][ C0] inet6_init+0x1a6/0x3c0 [ 59.424715][ C0] do_one_initcall+0x124/0x4f0 [ 59.424716][ C0] kernel_init_freeable+0x596/0x630 [ 59.424718][ C0] kernel_init+0x21/0x150 [ 59.424719][ C0] ret_from_fork+0x4a4/0x720 [ 59.424720][ C0] ret_from_fork_asm+0x11/0x20 [ 59.424721][ C0] [ 59.424722][ C0] -> (console_owner){..-.}-{0:0} { [ 59.424724][ C0] IN-SOFTIRQ-W at: [ 59.424725][ C0] __lock_acquire+0x388/0xc20 [ 59.424726][ C0] lock_acquire.part.0+0xd4/0x280 [ 59.424728][ C0] console_lock_spinning_enable+0x5c/0x60 [ 59.424729][ C0] console_emit_next_record+0x1d1/0x4c0 [ 59.424730][ C0] console_flush_one_record+0x46f/0x710 [ 59.424731][ C0] console_unlock+0xee/0x1f0 [ 59.424732][ C0] vprintk_emit+0x37c/0x3e0 [ 59.424733][ C0] _printk+0xc7/0x100 [ 59.424734][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 59.424736][ C0] call_timer_fn+0x160/0x4d0 [ 59.424737][ C0] __run_timers+0x68f/0xaa0 [ 59.424738][ C0] run_timer_softirq+0xf0/0x160 [ 59.424739][ C0] handle_softirqs+0x1d3/0x900 [ 59.424742][ C0] __irq_exit_rcu+0x145/0x1c0 [ 59.424743][ C0] irq_exit_rcu+0xe/0x30 [ 59.424745][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 59.424747][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 59.424749][ C0] pv_native_safe_halt+0xf/0x10 [ 59.424751][ C0] default_idle+0x9/0x10 [ 59.424752][ C0] default_idle_call+0x6e/0xb0 [ 59.424753][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 59.424756][ C0] do_idle+0xd8/0x190 [ 59.424757][ C0] cpu_startup_entry+0x53/0x70 [ 59.424758][ C0] rest_init+0x279/0x280 [ 59.424759][ C0] start_kernel+0x3af/0x3b0 [ 59.424761][ C0] x86_64_start_reservations+0x24/0x30 [ 59.424762][ C0] x86_64_start_kernel+0x12b/0x130 [ 59.424763][ C0] common_startup_64+0x13e/0x148 [ 59.424766][ C0] INITIAL USE at: [ 59.424767][ C0] } [ 59.424768][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 59.424771][ C0] ... acquired at: [ 59.424771][ C0] mark_lock+0x1d7/0xa00 [ 59.424773][ C0] mark_usage+0x42/0x170 [ 59.424774][ C0] __lock_acquire+0x388/0xc20 [ 59.424776][ C0] lock_acquire.part.0+0xd4/0x280 [ 59.424777][ C0] console_lock_spinning_enable+0x5c/0x60 [ 59.424778][ C0] console_emit_next_record+0x1d1/0x4c0 [ 59.424779][ C0] console_flush_one_record+0x46f/0x710 [ 59.424780][ C0] console_unlock+0xee/0x1f0 [ 59.424781][ C0] vprintk_emit+0x37c/0x3e0 [ 59.424782][ C0] _printk+0xc7/0x100 [ 59.424784][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 59.424785][ C0] call_timer_fn+0x160/0x4d0 [ 59.424786][ C0] __run_timers+0x68f/0xaa0 [ 59.424786][ C0] run_timer_softirq+0xf0/0x160 [ 59.424787][ C0] handle_softirqs+0x1d3/0x900 [ 59.424789][ C0] __irq_exit_rcu+0x145/0x1c0 [ 59.424790][ C0] irq_exit_rcu+0xe/0x30 [ 59.424791][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 59.424793][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 59.424794][ C0] pv_native_safe_halt+0xf/0x10 [ 59.424796][ C0] default_idle+0x9/0x10 [ 59.424796][ C0] default_idle_call+0x6e/0xb0 [ 59.424797][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 59.424799][ C0] do_idle+0xd8/0x190 [ 59.424800][ C0] cpu_startup_entry+0x53/0x70 [ 59.424802][ C0] rest_init+0x279/0x280 [ 59.424803][ C0] start_kernel+0x3af/0x3b0 [ 59.424804][ C0] x86_64_start_reservations+0x24/0x30 [ 59.424805][ C0] x86_64_start_kernel+0x12b/0x130 [ 59.424806][ C0] common_startup_64+0x13e/0x148 [ 59.424807][ C0] [ 59.424808][ C0] [ 59.424808][ C0] stack backtrace: [ 59.424810][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 59.424813][ C0] Tainted: [W]=WARN [ 59.424814][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 59.424816][ C0] Call Trace: [ 59.424817][ C0] [ 59.424818][ C0] dump_stack_lvl+0x6f/0xa0 [ 59.424821][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 59.424824][ C0] mark_lock_irq+0x989/0x9c0 [ 59.424825][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 59.424829][ C0] mark_lock+0x1d7/0xa00 [ 59.424831][ C0] mark_usage+0x42/0x170 [ 59.424832][ C0] __lock_acquire+0x388/0xc20 [ 59.424835][ C0] lock_acquire.part.0+0xd4/0x280 [ 59.424837][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 59.424838][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.424841][ C0] ? lock_acquire+0x13c/0x160 [ 59.424843][ C0] console_lock_spinning_enable+0x5c/0x60 [ 59.424844][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 59.424845][ C0] console_emit_next_record+0x1d1/0x4c0 [ 59.424847][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 59.424848][ C0] ? console_flush_one_record+0x106/0x710 [ 59.424850][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.424851][ C0] ? lock_acquire+0x13c/0x160 [ 59.424853][ C0] console_flush_one_record+0x46f/0x710 [ 59.424855][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 59.424856][ C0] ? __lock_acquire+0x518/0xc20 [ 59.424859][ C0] console_unlock+0xee/0x1f0 [ 59.424860][ C0] ? console_flush_one_record+0x710/0x710 [ 59.424861][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.424862][ C0] ? lock_acquire+0x60/0x160 [ 59.424865][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 59.424867][ C0] ? vprintk_emit+0x320/0x3e0 [ 59.424868][ C0] vprintk_emit+0x37c/0x3e0 [ 59.424870][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 59.424872][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 59.424874][ C0] _printk+0xc7/0x100 [ 59.424875][ C0] ? snapshot_read.cold+0x21/0x21 [ 59.424877][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 59.424879][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 59.424882][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 59.424883][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 59.424885][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 59.424887][ C0] call_timer_fn+0x160/0x4d0 [ 59.424888][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 59.424889][ C0] ? debug_object_active_state+0x430/0x430 [ 59.424893][ C0] ? find_held_lock+0x2b/0x80 [ 59.424895][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 59.424897][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.424898][ C0] __run_timers+0x68f/0xaa0 [ 59.424900][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 59.424902][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 59.424903][ C0] ? __lock_acquire+0x518/0xc20 [ 59.424905][ C0] ? jump_label_text_reserved+0x1b0/0x1b0 [ 59.424909][ C0] ? __rwlock_init+0x150/0x150 [ 59.424911][ C0] run_timer_softirq+0xf0/0x160 [ 59.424913][ C0] ? __run_timers+0xaa0/0xaa0 [ 59.424914][ C0] ? handle_softirqs+0x19c/0x900 [ 59.424916][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.424917][ C0] handle_softirqs+0x1d3/0x900 [ 59.424919][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 59.424921][ C0] ? _local_bh_enable+0xc0/0xc0 [ 59.424923][ C0] __irq_exit_rcu+0x145/0x1c0 [ 59.424925][ C0] irq_exit_rcu+0xe/0x30 [ 59.424926][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 59.424928][ C0] [ 59.424929][ C0] [ 59.424930][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 59.424931][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 59.424934][ C0] Code: 48 8b 3d d4 31 10 02 e8 1f 00 00 00 48 2b 05 98 62 b2 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 53 35 29 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 59.424936][ C0] RSP: 0018:ffffffffb3a07cf8 EFLAGS: 00000296 [ 59.424938][ C0] RAX: 0000000000343257 RBX: ffffffffb3a1c600 RCX: ffffffffb08f4ce7 [ 59.424939][ C0] RDX: ffffffffb3a1c600 RSI: ffffffffb3888c45 RDI: ffffffffb3293160 [ 59.424940][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 59.424941][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff6740fa2 [ 59.424942][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 59.424944][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 59.424946][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 59.424948][ C0] default_idle+0x9/0x10 [ 59.424949][ C0] default_idle_call+0x6e/0xb0 [ 59.424950][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 59.424952][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 59.424954][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 59.424957][ C0] ? kasan_check_range+0xf7/0x200 [ 59.424959][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.424960][ C0] do_idle+0xd8/0x190 [ 59.424962][ C0] cpu_startup_entry+0x53/0x70 [ 59.424964][ C0] rest_init+0x279/0x280 [ 59.424965][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 59.424967][ C0] ? rest_init+0x280/0x280 [ 59.424969][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 59.424971][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 59.424973][ C0] ? acpi_enable+0x1e4/0x330 [ 59.424976][ C0] start_kernel+0x3af/0x3b0 [ 59.424977][ C0] x86_64_start_reservations+0x24/0x30 [ 59.424979][ C0] x86_64_start_kernel+0x12b/0x130 [ 59.424980][ C0] common_startup_64+0x13e/0x148 [ 59.424984][ C0] [ 59.424987][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 59.424989][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 59.424990][ C0] preempt_count: 103, expected: 0 [ 59.424991][ C0] RCU nest depth: 0, expected: 0 [ 59.424992][ C0] INFO: lockdep is turned off. [ 59.424992][ C0] irq event stamp: 3420895 [ 59.424993][ C0] hardirqs last enabled at (3420894): [] __down_trylock_console_sem+0x86/0xa0 [ 59.424996][ C0] hardirqs last disabled at (3420895): [] console_emit_next_record+0x3d4/0x4c0 [ 59.424997][ C0] softirqs last enabled at (3420742): [] handle_softirqs+0x67c/0x900 [ 59.424999][ C0] softirqs last disabled at (3420771): [] __irq_exit_rcu+0x145/0x1c0 [ 59.425000][ C0] Preemption disabled at: [ 59.425001][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 59.425004][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 59.425006][ C0] Tainted: [W]=WARN [ 59.425006][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 59.425007][ C0] Call Trace: [ 59.425007][ C0] [ 59.425008][ C0] dump_stack_lvl+0x6f/0xa0 [ 59.425009][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 59.425011][ C0] __might_resched.cold+0x1fe/0x2c1 [ 59.425014][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 59.425016][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.425017][ C0] __kmalloc_noprof+0x443/0x760 [ 59.425019][ C0] ? __rwlock_init+0x150/0x150 [ 59.425021][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 59.425023][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 59.425025][ C0] alloc_buf.isra.0+0x4b/0x260 [ 59.425027][ C0] put_chars+0x1e1/0x2f0 [ 59.425029][ C0] ? __send_to_port+0x420/0x420 [ 59.425031][ C0] ? mark_lock+0x1d7/0xa00 [ 59.425033][ C0] hvc_console_print+0x292/0x780 [ 59.425035][ C0] ? hvc_write+0x3a0/0x3a0 [ 59.425037][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.425038][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.425040][ C0] console_emit_next_record+0x22f/0x4c0 [ 59.425042][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 59.425043][ C0] ? console_flush_one_record+0x106/0x710 [ 59.425044][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.425046][ C0] ? lock_acquire+0x13c/0x160 [ 59.425048][ C0] console_flush_one_record+0x46f/0x710 [ 59.425050][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 59.425051][ C0] ? __lock_acquire+0x518/0xc20 [ 59.425053][ C0] console_unlock+0xee/0x1f0 [ 59.425054][ C0] ? console_flush_one_record+0x710/0x710 [ 59.425056][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.425057][ C0] ? lock_acquire+0x60/0x160 [ 59.425059][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 59.425061][ C0] ? vprintk_emit+0x320/0x3e0 [ 59.425062][ C0] vprintk_emit+0x37c/0x3e0 [ 59.425064][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 59.425066][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 59.425067][ C0] _printk+0xc7/0x100 [ 59.425069][ C0] ? snapshot_read.cold+0x21/0x21 [ 59.425071][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 59.425073][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 59.425075][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 59.425077][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 59.425078][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 59.425080][ C0] call_timer_fn+0x160/0x4d0 [ 59.425082][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 59.425083][ C0] ? debug_object_active_state+0x430/0x430 [ 59.425085][ C0] ? find_held_lock+0x2b/0x80 [ 59.425086][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 59.425088][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.425090][ C0] __run_timers+0x68f/0xaa0 [ 59.425091][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 59.425093][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 59.425094][ C0] ? __lock_acquire+0x518/0xc20 [ 59.425096][ C0] ? jump_label_text_reserved+0x1b0/0x1b0 [ 59.425098][ C0] ? __rwlock_init+0x150/0x150 [ 59.425101][ C0] run_timer_softirq+0xf0/0x160 [ 59.425102][ C0] ? __run_timers+0xaa0/0xaa0 [ 59.425103][ C0] ? handle_softirqs+0x19c/0x900 [ 59.425105][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.425106][ C0] handle_softirqs+0x1d3/0x900 [ 59.425108][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 59.425110][ C0] ? _local_bh_enable+0xc0/0xc0 [ 59.425112][ C0] __irq_exit_rcu+0x145/0x1c0 [ 59.425114][ C0] irq_exit_rcu+0xe/0x30 [ 59.425115][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 59.425117][ C0] [ 59.425118][ C0] [ 59.425119][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 59.425120][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 59.425122][ C0] Code: 48 8b 3d d4 31 10 02 e8 1f 00 00 00 48 2b 05 98 62 b2 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 53 35 29 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 59.425123][ C0] RSP: 0018:ffffffffb3a07cf8 EFLAGS: 00000296 [ 59.425124][ C0] RAX: 0000000000343257 RBX: ffffffffb3a1c600 RCX: ffffffffb08f4ce7 [ 59.425125][ C0] RDX: ffffffffb3a1c600 RSI: ffffffffb3888c45 RDI: ffffffffb3293160 [ 59.425126][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 59.425126][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff6740fa2 [ 59.425127][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 59.425128][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 59.425131][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 59.425133][ C0] default_idle+0x9/0x10 [ 59.425134][ C0] default_idle_call+0x6e/0xb0 [ 59.425135][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 59.425137][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 59.425138][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 59.425140][ C0] ? kasan_check_range+0xf7/0x200 [ 59.425141][ C0] ? rcu_is_watching+0x16/0xd0 [ 59.425143][ C0] do_idle+0xd8/0x190 [ 59.425144][ C0] cpu_startup_entry+0x53/0x70 [ 59.425146][ C0] rest_init+0x279/0x280 [ 59.425147][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 59.425150][ C0] ? rest_init+0x280/0x280 [ 59.425151][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 59.425153][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 59.425154][ C0] ? acpi_enable+0x1e4/0x330 [ 59.425156][ C0] start_kernel+0x3af/0x3b0 [ 59.425158][ C0] x86_64_start_reservations+0x24/0x30 [ 59.425159][ C0] x86_64_start_kernel+0x12b/0x130 [ 59.425160][ C0] common_startup_64+0x13e/0x148 [ 59.425164][ C0]