[ 12.513731][ T215] ip (215) used greatest stack depth: 23888 bytes left [ 12.513746][ T215] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.513748][ T215] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 215, name: ip [ 12.513750][ T215] preempt_count: 2, expected: 0 [ 12.513751][ T215] RCU nest depth: 0, expected: 0 [ 12.513752][ T215] locks held by ip/215: 5, last CPU#0: [ 12.513753][ T215] #0: ffffffffaf0167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.513765][ T215] #1: ffffffffaf17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.513769][ T215] #2: ffffffffaf17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.513774][ T215] #3: ffffffffaf09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.513777][ T215] #4: ffffffffaf09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.513781][ T215] irq event stamp: 25864 [ 12.513782][ T215] hardirqs last enabled at (25863): [] __down_trylock_console_sem+0x86/0xa0 [ 12.513785][ T215] hardirqs last disabled at (25864): [] console_emit_next_record+0x3d4/0x4c0 [ 12.513787][ T215] softirqs last enabled at (25498): [] handle_softirqs+0x67c/0x900 [ 12.513790][ T215] softirqs last disabled at (25493): [] __irq_exit_rcu+0x145/0x1c0 [ 12.513792][ T215] Preemption disabled at: [ 12.513793][ T215] [<0000000000000000>] 0x0 [ 12.513799][ T215] CPU: 0 UID: 0 PID: 215 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.513802][ T215] Tainted: [W]=WARN [ 12.513803][ T215] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.513804][ T215] Call Trace: [ 12.513806][ T215] [ 12.513807][ T215] dump_stack_lvl+0x6f/0xa0 [ 12.513814][ T215] __might_resched.cold+0x1fe/0x2c1 [ 12.513818][ T215] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.513822][ T215] ? __kmalloc_noprof+0xdb/0x760 [ 12.513827][ T215] __kmalloc_noprof+0x443/0x760 [ 12.513829][ T215] ? alloc_buf.isra.0+0x4b/0x260 [ 12.513835][ T215] ? do_raw_spin_unlock+0x59/0x250 [ 12.513838][ T215] alloc_buf.isra.0+0x4b/0x260 [ 12.513842][ T215] put_chars+0x1e1/0x2f0 [ 12.513844][ T215] ? __send_to_port+0x420/0x420 [ 12.513845][ T215] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.513849][ T215] ? validate_chain+0x38b/0xc20 [ 12.513854][ T215] hvc_console_print+0x292/0x780 [ 12.513861][ T215] ? hvc_write+0x3a0/0x3a0 [ 12.513864][ T215] ? rcu_is_watching+0x16/0xd0 [ 12.513866][ T215] ? lock_acquire+0x13c/0x160 [ 12.513870][ T215] console_emit_next_record+0x22f/0x4c0 [ 12.513874][ T215] ? devkmsg_read+0x4b0/0x4b0 [ 12.513876][ T215] ? console_flush_one_record+0x106/0x710 [ 12.513879][ T215] ? rcu_is_watching+0x16/0xd0 [ 12.513881][ T215] ? lock_acquire+0x13c/0x160 [ 12.513885][ T215] console_flush_one_record+0x46f/0x710 [ 12.513889][ T215] ? console_emit_next_record+0x4c0/0x4c0 [ 12.513890][ T215] ? __lock_acquire+0x518/0xc20 [ 12.513896][ T215] console_unlock+0xee/0x1f0 [ 12.513898][ T215] ? console_flush_one_record+0x710/0x710 [ 12.513900][ T215] ? rcu_is_watching+0x16/0xd0 [ 12.513902][ T215] ? lock_acquire+0xe0/0x160 [ 12.513905][ T215] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.513907][ T215] ? vprintk_emit+0x320/0x3e0 [ 12.513910][ T215] vprintk_emit+0x37c/0x3e0 [ 12.513913][ T215] ? wake_up_klogd_work_func+0x90/0x90 [ 12.513916][ T215] ? __lock_acquire+0x518/0xc20 [ 12.513920][ T215] _printk+0xc7/0x100 [ 12.513923][ T215] ? snapshot_read.cold+0x21/0x21 [ 12.513926][ T215] ? do_raw_spin_lock+0x131/0x280 [ 12.513928][ T215] ? __rwlock_init+0x150/0x150 [ 12.513932][ T215] ? do_raw_spin_lock+0x131/0x280 [ 12.513935][ T215] do_exit.cold+0x82/0x9c [ 12.513938][ T215] ? exit_notify+0x890/0x890 [ 12.513940][ T215] ? __lock_release.isra.0+0x69/0x1a0 [ 12.513942][ T215] ? rcu_is_watching+0x16/0xd0 [ 12.513946][ T215] do_group_exit+0xb8/0x370 [ 12.513949][ T215] __x64_sys_exit_group+0x3c/0x50 [ 12.513950][ T215] x64_sys_call+0x1567/0x1570 [ 12.513953][ T215] do_syscall_64+0xff/0x530 [ 12.513957][ T215] ? exc_page_fault+0xee/0x100 [ 12.513960][ T215] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.513962][ T215] RIP: 0033:0x7fd291dcb1b8 [ 12.513964][ T215] Code: Unable to access opcode bytes at 0x7fd291dcb18e. [ 12.513965][ T215] RSP: 002b:00007fff4471a5a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.513968][ T215] RAX: ffffffffffffffda RBX: 00007fd291efbf88 RCX: 00007fd291dcb1b8 [ 12.513969][ T215] RDX: 00007fd291b15fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.513970][ T215] RBP: 00007fff4471a600 R08: 0000000000000000 R09: 0000000000000050 [ 12.513971][ T215] R10: 00007fff4471a3c0 R11: 0000000000000246 R12: 0000000000000001 [ 12.513972][ T215] R13: 0000000000000000 R14: 00007fd291efa680 R15: 00007fd291efbfa0 [ 12.513978][ T215] [ 37.493529][ C0] clocksource: Watchdog remote CPU 1 read timed out [ 37.493577][ C0] [ 37.493579][ C0] ======================================================== [ 37.493580][ C0] WARNING: possible irq lock inversion dependency detected [ 37.493582][ C0] 7.2.0-virtme #1 Tainted: G W [ 37.493583][ C0] -------------------------------------------------------- [ 37.493584][ C0] swapper/0/0 just changed the state of lock: [ 37.493585][ C0] ffffffffaf09d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 37.493598][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 37.493599][ C0] (fs_reclaim){+.+.}-{0:0} [ 37.493601][ C0] [ 37.493601][ C0] [ 37.493601][ C0] and interrupts could create inverse lock ordering between them. [ 37.493601][ C0] [ 37.493602][ C0] [ 37.493602][ C0] other info that might help us debug this: [ 37.493602][ C0] Possible interrupt unsafe locking scenario: [ 37.493602][ C0] [ 37.493603][ C0] CPU0 CPU1 [ 37.493604][ C0] ---- ---- [ 37.493604][ C0] lock(fs_reclaim); [ 37.493605][ C0] local_irq_disable(); [ 37.493605][ C0] lock(console_owner); [ 37.493606][ C0] lock(fs_reclaim); [ 37.493607][ C0] [ 37.493607][ C0] lock(console_owner); [ 37.493608][ C0] [ 37.493608][ C0] *** DEADLOCK *** [ 37.493608][ C0] [ 37.493609][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 37.493610][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 37.493615][ C0] #1: ffffffffaf1e29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 37.493619][ C0] #2: ffffffffaf17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 37.493622][ C0] #3: ffffffffaf17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 37.493625][ C0] [ 37.493625][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 37.493630][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 37.493632][ C0] HARDIRQ-ON-W at: [ 37.493634][ C0] __lock_acquire+0x388/0xc20 [ 37.493637][ C0] lock_acquire.part.0+0xd4/0x280 [ 37.493638][ C0] fs_reclaim_acquire+0xd5/0x120 [ 37.493642][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 37.493643][ C0] kthread_create_worker_on_node+0xea/0x210 [ 37.493646][ C0] workqueue_init+0x2a/0x680 [ 37.493650][ C0] kernel_init_freeable+0x2fe/0x630 [ 37.493653][ C0] kernel_init+0x21/0x150 [ 37.493657][ C0] ret_from_fork+0x474/0x6b0 [ 37.493660][ C0] ret_from_fork_asm+0x11/0x20 [ 37.493663][ C0] SOFTIRQ-ON-W at: [ 37.493664][ C0] __lock_acquire+0x388/0xc20 [ 37.493665][ C0] lock_acquire.part.0+0xd4/0x280 [ 37.493666][ C0] fs_reclaim_acquire+0xd5/0x120 [ 37.493668][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 37.493669][ C0] kthread_create_worker_on_node+0xea/0x210 [ 37.493670][ C0] workqueue_init+0x2a/0x680 [ 37.493672][ C0] kernel_init_freeable+0x2fe/0x630 [ 37.493673][ C0] kernel_init+0x21/0x150 [ 37.493675][ C0] ret_from_fork+0x474/0x6b0 [ 37.493676][ C0] ret_from_fork_asm+0x11/0x20 [ 37.493677][ C0] INITIAL USE at: [ 37.493678][ C0] __lock_acquire+0x388/0xc20 [ 37.493679][ C0] lock_acquire.part.0+0xd4/0x280 [ 37.493681][ C0] fs_reclaim_acquire+0xd5/0x120 [ 37.493682][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 37.493683][ C0] kthread_create_worker_on_node+0xea/0x210 [ 37.493685][ C0] workqueue_init+0x2a/0x680 [ 37.493686][ C0] kernel_init_freeable+0x2fe/0x630 [ 37.493687][ C0] kernel_init+0x21/0x150 [ 37.493689][ C0] ret_from_fork+0x474/0x6b0 [ 37.493690][ C0] ret_from_fork_asm+0x11/0x20 [ 37.493691][ C0] } [ 37.493692][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 37.493695][ C0] ... acquired at: [ 37.493696][ C0] __lock_acquire+0x518/0xc20 [ 37.493698][ C0] lock_acquire.part.0+0xd4/0x280 [ 37.493699][ C0] fs_reclaim_acquire+0xd5/0x120 [ 37.493700][ C0] __kmalloc_noprof+0xd3/0x760 [ 37.493701][ C0] alloc_buf.isra.0+0x4b/0x260 [ 37.493705][ C0] put_chars+0x1e1/0x2f0 [ 37.493706][ C0] hvc_console_print+0x292/0x780 [ 37.493709][ C0] console_emit_next_record+0x22f/0x4c0 [ 37.493711][ C0] console_flush_one_record+0x46f/0x710 [ 37.493713][ C0] console_unlock+0xee/0x1f0 [ 37.493714][ C0] vprintk_emit+0x37c/0x3e0 [ 37.493715][ C0] _printk+0xc7/0x100 [ 37.493718][ C0] i8042_pnp_init+0xf7/0x3c0 [ 37.493721][ C0] i8042_platform_init+0x3f9/0x460 [ 37.493723][ C0] i8042_init+0x45/0x130 [ 37.493724][ C0] do_one_initcall+0x124/0x4f0 [ 37.493725][ C0] kernel_init_freeable+0x596/0x630 [ 37.493727][ C0] kernel_init+0x21/0x150 [ 37.493728][ C0] ret_from_fork+0x474/0x6b0 [ 37.493729][ C0] ret_from_fork_asm+0x11/0x20 [ 37.493731][ C0] [ 37.493731][ C0] -> (console_owner){..-.}-{0:0} { [ 37.493733][ C0] IN-SOFTIRQ-W at: [ 37.493733][ C0] __lock_acquire+0x388/0xc20 [ 37.493735][ C0] lock_acquire.part.0+0xd4/0x280 [ 37.493736][ C0] console_lock_spinning_enable+0x5c/0x60 [ 37.493738][ C0] console_emit_next_record+0x1d1/0x4c0 [ 37.493740][ C0] console_flush_one_record+0x46f/0x710 [ 37.493741][ C0] console_unlock+0xee/0x1f0 [ 37.493743][ C0] vprintk_emit+0x37c/0x3e0 [ 37.493744][ C0] _printk+0xc7/0x100 [ 37.493745][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 37.493747][ C0] call_timer_fn+0x160/0x4d0 [ 37.493749][ C0] __run_timers+0x68f/0xaa0 [ 37.493750][ C0] run_timer_softirq+0xf0/0x160 [ 37.493752][ C0] handle_softirqs+0x1d3/0x900 [ 37.493754][ C0] __irq_exit_rcu+0x145/0x1c0 [ 37.493756][ C0] irq_exit_rcu+0xe/0x30 [ 37.493757][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 37.493759][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.493760][ C0] pv_native_safe_halt+0xf/0x10 [ 37.493762][ C0] default_idle+0x9/0x10 [ 37.493763][ C0] default_idle_call+0x6e/0xb0 [ 37.493765][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 37.493767][ C0] do_idle+0xd8/0x190 [ 37.493769][ C0] cpu_startup_entry+0x53/0x70 [ 37.493770][ C0] rest_init+0x279/0x280 [ 37.493771][ C0] start_kernel+0x3b9/0x3c0 [ 37.493773][ C0] x86_64_start_reservations+0x24/0x30 [ 37.493775][ C0] x86_64_start_kernel+0x12b/0x130 [ 37.493776][ C0] common_startup_64+0x13e/0x148 [ 37.493779][ C0] INITIAL USE at: [ 37.493780][ C0] } [ 37.493780][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 37.493783][ C0] ... acquired at: [ 37.493783][ C0] mark_lock+0x1d7/0xa00 [ 37.493785][ C0] mark_usage+0x42/0x170 [ 37.493786][ C0] __lock_acquire+0x388/0xc20 [ 37.493787][ C0] lock_acquire.part.0+0xd4/0x280 [ 37.493789][ C0] console_lock_spinning_enable+0x5c/0x60 [ 37.493790][ C0] console_emit_next_record+0x1d1/0x4c0 [ 37.493792][ C0] console_flush_one_record+0x46f/0x710 [ 37.493793][ C0] console_unlock+0xee/0x1f0 [ 37.493795][ C0] vprintk_emit+0x37c/0x3e0 [ 37.493796][ C0] _printk+0xc7/0x100 [ 37.493797][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 37.493798][ C0] call_timer_fn+0x160/0x4d0 [ 37.493799][ C0] __run_timers+0x68f/0xaa0 [ 37.493801][ C0] run_timer_softirq+0xf0/0x160 [ 37.493802][ C0] handle_softirqs+0x1d3/0x900 [ 37.493804][ C0] __irq_exit_rcu+0x145/0x1c0 [ 37.493805][ C0] irq_exit_rcu+0xe/0x30 [ 37.493806][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 37.493807][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.493808][ C0] pv_native_safe_halt+0xf/0x10 [ 37.493810][ C0] default_idle+0x9/0x10 [ 37.493811][ C0] default_idle_call+0x6e/0xb0 [ 37.493812][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 37.493813][ C0] do_idle+0xd8/0x190 [ 37.493815][ C0] cpu_startup_entry+0x53/0x70 [ 37.493816][ C0] rest_init+0x279/0x280 [ 37.493817][ C0] start_kernel+0x3b9/0x3c0 [ 37.493818][ C0] x86_64_start_reservations+0x24/0x30 [ 37.493820][ C0] x86_64_start_kernel+0x12b/0x130 [ 37.493821][ C0] common_startup_64+0x13e/0x148 [ 37.493822][ C0] [ 37.493822][ C0] [ 37.493822][ C0] stack backtrace: [ 37.493825][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 37.493828][ C0] Tainted: [W]=WARN [ 37.493829][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 37.493831][ C0] Call Trace: [ 37.493832][ C0] [ 37.493833][ C0] dump_stack_lvl+0x6f/0xa0 [ 37.493837][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 37.493840][ C0] mark_lock_irq+0x989/0x9c0 [ 37.493842][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 37.493844][ C0] mark_lock+0x1d7/0xa00 [ 37.493846][ C0] mark_usage+0x42/0x170 [ 37.493848][ C0] __lock_acquire+0x388/0xc20 [ 37.493850][ C0] lock_acquire.part.0+0xd4/0x280 [ 37.493852][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 37.493854][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.493856][ C0] ? lock_acquire+0x13c/0x160 [ 37.493858][ C0] console_lock_spinning_enable+0x5c/0x60 [ 37.493860][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 37.493861][ C0] console_emit_next_record+0x1d1/0x4c0 [ 37.493864][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 37.493865][ C0] ? console_flush_one_record+0x106/0x710 [ 37.493867][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.493868][ C0] ? lock_acquire+0x13c/0x160 [ 37.493870][ C0] console_flush_one_record+0x46f/0x710 [ 37.493873][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 37.493874][ C0] ? __lock_acquire+0x518/0xc20 [ 37.493877][ C0] console_unlock+0xee/0x1f0 [ 37.493878][ C0] ? console_flush_one_record+0x710/0x710 [ 37.493880][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.493881][ C0] ? lock_acquire+0xe0/0x160 [ 37.493883][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 37.493885][ C0] ? vprintk_emit+0x320/0x3e0 [ 37.493886][ C0] vprintk_emit+0x37c/0x3e0 [ 37.493888][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 37.493890][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 37.493891][ C0] _printk+0xc7/0x100 [ 37.493893][ C0] ? snapshot_read.cold+0x21/0x21 [ 37.493895][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 37.493897][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 37.493899][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 37.493901][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 37.493902][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 37.493904][ C0] call_timer_fn+0x160/0x4d0 [ 37.493906][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 37.493908][ C0] ? debug_object_active_state+0x430/0x430 [ 37.493910][ C0] ? find_held_lock+0x2b/0x80 [ 37.493912][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 37.493914][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.493915][ C0] __run_timers+0x68f/0xaa0 [ 37.493917][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 37.493919][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 37.493921][ C0] ? __lock_acquire+0x518/0xc20 [ 37.493924][ C0] ? __rwlock_init+0x150/0x150 [ 37.493926][ C0] run_timer_softirq+0xf0/0x160 [ 37.493928][ C0] ? __run_timers+0xaa0/0xaa0 [ 37.493930][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 37.493933][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.493934][ C0] handle_softirqs+0x1d3/0x900 [ 37.493936][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 37.493938][ C0] ? _local_bh_enable+0xc0/0xc0 [ 37.493940][ C0] __irq_exit_rcu+0x145/0x1c0 [ 37.493941][ C0] irq_exit_rcu+0xe/0x30 [ 37.493943][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 37.493944][ C0] [ 37.493945][ C0] [ 37.493945][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 37.493947][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.493948][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 37.493951][ C0] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 37.493953][ C0] RSP: 0018:ffffffffaee07cf8 EFLAGS: 00000296 [ 37.493955][ C0] RAX: 00000000000df65b RBX: ffffffffaee30600 RCX: ffffffffab506247 [ 37.493956][ C0] RDX: ffffffffaee30600 RSI: ffffffffae711011 RDI: ffffffffae0949e0 [ 37.493957][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 37.493958][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff5dc0fa2 [ 37.493958][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 37.493960][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 37.493962][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 37.493963][ C0] default_idle+0x9/0x10 [ 37.493965][ C0] default_idle_call+0x6e/0xb0 [ 37.493966][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 37.493968][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 37.493970][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 37.493972][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 37.493974][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.493975][ C0] do_idle+0xd8/0x190 [ 37.493977][ C0] cpu_startup_entry+0x53/0x70 [ 37.493978][ C0] rest_init+0x279/0x280 [ 37.493980][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 37.493982][ C0] ? rest_init+0x280/0x280 [ 37.493984][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 37.493987][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 37.493989][ C0] ? acpi_enable+0x1e4/0x330 [ 37.493991][ C0] start_kernel+0x3b9/0x3c0 [ 37.493993][ C0] x86_64_start_reservations+0x24/0x30 [ 37.493994][ C0] x86_64_start_kernel+0x12b/0x130 [ 37.493996][ C0] common_startup_64+0x13e/0x148 [ 37.493999][ C0] [ 37.494003][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 37.494005][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 37.494006][ C0] preempt_count: 103, expected: 0 [ 37.494007][ C0] RCU nest depth: 0, expected: 0 [ 37.494007][ C0] INFO: lockdep is turned off. [ 37.494008][ C0] irq event stamp: 915051 [ 37.494009][ C0] hardirqs last enabled at (915050): [] __down_trylock_console_sem+0x86/0xa0 [ 37.494011][ C0] hardirqs last disabled at (915051): [] console_emit_next_record+0x3d4/0x4c0 [ 37.494013][ C0] softirqs last enabled at (914988): [] handle_softirqs+0x67c/0x900 [ 37.494014][ C0] softirqs last disabled at (915037): [] __irq_exit_rcu+0x145/0x1c0 [ 37.494016][ C0] Preemption disabled at: [ 37.494017][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 37.494020][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 37.494022][ C0] Tainted: [W]=WARN [ 37.494022][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 37.494023][ C0] Call Trace: [ 37.494023][ C0] [ 37.494024][ C0] dump_stack_lvl+0x6f/0xa0 [ 37.494026][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 37.494028][ C0] __might_resched.cold+0x1fe/0x2c1 [ 37.494031][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 37.494033][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.494035][ C0] __kmalloc_noprof+0x443/0x760 [ 37.494036][ C0] ? __rwlock_init+0x150/0x150 [ 37.494038][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 37.494040][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 37.494042][ C0] alloc_buf.isra.0+0x4b/0x260 [ 37.494044][ C0] put_chars+0x1e1/0x2f0 [ 37.494046][ C0] ? __send_to_port+0x420/0x420 [ 37.494047][ C0] ? mark_lock+0x1d7/0xa00 [ 37.494049][ C0] hvc_console_print+0x292/0x780 [ 37.494052][ C0] ? hvc_write+0x3a0/0x3a0 [ 37.494054][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.494055][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.494057][ C0] console_emit_next_record+0x22f/0x4c0 [ 37.494059][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 37.494061][ C0] ? console_flush_one_record+0x106/0x710 [ 37.494063][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.494064][ C0] ? lock_acquire+0x13c/0x160 [ 37.494066][ C0] console_flush_one_record+0x46f/0x710 [ 37.494068][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 37.494070][ C0] ? __lock_acquire+0x518/0xc20 [ 37.494072][ C0] console_unlock+0xee/0x1f0 [ 37.494074][ C0] ? console_flush_one_record+0x710/0x710 [ 37.494075][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.494077][ C0] ? lock_acquire+0xe0/0x160 [ 37.494078][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 37.494080][ C0] ? vprintk_emit+0x320/0x3e0 [ 37.494081][ C0] vprintk_emit+0x37c/0x3e0 [ 37.494083][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 37.494084][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 37.494086][ C0] _printk+0xc7/0x100 [ 37.494088][ C0] ? snapshot_read.cold+0x21/0x21 [ 37.494090][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 37.494091][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 37.494093][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 37.494095][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 37.494096][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 37.494098][ C0] call_timer_fn+0x160/0x4d0 [ 37.494100][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 37.494102][ C0] ? debug_object_active_state+0x430/0x430 [ 37.494103][ C0] ? find_held_lock+0x2b/0x80 [ 37.494105][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 37.494106][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.494108][ C0] __run_timers+0x68f/0xaa0 [ 37.494110][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 37.494112][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 37.494114][ C0] ? __lock_acquire+0x518/0xc20 [ 37.494116][ C0] ? __rwlock_init+0x150/0x150 [ 37.494119][ C0] run_timer_softirq+0xf0/0x160 [ 37.494121][ C0] ? __run_timers+0xaa0/0xaa0 [ 37.494122][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 37.494124][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.494125][ C0] handle_softirqs+0x1d3/0x900 [ 37.494127][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 37.494128][ C0] ? _local_bh_enable+0xc0/0xc0 [ 37.494130][ C0] __irq_exit_rcu+0x145/0x1c0 [ 37.494132][ C0] irq_exit_rcu+0xe/0x30 [ 37.494133][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 37.494135][ C0] [ 37.494135][ C0] [ 37.494136][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 37.494137][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.494139][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 37.494140][ C0] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 37.494141][ C0] RSP: 0018:ffffffffaee07cf8 EFLAGS: 00000296 [ 37.494142][ C0] RAX: 00000000000df65b RBX: ffffffffaee30600 RCX: ffffffffab506247 [ 37.494143][ C0] RDX: ffffffffaee30600 RSI: ffffffffae711011 RDI: ffffffffae0949e0 [ 37.494144][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 37.494144][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff5dc0fa2 [ 37.494145][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 37.494146][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 37.494149][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 37.494150][ C0] default_idle+0x9/0x10 [ 37.494152][ C0] default_idle_call+0x6e/0xb0 [ 37.494153][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 37.494155][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 37.494156][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 37.494158][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 37.494159][ C0] ? rcu_is_watching+0x16/0xd0 [ 37.494160][ C0] do_idle+0xd8/0x190 [ 37.494162][ C0] cpu_startup_entry+0x53/0x70 [ 37.494163][ C0] rest_init+0x279/0x280 [ 37.494165][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 37.494167][ C0] ? rest_init+0x280/0x280 [ 37.494169][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 37.494171][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 37.494172][ C0] ? acpi_enable+0x1e4/0x330 [ 37.494173][ C0] start_kernel+0x3b9/0x3c0 [ 37.494175][ C0] x86_64_start_reservations+0x24/0x30 [ 37.494177][ C0] x86_64_start_kernel+0x12b/0x130 [ 37.494178][ C0] common_startup_64+0x13e/0x148 [ 37.494181][ C0]