[ 10.549287][ T214] ip (214) used greatest stack depth: 24048 bytes left [ 10.549307][ T214] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.549309][ T214] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 214, name: ip [ 10.549311][ T214] preempt_count: 2, expected: 0 [ 10.549312][ T214] RCU nest depth: 0, expected: 0 [ 10.549312][ T214] locks held by ip/214: 5, last CPU#3: [ 10.549314][ T214] #0: ffffffffbce167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.549325][ T214] #1: ffffffffbcf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.549330][ T214] #2: ffffffffbcf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.549335][ T214] #3: ffffffffbce9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.549338][ T214] #4: ffffffffbce9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.549343][ T214] irq event stamp: 27044 [ 10.549343][ T214] hardirqs last enabled at (27043): [] __down_trylock_console_sem+0x86/0xa0 [ 10.549347][ T214] hardirqs last disabled at (27044): [] console_emit_next_record+0x3d4/0x4c0 [ 10.549349][ T214] softirqs last enabled at (25942): [] handle_softirqs+0x67c/0x900 [ 10.549351][ T214] softirqs last disabled at (25931): [] __irq_exit_rcu+0x145/0x1c0 [ 10.549354][ T214] Preemption disabled at: [ 10.549354][ T214] [<0000000000000000>] 0x0 [ 10.549361][ T214] CPU: 3 UID: 0 PID: 214 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.549365][ T214] Tainted: [W]=WARN [ 10.549366][ T214] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.549367][ T214] Call Trace: [ 10.549368][ T214] [ 10.549370][ T214] dump_stack_lvl+0x6f/0xa0 [ 10.549376][ T214] __might_resched.cold+0x1fe/0x2c1 [ 10.549381][ T214] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.549385][ T214] ? __kmalloc_noprof+0xdb/0x760 [ 10.549389][ T214] __kmalloc_noprof+0x443/0x760 [ 10.549391][ T214] ? alloc_buf.isra.0+0x4b/0x260 [ 10.549398][ T214] ? do_raw_spin_unlock+0x59/0x250 [ 10.549401][ T214] alloc_buf.isra.0+0x4b/0x260 [ 10.549405][ T214] put_chars+0x1e1/0x2f0 [ 10.549407][ T214] ? __send_to_port+0x420/0x420 [ 10.549409][ T214] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.549412][ T214] ? validate_chain+0x38b/0xc20 [ 10.549418][ T214] hvc_console_print+0x292/0x780 [ 10.549425][ T214] ? hvc_write+0x3a0/0x3a0 [ 10.549428][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.549430][ T214] ? lock_acquire+0x13c/0x160 [ 10.549434][ T214] console_emit_next_record+0x22f/0x4c0 [ 10.549438][ T214] ? devkmsg_read+0x4b0/0x4b0 [ 10.549439][ T214] ? console_flush_one_record+0x106/0x710 [ 10.549443][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.549444][ T214] ? lock_acquire+0x13c/0x160 [ 10.549448][ T214] console_flush_one_record+0x46f/0x710 [ 10.549453][ T214] ? console_emit_next_record+0x4c0/0x4c0 [ 10.549454][ T214] ? __lock_acquire+0x518/0xc20 [ 10.549460][ T214] console_unlock+0xee/0x1f0 [ 10.549463][ T214] ? console_flush_one_record+0x710/0x710 [ 10.549464][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.549466][ T214] ? lock_acquire+0xe0/0x160 [ 10.549470][ T214] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.549472][ T214] ? vprintk_emit+0x320/0x3e0 [ 10.549474][ T214] vprintk_emit+0x37c/0x3e0 [ 10.549477][ T214] ? wake_up_klogd_work_func+0x90/0x90 [ 10.549480][ T214] ? __lock_acquire+0x518/0xc20 [ 10.549484][ T214] _printk+0xc7/0x100 [ 10.549488][ T214] ? snapshot_read.cold+0x21/0x21 [ 10.549491][ T214] ? do_raw_spin_lock+0x131/0x280 [ 10.549493][ T214] ? __rwlock_init+0x150/0x150 [ 10.549497][ T214] ? do_raw_spin_lock+0x131/0x280 [ 10.549500][ T214] do_exit.cold+0x82/0x9c [ 10.549504][ T214] ? exit_notify+0x890/0x890 [ 10.549505][ T214] ? __lock_release.isra.0+0x69/0x1a0 [ 10.549508][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.549511][ T214] do_group_exit+0xb8/0x370 [ 10.549514][ T214] __x64_sys_exit_group+0x3c/0x50 [ 10.549516][ T214] x64_sys_call+0x1567/0x1570 [ 10.549518][ T214] do_syscall_64+0xff/0x530 [ 10.549522][ T214] ? exc_page_fault+0xee/0x100 [ 10.549525][ T214] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.549527][ T214] RIP: 0033:0x7fc7056d41b8 [ 10.549530][ T214] Code: Unable to access opcode bytes at 0x7fc7056d418e. [ 10.549531][ T214] RSP: 002b:00007ffee551ffc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.549533][ T214] RAX: ffffffffffffffda RBX: 00007fc705804f88 RCX: 00007fc7056d41b8 [ 10.549534][ T214] RDX: 00007fc70541efc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.549535][ T214] RBP: 00007ffee5520020 R08: 0000000000000000 R09: 0000000000000050 [ 10.549536][ T214] R10: 00007ffee551fde0 R11: 0000000000000246 R12: 0000000000000001 [ 10.549537][ T214] R13: 0000000000000000 R14: 00007fc705803680 R15: 00007fc705804fa0 [ 10.549544][ T214] [ 24.523771][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 24.523819][ C0] [ 24.523821][ C0] ======================================================== [ 24.523822][ C0] WARNING: possible irq lock inversion dependency detected [ 24.523824][ C0] 7.2.0-virtme #1 Tainted: G W [ 24.523826][ C0] -------------------------------------------------------- [ 24.523827][ C0] swapper/0/0 just changed the state of lock: [ 24.523828][ C0] ffffffffbce9d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.523840][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 24.523842][ C0] (fs_reclaim){+.+.}-{0:0} [ 24.523843][ C0] [ 24.523843][ C0] [ 24.523843][ C0] and interrupts could create inverse lock ordering between them. [ 24.523843][ C0] [ 24.523844][ C0] [ 24.523844][ C0] other info that might help us debug this: [ 24.523845][ C0] Possible interrupt unsafe locking scenario: [ 24.523845][ C0] [ 24.523845][ C0] CPU0 CPU1 [ 24.523846][ C0] ---- ---- [ 24.523846][ C0] lock(fs_reclaim); [ 24.523848][ C0] local_irq_disable(); [ 24.523848][ C0] lock(console_owner); [ 24.523849][ C0] lock(fs_reclaim); [ 24.523850][ C0] [ 24.523851][ C0] lock(console_owner); [ 24.523852][ C0] [ 24.523852][ C0] *** DEADLOCK *** [ 24.523852][ C0] [ 24.523852][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 24.523853][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 24.523859][ C0] #1: ffffffffbcfe29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 24.523864][ C0] #2: ffffffffbcf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.523867][ C0] #3: ffffffffbcf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.523871][ C0] [ 24.523871][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 24.523883][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 24.523887][ C0] HARDIRQ-ON-W at: [ 24.523889][ C0] __lock_acquire+0x388/0xc20 [ 24.523893][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.523896][ C0] fs_reclaim_acquire+0xd5/0x120 [ 24.523900][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 24.523902][ C0] kthread_create_worker_on_node+0xea/0x210 [ 24.523906][ C0] workqueue_init+0x2a/0x680 [ 24.523911][ C0] kernel_init_freeable+0x2fe/0x630 [ 24.523914][ C0] kernel_init+0x21/0x150 [ 24.523917][ C0] ret_from_fork+0x474/0x6b0 [ 24.523921][ C0] ret_from_fork_asm+0x11/0x20 [ 24.523924][ C0] SOFTIRQ-ON-W at: [ 24.523925][ C0] __lock_acquire+0x388/0xc20 [ 24.523927][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.523928][ C0] fs_reclaim_acquire+0xd5/0x120 [ 24.523930][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 24.523931][ C0] kthread_create_worker_on_node+0xea/0x210 [ 24.523932][ C0] workqueue_init+0x2a/0x680 [ 24.523934][ C0] kernel_init_freeable+0x2fe/0x630 [ 24.523936][ C0] kernel_init+0x21/0x150 [ 24.523937][ C0] ret_from_fork+0x474/0x6b0 [ 24.523938][ C0] ret_from_fork_asm+0x11/0x20 [ 24.523940][ C0] INITIAL USE at: [ 24.523941][ C0] __lock_acquire+0x388/0xc20 [ 24.523942][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.523944][ C0] fs_reclaim_acquire+0xd5/0x120 [ 24.523945][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 24.523946][ C0] kthread_create_worker_on_node+0xea/0x210 [ 24.523948][ C0] workqueue_init+0x2a/0x680 [ 24.523949][ C0] kernel_init_freeable+0x2fe/0x630 [ 24.523951][ C0] kernel_init+0x21/0x150 [ 24.523952][ C0] ret_from_fork+0x474/0x6b0 [ 24.523953][ C0] ret_from_fork_asm+0x11/0x20 [ 24.523955][ C0] } [ 24.523955][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 24.523959][ C0] ... acquired at: [ 24.523960][ C0] __lock_acquire+0x518/0xc20 [ 24.523961][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.523962][ C0] fs_reclaim_acquire+0xd5/0x120 [ 24.523964][ C0] __kmalloc_noprof+0xd3/0x760 [ 24.523965][ C0] alloc_buf.isra.0+0x4b/0x260 [ 24.523969][ C0] put_chars+0x1e1/0x2f0 [ 24.523970][ C0] hvc_console_print+0x292/0x780 [ 24.523973][ C0] console_emit_next_record+0x22f/0x4c0 [ 24.523975][ C0] console_flush_one_record+0x46f/0x710 [ 24.523976][ C0] console_unlock+0xee/0x1f0 [ 24.523978][ C0] vprintk_emit+0x37c/0x3e0 [ 24.523979][ C0] _printk+0xc7/0x100 [ 24.523982][ C0] tun_init+0x24/0xb0 [ 24.523984][ C0] do_one_initcall+0x124/0x4f0 [ 24.523986][ C0] kernel_init_freeable+0x596/0x630 [ 24.523987][ C0] kernel_init+0x21/0x150 [ 24.523989][ C0] ret_from_fork+0x474/0x6b0 [ 24.523990][ C0] ret_from_fork_asm+0x11/0x20 [ 24.523991][ C0] [ 24.523991][ C0] -> (console_owner){..-.}-{0:0} { [ 24.523993][ C0] IN-SOFTIRQ-W at: [ 24.523994][ C0] __lock_acquire+0x388/0xc20 [ 24.523996][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.523997][ C0] console_lock_spinning_enable+0x5c/0x60 [ 24.523999][ C0] console_emit_next_record+0x1d1/0x4c0 [ 24.524000][ C0] console_flush_one_record+0x46f/0x710 [ 24.524002][ C0] console_unlock+0xee/0x1f0 [ 24.524003][ C0] vprintk_emit+0x37c/0x3e0 [ 24.524004][ C0] _printk+0xc7/0x100 [ 24.524006][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 24.524008][ C0] call_timer_fn+0x160/0x4d0 [ 24.524010][ C0] __run_timers+0x68f/0xaa0 [ 24.524011][ C0] run_timer_softirq+0xf0/0x160 [ 24.524013][ C0] handle_softirqs+0x1d3/0x900 [ 24.524015][ C0] __irq_exit_rcu+0x145/0x1c0 [ 24.524017][ C0] irq_exit_rcu+0xe/0x30 [ 24.524018][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 24.524019][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.524021][ C0] pv_native_safe_halt+0xf/0x10 [ 24.524022][ C0] default_idle+0x9/0x10 [ 24.524024][ C0] default_idle_call+0x6e/0xb0 [ 24.524025][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.524027][ C0] do_idle+0xd8/0x190 [ 24.524029][ C0] cpu_startup_entry+0x53/0x70 [ 24.524030][ C0] rest_init+0x279/0x280 [ 24.524031][ C0] start_kernel+0x3b9/0x3c0 [ 24.524033][ C0] x86_64_start_reservations+0x24/0x30 [ 24.524035][ C0] x86_64_start_kernel+0x12b/0x130 [ 24.524036][ C0] common_startup_64+0x13e/0x148 [ 24.524039][ C0] INITIAL USE at: [ 24.524040][ C0] } [ 24.524040][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 24.524043][ C0] ... acquired at: [ 24.524043][ C0] mark_lock+0x1d7/0xa00 [ 24.524045][ C0] mark_usage+0x42/0x170 [ 24.524046][ C0] __lock_acquire+0x388/0xc20 [ 24.524047][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.524049][ C0] console_lock_spinning_enable+0x5c/0x60 [ 24.524050][ C0] console_emit_next_record+0x1d1/0x4c0 [ 24.524052][ C0] console_flush_one_record+0x46f/0x710 [ 24.524054][ C0] console_unlock+0xee/0x1f0 [ 24.524055][ C0] vprintk_emit+0x37c/0x3e0 [ 24.524056][ C0] _printk+0xc7/0x100 [ 24.524057][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 24.524058][ C0] call_timer_fn+0x160/0x4d0 [ 24.524060][ C0] __run_timers+0x68f/0xaa0 [ 24.524062][ C0] run_timer_softirq+0xf0/0x160 [ 24.524063][ C0] handle_softirqs+0x1d3/0x900 [ 24.524065][ C0] __irq_exit_rcu+0x145/0x1c0 [ 24.524066][ C0] irq_exit_rcu+0xe/0x30 [ 24.524068][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 24.524069][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.524070][ C0] pv_native_safe_halt+0xf/0x10 [ 24.524071][ C0] default_idle+0x9/0x10 [ 24.524072][ C0] default_idle_call+0x6e/0xb0 [ 24.524074][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.524075][ C0] do_idle+0xd8/0x190 [ 24.524076][ C0] cpu_startup_entry+0x53/0x70 [ 24.524078][ C0] rest_init+0x279/0x280 [ 24.524079][ C0] start_kernel+0x3b9/0x3c0 [ 24.524080][ C0] x86_64_start_reservations+0x24/0x30 [ 24.524082][ C0] x86_64_start_kernel+0x12b/0x130 [ 24.524083][ C0] common_startup_64+0x13e/0x148 [ 24.524084][ C0] [ 24.524084][ C0] [ 24.524084][ C0] stack backtrace: [ 24.524087][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.524091][ C0] Tainted: [W]=WARN [ 24.524091][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.524093][ C0] Call Trace: [ 24.524094][ C0] [ 24.524095][ C0] dump_stack_lvl+0x6f/0xa0 [ 24.524100][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 24.524102][ C0] mark_lock_irq+0x989/0x9c0 [ 24.524104][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 24.524107][ C0] mark_lock+0x1d7/0xa00 [ 24.524109][ C0] mark_usage+0x42/0x170 [ 24.524111][ C0] __lock_acquire+0x388/0xc20 [ 24.524113][ C0] lock_acquire.part.0+0xd4/0x280 [ 24.524115][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 24.524118][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524120][ C0] ? lock_acquire+0x13c/0x160 [ 24.524122][ C0] console_lock_spinning_enable+0x5c/0x60 [ 24.524124][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 24.524125][ C0] console_emit_next_record+0x1d1/0x4c0 [ 24.524128][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 24.524130][ C0] ? console_flush_one_record+0x106/0x710 [ 24.524132][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524133][ C0] ? lock_acquire+0x13c/0x160 [ 24.524135][ C0] console_flush_one_record+0x46f/0x710 [ 24.524137][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 24.524139][ C0] ? __lock_acquire+0x518/0xc20 [ 24.524142][ C0] console_unlock+0xee/0x1f0 [ 24.524144][ C0] ? console_flush_one_record+0x710/0x710 [ 24.524145][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524147][ C0] ? lock_acquire+0xe0/0x160 [ 24.524149][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.524151][ C0] ? vprintk_emit+0x320/0x3e0 [ 24.524152][ C0] vprintk_emit+0x37c/0x3e0 [ 24.524154][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 24.524156][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 24.524157][ C0] _printk+0xc7/0x100 [ 24.524159][ C0] ? snapshot_read.cold+0x21/0x21 [ 24.524161][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 24.524163][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.524165][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 24.524167][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.524168][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.524170][ C0] call_timer_fn+0x160/0x4d0 [ 24.524173][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 24.524175][ C0] ? debug_object_active_state+0x430/0x430 [ 24.524178][ C0] ? find_held_lock+0x2b/0x80 [ 24.524180][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.524182][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524183][ C0] __run_timers+0x68f/0xaa0 [ 24.524185][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.524188][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 24.524189][ C0] ? __lock_acquire+0x518/0xc20 [ 24.524192][ C0] ? __rwlock_init+0x150/0x150 [ 24.524195][ C0] run_timer_softirq+0xf0/0x160 [ 24.524198][ C0] ? __run_timers+0xaa0/0xaa0 [ 24.524200][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.524203][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524204][ C0] handle_softirqs+0x1d3/0x900 [ 24.524206][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.524208][ C0] ? _local_bh_enable+0xc0/0xc0 [ 24.524210][ C0] __irq_exit_rcu+0x145/0x1c0 [ 24.524212][ C0] irq_exit_rcu+0xe/0x30 [ 24.524214][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 24.524216][ C0] [ 24.524216][ C0] [ 24.524217][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 24.524219][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.524220][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 24.524223][ 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 [ 24.524225][ C0] RSP: 0018:ffffffffbcc07cf8 EFLAGS: 00000296 [ 24.524227][ C0] RAX: 00000000000da69d RBX: ffffffffbcc30600 RCX: ffffffffb9306247 [ 24.524228][ C0] RDX: ffffffffbcc30600 RSI: ffffffffbc511011 RDI: ffffffffbbe949e0 [ 24.524229][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 24.524230][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff7980fa2 [ 24.524231][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 24.524233][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.524235][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 24.524237][ C0] default_idle+0x9/0x10 [ 24.524239][ C0] default_idle_call+0x6e/0xb0 [ 24.524240][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.524242][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 24.524244][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 24.524247][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524248][ C0] do_idle+0xd8/0x190 [ 24.524250][ C0] cpu_startup_entry+0x53/0x70 [ 24.524252][ C0] rest_init+0x279/0x280 [ 24.524254][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 24.524257][ C0] ? rest_init+0x280/0x280 [ 24.524259][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 24.524263][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 24.524265][ C0] ? acpi_enable+0x1e4/0x330 [ 24.524267][ C0] start_kernel+0x3b9/0x3c0 [ 24.524269][ C0] x86_64_start_reservations+0x24/0x30 [ 24.524271][ C0] x86_64_start_kernel+0x12b/0x130 [ 24.524273][ C0] common_startup_64+0x13e/0x148 [ 24.524277][ C0] [ 24.524280][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.524282][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 24.524283][ C0] preempt_count: 103, expected: 0 [ 24.524284][ C0] RCU nest depth: 0, expected: 0 [ 24.524285][ C0] INFO: lockdep is turned off. [ 24.524285][ C0] irq event stamp: 894637 [ 24.524286][ C0] hardirqs last enabled at (894636): [] __down_trylock_console_sem+0x86/0xa0 [ 24.524289][ C0] hardirqs last disabled at (894637): [] console_emit_next_record+0x3d4/0x4c0 [ 24.524291][ C0] softirqs last enabled at (894604): [] handle_softirqs+0x67c/0x900 [ 24.524293][ C0] softirqs last disabled at (894623): [] __irq_exit_rcu+0x145/0x1c0 [ 24.524295][ C0] Preemption disabled at: [ 24.524295][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 24.524299][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.524301][ C0] Tainted: [W]=WARN [ 24.524302][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.524303][ C0] Call Trace: [ 24.524303][ C0] [ 24.524304][ C0] dump_stack_lvl+0x6f/0xa0 [ 24.524306][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 24.524309][ C0] __might_resched.cold+0x1fe/0x2c1 [ 24.524312][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.524315][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524317][ C0] __kmalloc_noprof+0x443/0x760 [ 24.524318][ C0] ? __rwlock_init+0x150/0x150 [ 24.524320][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 24.524323][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 24.524324][ C0] alloc_buf.isra.0+0x4b/0x260 [ 24.524327][ C0] put_chars+0x1e1/0x2f0 [ 24.524329][ C0] ? __send_to_port+0x420/0x420 [ 24.524331][ C0] ? mark_lock+0x1d7/0xa00 [ 24.524333][ C0] hvc_console_print+0x292/0x780 [ 24.524337][ C0] ? hvc_write+0x3a0/0x3a0 [ 24.524339][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524340][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524342][ C0] console_emit_next_record+0x22f/0x4c0 [ 24.524344][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 24.524346][ C0] ? console_flush_one_record+0x106/0x710 [ 24.524348][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524350][ C0] ? lock_acquire+0x13c/0x160 [ 24.524352][ C0] console_flush_one_record+0x46f/0x710 [ 24.524355][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 24.524356][ C0] ? __lock_acquire+0x518/0xc20 [ 24.524359][ C0] console_unlock+0xee/0x1f0 [ 24.524361][ C0] ? console_flush_one_record+0x710/0x710 [ 24.524363][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524365][ C0] ? lock_acquire+0xe0/0x160 [ 24.524367][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.524369][ C0] ? vprintk_emit+0x320/0x3e0 [ 24.524370][ C0] vprintk_emit+0x37c/0x3e0 [ 24.524372][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 24.524374][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 24.524376][ C0] _printk+0xc7/0x100 [ 24.524378][ C0] ? snapshot_read.cold+0x21/0x21 [ 24.524380][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 24.524381][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.524384][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 24.524386][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.524388][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.524390][ C0] call_timer_fn+0x160/0x4d0 [ 24.524392][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 24.524394][ C0] ? debug_object_active_state+0x430/0x430 [ 24.524396][ C0] ? find_held_lock+0x2b/0x80 [ 24.524397][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.524399][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524401][ C0] __run_timers+0x68f/0xaa0 [ 24.524403][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 24.524406][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 24.524408][ C0] ? __lock_acquire+0x518/0xc20 [ 24.524411][ C0] ? __rwlock_init+0x150/0x150 [ 24.524413][ C0] run_timer_softirq+0xf0/0x160 [ 24.524415][ C0] ? __run_timers+0xaa0/0xaa0 [ 24.524417][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.524419][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524420][ C0] handle_softirqs+0x1d3/0x900 [ 24.524422][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 24.524423][ C0] ? _local_bh_enable+0xc0/0xc0 [ 24.524426][ C0] __irq_exit_rcu+0x145/0x1c0 [ 24.524427][ C0] irq_exit_rcu+0xe/0x30 [ 24.524429][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 24.524430][ C0] [ 24.524431][ C0] [ 24.524431][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 24.524433][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.524435][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 24.524436][ 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 [ 24.524437][ C0] RSP: 0018:ffffffffbcc07cf8 EFLAGS: 00000296 [ 24.524438][ C0] RAX: 00000000000da69d RBX: ffffffffbcc30600 RCX: ffffffffb9306247 [ 24.524439][ C0] RDX: ffffffffbcc30600 RSI: ffffffffbc511011 RDI: ffffffffbbe949e0 [ 24.524440][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 24.524440][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff7980fa2 [ 24.524441][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 24.524442][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.524445][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 24.524446][ C0] default_idle+0x9/0x10 [ 24.524447][ C0] default_idle_call+0x6e/0xb0 [ 24.524449][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.524451][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 24.524452][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 24.524454][ C0] ? rcu_is_watching+0x16/0xd0 [ 24.524455][ C0] do_idle+0xd8/0x190 [ 24.524457][ C0] cpu_startup_entry+0x53/0x70 [ 24.524459][ C0] rest_init+0x279/0x280 [ 24.524461][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 24.524463][ C0] ? rest_init+0x280/0x280 [ 24.524465][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 24.524467][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 24.524469][ C0] ? acpi_enable+0x1e4/0x330 [ 24.524470][ C0] start_kernel+0x3b9/0x3c0 [ 24.524472][ C0] x86_64_start_reservations+0x24/0x30 [ 24.524474][ C0] x86_64_start_kernel+0x12b/0x130 [ 24.524476][ C0] common_startup_64+0x13e/0x148 [ 24.524479][ C0]