[ 10.756084][ T208] ip (208) used greatest stack depth: 24272 bytes left [ 10.756101][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.756103][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: ip [ 10.756105][ T208] preempt_count: 2, expected: 0 [ 10.756106][ T208] RCU nest depth: 0, expected: 0 [ 10.756107][ T208] locks held by ip/208: 5, last CPU#2: [ 10.756110][ T208] #0: ffffffff934267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.756123][ T208] #1: ffffffff9358dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.756128][ T208] #2: ffffffff9358dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.756132][ T208] #3: ffffffff934ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.756136][ T208] #4: ffffffff934ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.756140][ T208] irq event stamp: 29076 [ 10.756141][ T208] hardirqs last enabled at (29075): [] __down_trylock_console_sem+0x86/0xa0 [ 10.756144][ T208] hardirqs last disabled at (29076): [] console_emit_next_record+0x3d4/0x4c0 [ 10.756146][ T208] softirqs last enabled at (28876): [] handle_softirqs+0x67c/0x900 [ 10.756148][ T208] softirqs last disabled at (28867): [] __irq_exit_rcu+0x145/0x1c0 [ 10.756150][ T208] Preemption disabled at: [ 10.756150][ T208] [<0000000000000000>] 0x0 [ 10.756157][ T208] CPU: 2 UID: 0 PID: 208 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.756161][ T208] Tainted: [W]=WARN [ 10.756162][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.756163][ T208] Call Trace: [ 10.756165][ T208] [ 10.756167][ T208] dump_stack_lvl+0x6f/0xa0 [ 10.756173][ T208] __might_resched.cold+0x1fe/0x2c1 [ 10.756178][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.756183][ T208] ? __kmalloc_noprof+0xdb/0x760 [ 10.756188][ T208] __kmalloc_noprof+0x443/0x760 [ 10.756190][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 10.756197][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 10.756199][ T208] alloc_buf.isra.0+0x4b/0x260 [ 10.756203][ T208] put_chars+0x1e1/0x2f0 [ 10.756207][ T208] ? __send_to_port+0x420/0x420 [ 10.756209][ T208] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.756213][ T208] ? validate_chain+0x38b/0xc20 [ 10.756219][ T208] hvc_console_print+0x292/0x780 [ 10.756227][ T208] ? hvc_write+0x3a0/0x3a0 [ 10.756230][ T208] ? rcu_is_watching+0x16/0xd0 [ 10.756233][ T208] ? lock_acquire+0x13c/0x160 [ 10.756237][ T208] console_emit_next_record+0x22f/0x4c0 [ 10.756241][ T208] ? devkmsg_read+0x4b0/0x4b0 [ 10.756243][ T208] ? console_flush_one_record+0x106/0x710 [ 10.756246][ T208] ? rcu_is_watching+0x16/0xd0 [ 10.756248][ T208] ? lock_acquire+0x13c/0x160 [ 10.756253][ T208] console_flush_one_record+0x46f/0x710 [ 10.756257][ T208] ? console_emit_next_record+0x4c0/0x4c0 [ 10.756259][ T208] ? __lock_acquire+0x518/0xc20 [ 10.756264][ T208] console_unlock+0xee/0x1f0 [ 10.756267][ T208] ? console_flush_one_record+0x710/0x710 [ 10.756269][ T208] ? rcu_is_watching+0x16/0xd0 [ 10.756272][ T208] ? lock_acquire+0x60/0x160 [ 10.756275][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.756277][ T208] ? vprintk_emit+0x320/0x3e0 [ 10.756281][ T208] vprintk_emit+0x37c/0x3e0 [ 10.756285][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 10.756289][ T208] ? __lock_acquire+0x518/0xc20 [ 10.756293][ T208] _printk+0xc7/0x100 [ 10.756297][ T208] ? snapshot_read.cold+0x21/0x21 [ 10.756301][ T208] ? do_raw_spin_lock+0x131/0x280 [ 10.756303][ T208] ? __rwlock_init+0x150/0x150 [ 10.756307][ T208] ? do_raw_spin_lock+0x131/0x280 [ 10.756310][ T208] do_exit.cold+0x82/0x9c [ 10.756314][ T208] ? exit_notify+0x890/0x890 [ 10.756316][ T208] ? __lock_release.isra.0+0x69/0x1a0 [ 10.756319][ T208] ? rcu_is_watching+0x16/0xd0 [ 10.756323][ T208] do_group_exit+0xb8/0x370 [ 10.756327][ T208] __x64_sys_exit_group+0x3c/0x50 [ 10.756329][ T208] x64_sys_call+0x1567/0x1570 [ 10.756331][ T208] do_syscall_64+0xff/0x530 [ 10.756335][ T208] ? exc_page_fault+0xee/0x100 [ 10.756338][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.756341][ T208] RIP: 0033:0x7f92b0b0e1b8 [ 10.756344][ T208] Code: Unable to access opcode bytes at 0x7f92b0b0e18e. [ 10.756345][ T208] RSP: 002b:00007ffd71b75dd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.756348][ T208] RAX: ffffffffffffffda RBX: 00007f92b0c3ef88 RCX: 00007f92b0b0e1b8 [ 10.756349][ T208] RDX: 00007f92b0858fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.756350][ T208] RBP: 00007ffd71b75e30 R08: 0000000000000000 R09: 0000000000000000 [ 10.756351][ T208] R10: 00007ffd71b75bf0 R11: 0000000000000246 R12: 0000000000000001 [ 10.756352][ T208] R13: 0000000000000000 R14: 00007f92b0c3d680 R15: 00007f92b0c3efa0 [ 10.756360][ T208] [ 16.489831][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 16.489917][ C0] [ 16.489919][ C0] ======================================================== [ 16.489920][ C0] WARNING: possible irq lock inversion dependency detected [ 16.489922][ C0] 7.2.0-virtme #1 Tainted: G W [ 16.489924][ C0] -------------------------------------------------------- [ 16.489924][ C0] swapper/0/0 just changed the state of lock: [ 16.489925][ C0] ffffffff934ad660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.489937][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 16.489939][ C0] (fs_reclaim){+.+.}-{0:0} [ 16.489940][ C0] [ 16.489940][ C0] [ 16.489940][ C0] and interrupts could create inverse lock ordering between them. [ 16.489940][ C0] [ 16.489941][ C0] [ 16.489941][ C0] other info that might help us debug this: [ 16.489941][ C0] Possible interrupt unsafe locking scenario: [ 16.489941][ C0] [ 16.489942][ C0] CPU0 CPU1 [ 16.489943][ C0] ---- ---- [ 16.489943][ C0] lock(fs_reclaim); [ 16.489944][ C0] local_irq_disable(); [ 16.489944][ C0] lock(console_owner); [ 16.489945][ C0] lock(fs_reclaim); [ 16.489946][ C0] [ 16.489946][ C0] lock(console_owner); [ 16.489947][ C0] [ 16.489947][ C0] *** DEADLOCK *** [ 16.489947][ C0] [ 16.489948][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 16.489949][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 16.489954][ C0] #1: ffffffff935f28b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 16.489959][ C0] #2: ffffffff9358dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.489962][ C0] #3: ffffffff9358dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.489965][ C0] [ 16.489965][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 16.489970][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 16.489972][ C0] HARDIRQ-ON-W at: [ 16.489973][ C0] __lock_acquire+0x388/0xc20 [ 16.489976][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.489978][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.489981][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 16.489983][ C0] kthread_create_worker_on_node+0xea/0x210 [ 16.489986][ C0] workqueue_init+0x2a/0x680 [ 16.489990][ C0] kernel_init_freeable+0x2fe/0x630 [ 16.489992][ C0] kernel_init+0x21/0x150 [ 16.489996][ C0] ret_from_fork+0x474/0x6b0 [ 16.490000][ C0] ret_from_fork_asm+0x11/0x20 [ 16.490002][ C0] SOFTIRQ-ON-W at: [ 16.490003][ C0] __lock_acquire+0x388/0xc20 [ 16.490004][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.490006][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.490007][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 16.490008][ C0] kthread_create_worker_on_node+0xea/0x210 [ 16.490010][ C0] workqueue_init+0x2a/0x680 [ 16.490011][ C0] kernel_init_freeable+0x2fe/0x630 [ 16.490012][ C0] kernel_init+0x21/0x150 [ 16.490014][ C0] ret_from_fork+0x474/0x6b0 [ 16.490015][ C0] ret_from_fork_asm+0x11/0x20 [ 16.490016][ C0] INITIAL USE at: [ 16.490017][ C0] __lock_acquire+0x388/0xc20 [ 16.490018][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.490019][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.490021][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 16.490022][ C0] kthread_create_worker_on_node+0xea/0x210 [ 16.490023][ C0] workqueue_init+0x2a/0x680 [ 16.490024][ C0] kernel_init_freeable+0x2fe/0x630 [ 16.490025][ C0] kernel_init+0x21/0x150 [ 16.490027][ C0] ret_from_fork+0x474/0x6b0 [ 16.490029][ C0] ret_from_fork_asm+0x11/0x20 [ 16.490030][ C0] } [ 16.490030][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 16.490034][ C0] ... acquired at: [ 16.490035][ C0] __lock_acquire+0x518/0xc20 [ 16.490036][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.490037][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.490039][ C0] __kmalloc_noprof+0xd3/0x760 [ 16.490040][ C0] alloc_buf.isra.0+0x4b/0x260 [ 16.490044][ C0] put_chars+0x1e1/0x2f0 [ 16.490045][ C0] hvc_console_print+0x292/0x780 [ 16.490048][ C0] console_emit_next_record+0x22f/0x4c0 [ 16.490050][ C0] console_flush_one_record+0x46f/0x710 [ 16.490051][ C0] console_unlock+0xee/0x1f0 [ 16.490052][ C0] vprintk_emit+0x37c/0x3e0 [ 16.490054][ C0] _printk+0xc7/0x100 [ 16.490057][ C0] print_ipi_mode+0x2e/0x40 [ 16.490059][ C0] do_one_initcall+0x124/0x4f0 [ 16.490060][ C0] kernel_init_freeable+0x596/0x630 [ 16.490061][ C0] kernel_init+0x21/0x150 [ 16.490062][ C0] ret_from_fork+0x474/0x6b0 [ 16.490064][ C0] ret_from_fork_asm+0x11/0x20 [ 16.490065][ C0] [ 16.490065][ C0] -> (console_owner){..-.}-{0:0} { [ 16.490067][ C0] IN-SOFTIRQ-W at: [ 16.490068][ C0] __lock_acquire+0x388/0xc20 [ 16.490069][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.490070][ C0] console_lock_spinning_enable+0x5c/0x60 [ 16.490072][ C0] console_emit_next_record+0x1d1/0x4c0 [ 16.490073][ C0] console_flush_one_record+0x46f/0x710 [ 16.490075][ C0] console_unlock+0xee/0x1f0 [ 16.490076][ C0] vprintk_emit+0x37c/0x3e0 [ 16.490077][ C0] _printk+0xc7/0x100 [ 16.490079][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.490081][ C0] call_timer_fn+0x160/0x4d0 [ 16.490082][ C0] __run_timers+0x68f/0xaa0 [ 16.490084][ C0] run_timer_softirq+0xf0/0x160 [ 16.490085][ C0] handle_softirqs+0x1d3/0x900 [ 16.490087][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.490088][ C0] irq_exit_rcu+0xe/0x30 [ 16.490089][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 16.490091][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.490093][ C0] pv_native_safe_halt+0xf/0x10 [ 16.490095][ C0] default_idle+0x9/0x10 [ 16.490096][ C0] default_idle_call+0x6e/0xb0 [ 16.490098][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.490100][ C0] do_idle+0xd8/0x190 [ 16.490101][ C0] cpu_startup_entry+0x53/0x70 [ 16.490102][ C0] rest_init+0x279/0x280 [ 16.490103][ C0] start_kernel+0x3af/0x3b0 [ 16.490104][ C0] x86_64_start_reservations+0x24/0x30 [ 16.490107][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.490108][ C0] common_startup_64+0x13e/0x148 [ 16.490110][ C0] INITIAL USE at: [ 16.490111][ C0] } [ 16.490112][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 16.490114][ C0] ... acquired at: [ 16.490115][ C0] mark_lock+0x1d7/0xa00 [ 16.490116][ C0] mark_usage+0x42/0x170 [ 16.490117][ C0] __lock_acquire+0x388/0xc20 [ 16.490118][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.490120][ C0] console_lock_spinning_enable+0x5c/0x60 [ 16.490121][ C0] console_emit_next_record+0x1d1/0x4c0 [ 16.490122][ C0] console_flush_one_record+0x46f/0x710 [ 16.490124][ C0] console_unlock+0xee/0x1f0 [ 16.490125][ C0] vprintk_emit+0x37c/0x3e0 [ 16.490126][ C0] _printk+0xc7/0x100 [ 16.490128][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.490129][ C0] call_timer_fn+0x160/0x4d0 [ 16.490130][ C0] __run_timers+0x68f/0xaa0 [ 16.490131][ C0] run_timer_softirq+0xf0/0x160 [ 16.490133][ C0] handle_softirqs+0x1d3/0x900 [ 16.490134][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.490135][ C0] irq_exit_rcu+0xe/0x30 [ 16.490136][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 16.490137][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.490138][ C0] pv_native_safe_halt+0xf/0x10 [ 16.490140][ C0] default_idle+0x9/0x10 [ 16.490141][ C0] default_idle_call+0x6e/0xb0 [ 16.490143][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.490144][ C0] do_idle+0xd8/0x190 [ 16.490144][ C0] cpu_startup_entry+0x53/0x70 [ 16.490145][ C0] rest_init+0x279/0x280 [ 16.490147][ C0] start_kernel+0x3af/0x3b0 [ 16.490148][ C0] x86_64_start_reservations+0x24/0x30 [ 16.490149][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.490151][ C0] common_startup_64+0x13e/0x148 [ 16.490152][ C0] [ 16.490152][ C0] [ 16.490152][ C0] stack backtrace: [ 16.490155][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.490158][ C0] Tainted: [W]=WARN [ 16.490159][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.490161][ C0] Call Trace: [ 16.490162][ C0] [ 16.490163][ C0] dump_stack_lvl+0x6f/0xa0 [ 16.490167][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 16.490169][ C0] mark_lock_irq+0x989/0x9c0 [ 16.490170][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 16.490173][ C0] mark_lock+0x1d7/0xa00 [ 16.490175][ C0] mark_usage+0x42/0x170 [ 16.490176][ C0] __lock_acquire+0x388/0xc20 [ 16.490178][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.490180][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 16.490182][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490184][ C0] ? lock_acquire+0x13c/0x160 [ 16.490186][ C0] console_lock_spinning_enable+0x5c/0x60 [ 16.490188][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 16.490189][ C0] console_emit_next_record+0x1d1/0x4c0 [ 16.490191][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 16.490193][ C0] ? console_flush_one_record+0x106/0x710 [ 16.490194][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490196][ C0] ? lock_acquire+0x13c/0x160 [ 16.490198][ C0] console_flush_one_record+0x46f/0x710 [ 16.490200][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 16.490201][ C0] ? __lock_acquire+0x518/0xc20 [ 16.490203][ C0] console_unlock+0xee/0x1f0 [ 16.490205][ C0] ? console_flush_one_record+0x710/0x710 [ 16.490207][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490208][ C0] ? lock_acquire+0x60/0x160 [ 16.490210][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.490211][ C0] ? vprintk_emit+0x320/0x3e0 [ 16.490213][ C0] vprintk_emit+0x37c/0x3e0 [ 16.490215][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 16.490217][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.490219][ C0] _printk+0xc7/0x100 [ 16.490221][ C0] ? snapshot_read.cold+0x21/0x21 [ 16.490222][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.490224][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.490226][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.490227][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.490229][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.490230][ C0] call_timer_fn+0x160/0x4d0 [ 16.490232][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 16.490234][ C0] ? debug_object_active_state+0x430/0x430 [ 16.490237][ C0] ? find_held_lock+0x2b/0x80 [ 16.490239][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.490241][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490243][ C0] __run_timers+0x68f/0xaa0 [ 16.490244][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.490246][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 16.490248][ C0] ? __lock_acquire+0x518/0xc20 [ 16.490250][ C0] ? __rwlock_init+0x150/0x150 [ 16.490252][ C0] run_timer_softirq+0xf0/0x160 [ 16.490254][ C0] ? __run_timers+0xaa0/0xaa0 [ 16.490256][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.490259][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490260][ C0] handle_softirqs+0x1d3/0x900 [ 16.490262][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.490263][ C0] ? _local_bh_enable+0xc0/0xc0 [ 16.490265][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.490267][ C0] irq_exit_rcu+0xe/0x30 [ 16.490268][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 16.490270][ C0] [ 16.490270][ C0] [ 16.490271][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.490272][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.490274][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 16.490277][ C0] Code: 48 8b 3d 94 b2 10 02 e8 1f 00 00 00 48 2b 05 58 03 ac 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 e6 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 [ 16.490278][ C0] RSP: 0018:ffffffff93207cf8 EFLAGS: 00000296 [ 16.490281][ C0] RAX: 00000000000887db RBX: ffffffff93240600 RCX: ffffffff900f3307 [ 16.490282][ C0] RDX: ffffffff93240600 RSI: ffffffff930575f8 RDI: ffffffff92a8d8e0 [ 16.490283][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 16.490284][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff2640fa2 [ 16.490285][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 16.490286][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.490288][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 16.490290][ C0] default_idle+0x9/0x10 [ 16.490292][ C0] default_idle_call+0x6e/0xb0 [ 16.490294][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.490295][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 16.490297][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 16.490300][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.490301][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490303][ C0] do_idle+0xd8/0x190 [ 16.490304][ C0] cpu_startup_entry+0x53/0x70 [ 16.490306][ C0] rest_init+0x279/0x280 [ 16.490308][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 16.490310][ C0] ? rest_init+0x280/0x280 [ 16.490312][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 16.490316][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 16.490318][ C0] ? acpi_enable+0x1e4/0x330 [ 16.490320][ C0] start_kernel+0x3af/0x3b0 [ 16.490322][ C0] x86_64_start_reservations+0x24/0x30 [ 16.490323][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.490325][ C0] common_startup_64+0x13e/0x148 [ 16.490328][ C0] [ 16.490332][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.490334][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 16.490335][ C0] preempt_count: 103, expected: 0 [ 16.490336][ C0] RCU nest depth: 0, expected: 0 [ 16.490336][ C0] INFO: lockdep is turned off. [ 16.490337][ C0] irq event stamp: 559083 [ 16.490338][ C0] hardirqs last enabled at (559082): [] __down_trylock_console_sem+0x86/0xa0 [ 16.490340][ C0] hardirqs last disabled at (559083): [] console_emit_next_record+0x3d4/0x4c0 [ 16.490342][ C0] softirqs last enabled at (559062): [] handle_softirqs+0x67c/0x900 [ 16.490343][ C0] softirqs last disabled at (559069): [] __irq_exit_rcu+0x145/0x1c0 [ 16.490344][ C0] Preemption disabled at: [ 16.490345][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 16.490348][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.490350][ C0] Tainted: [W]=WARN [ 16.490351][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.490351][ C0] Call Trace: [ 16.490352][ C0] [ 16.490353][ C0] dump_stack_lvl+0x6f/0xa0 [ 16.490355][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 16.490356][ C0] __might_resched.cold+0x1fe/0x2c1 [ 16.490359][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.490362][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490364][ C0] __kmalloc_noprof+0x443/0x760 [ 16.490365][ C0] ? __rwlock_init+0x150/0x150 [ 16.490366][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 16.490369][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 16.490370][ C0] alloc_buf.isra.0+0x4b/0x260 [ 16.490373][ C0] put_chars+0x1e1/0x2f0 [ 16.490375][ C0] ? __send_to_port+0x420/0x420 [ 16.490377][ C0] ? mark_lock+0x1d7/0xa00 [ 16.490379][ C0] hvc_console_print+0x292/0x780 [ 16.490382][ C0] ? hvc_write+0x3a0/0x3a0 [ 16.490384][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490386][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490388][ C0] console_emit_next_record+0x22f/0x4c0 [ 16.490390][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 16.490391][ C0] ? console_flush_one_record+0x106/0x710 [ 16.490393][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490395][ C0] ? lock_acquire+0x13c/0x160 [ 16.490397][ C0] console_flush_one_record+0x46f/0x710 [ 16.490399][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 16.490400][ C0] ? __lock_acquire+0x518/0xc20 [ 16.490402][ C0] console_unlock+0xee/0x1f0 [ 16.490404][ C0] ? console_flush_one_record+0x710/0x710 [ 16.490405][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490407][ C0] ? lock_acquire+0x60/0x160 [ 16.490409][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.490410][ C0] ? vprintk_emit+0x320/0x3e0 [ 16.490412][ C0] vprintk_emit+0x37c/0x3e0 [ 16.490414][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 16.490416][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.490417][ C0] _printk+0xc7/0x100 [ 16.490419][ C0] ? snapshot_read.cold+0x21/0x21 [ 16.490421][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.490422][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.490425][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.490426][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.490427][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.490429][ C0] call_timer_fn+0x160/0x4d0 [ 16.490431][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 16.490432][ C0] ? debug_object_active_state+0x430/0x430 [ 16.490433][ C0] ? find_held_lock+0x2b/0x80 [ 16.490435][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.490437][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490439][ C0] __run_timers+0x68f/0xaa0 [ 16.490440][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.490443][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 16.490444][ C0] ? __lock_acquire+0x518/0xc20 [ 16.490446][ C0] ? __rwlock_init+0x150/0x150 [ 16.490449][ C0] run_timer_softirq+0xf0/0x160 [ 16.490450][ C0] ? __run_timers+0xaa0/0xaa0 [ 16.490452][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.490454][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490455][ C0] handle_softirqs+0x1d3/0x900 [ 16.490457][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.490458][ C0] ? _local_bh_enable+0xc0/0xc0 [ 16.490460][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.490461][ C0] irq_exit_rcu+0xe/0x30 [ 16.490462][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 16.490464][ C0] [ 16.490465][ C0] [ 16.490465][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.490467][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.490468][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 16.490470][ C0] Code: 48 8b 3d 94 b2 10 02 e8 1f 00 00 00 48 2b 05 58 03 ac 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 e6 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 [ 16.490471][ C0] RSP: 0018:ffffffff93207cf8 EFLAGS: 00000296 [ 16.490472][ C0] RAX: 00000000000887db RBX: ffffffff93240600 RCX: ffffffff900f3307 [ 16.490473][ C0] RDX: ffffffff93240600 RSI: ffffffff930575f8 RDI: ffffffff92a8d8e0 [ 16.490474][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 16.490475][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff2640fa2 [ 16.490475][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 16.490477][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.490479][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 16.490480][ C0] default_idle+0x9/0x10 [ 16.490482][ C0] default_idle_call+0x6e/0xb0 [ 16.490484][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.490485][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 16.490487][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 16.490489][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.490490][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.490492][ C0] do_idle+0xd8/0x190 [ 16.490493][ C0] cpu_startup_entry+0x53/0x70 [ 16.490495][ C0] rest_init+0x279/0x280 [ 16.490497][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 16.490499][ C0] ? rest_init+0x280/0x280 [ 16.490501][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 16.490503][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 16.490505][ C0] ? acpi_enable+0x1e4/0x330 [ 16.490506][ C0] start_kernel+0x3af/0x3b0 [ 16.490508][ C0] x86_64_start_reservations+0x24/0x30 [ 16.490510][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.490512][ C0] common_startup_64+0x13e/0x148 [ 16.490514][ C0]