[ 293.909466][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 293.910249][ C0] [ 293.910250][ C0] ======================================================== [ 293.910252][ C0] WARNING: possible irq lock inversion dependency detected [ 293.910254][ C0] 7.2.0-virtme #1 Tainted: G W [ 293.910256][ C0] -------------------------------------------------------- [ 293.910256][ C0] swapper/0/0 just changed the state of lock: [ 293.910257][ C0] ffffffff850ad660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 293.910270][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 293.910272][ C0] (fs_reclaim){+.+.}-{0:0} [ 293.910273][ C0] [ 293.910273][ C0] [ 293.910273][ C0] and interrupts could create inverse lock ordering between them. [ 293.910273][ C0] [ 293.910274][ C0] [ 293.910274][ C0] other info that might help us debug this: [ 293.910275][ C0] Possible interrupt unsafe locking scenario: [ 293.910275][ C0] [ 293.910275][ C0] CPU0 CPU1 [ 293.910276][ C0] ---- ---- [ 293.910276][ C0] lock(fs_reclaim); [ 293.910278][ C0] local_irq_disable(); [ 293.910278][ C0] lock(console_owner); [ 293.910279][ C0] lock(fs_reclaim); [ 293.910280][ C0] [ 293.910280][ C0] lock(console_owner); [ 293.910281][ C0] [ 293.910281][ C0] *** DEADLOCK *** [ 293.910281][ C0] [ 293.910281][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 293.910283][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 293.910288][ C0] #1: ffffffff851f28b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 293.910292][ C0] #2: ffffffff8518dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 293.910296][ C0] #3: ffffffff8518dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 293.910299][ C0] [ 293.910299][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 293.910303][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 293.910305][ C0] HARDIRQ-ON-W at: [ 293.910307][ C0] __lock_acquire+0x388/0xc20 [ 293.910309][ C0] lock_acquire.part.0+0xd4/0x280 [ 293.910311][ C0] fs_reclaim_acquire+0xd5/0x120 [ 293.910314][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 293.910320][ C0] kthread_create_worker_on_node+0xea/0x210 [ 293.910323][ C0] workqueue_init+0x2a/0x680 [ 293.910327][ C0] kernel_init_freeable+0x2fe/0x630 [ 293.910329][ C0] kernel_init+0x21/0x150 [ 293.910333][ C0] ret_from_fork+0x474/0x6b0 [ 293.910337][ C0] ret_from_fork_asm+0x11/0x20 [ 293.910340][ C0] SOFTIRQ-ON-W at: [ 293.910340][ C0] __lock_acquire+0x388/0xc20 [ 293.910342][ C0] lock_acquire.part.0+0xd4/0x280 [ 293.910343][ C0] fs_reclaim_acquire+0xd5/0x120 [ 293.910344][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 293.910346][ C0] kthread_create_worker_on_node+0xea/0x210 [ 293.910347][ C0] workqueue_init+0x2a/0x680 [ 293.910348][ C0] kernel_init_freeable+0x2fe/0x630 [ 293.910349][ C0] kernel_init+0x21/0x150 [ 293.910351][ C0] ret_from_fork+0x474/0x6b0 [ 293.910352][ C0] ret_from_fork_asm+0x11/0x20 [ 293.910359][ C0] INITIAL USE at: [ 293.910359][ C0] __lock_acquire+0x388/0xc20 [ 293.910361][ C0] lock_acquire.part.0+0xd4/0x280 [ 293.910362][ C0] fs_reclaim_acquire+0xd5/0x120 [ 293.910363][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 293.910365][ C0] kthread_create_worker_on_node+0xea/0x210 [ 293.910366][ C0] workqueue_init+0x2a/0x680 [ 293.910367][ C0] kernel_init_freeable+0x2fe/0x630 [ 293.910368][ C0] kernel_init+0x21/0x150 [ 293.910370][ C0] ret_from_fork+0x474/0x6b0 [ 293.910372][ C0] ret_from_fork_asm+0x11/0x20 [ 293.910373][ C0] } [ 293.910373][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 293.910377][ C0] ... acquired at: [ 293.910378][ C0] __lock_acquire+0x518/0xc20 [ 293.910379][ C0] lock_acquire.part.0+0xd4/0x280 [ 293.910381][ C0] fs_reclaim_acquire+0xd5/0x120 [ 293.910382][ C0] __kmalloc_noprof+0xd3/0x760 [ 293.910384][ C0] alloc_buf.isra.0+0x4b/0x260 [ 293.910387][ C0] put_chars+0x1e1/0x2f0 [ 293.910389][ C0] hvc_console_print+0x292/0x780 [ 293.910392][ C0] console_emit_next_record+0x22f/0x4c0 [ 293.910394][ C0] console_flush_one_record+0x46f/0x710 [ 293.910395][ C0] console_unlock+0xee/0x1f0 [ 293.910397][ C0] vprintk_emit+0x37c/0x3e0 [ 293.910398][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 293.910401][ C0] dev_printk_emit+0xb9/0xee [ 293.910403][ C0] _dev_info+0xe2/0x116 [ 293.910404][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 293.910407][ C0] cmos_do_probe+0x73b/0x98a [ 293.910408][ C0] platform_probe+0xfe/0x1f0 [ 293.910411][ C0] call_driver_probe+0x61/0x1c0 [ 293.910413][ C0] really_probe+0x199/0x760 [ 293.910414][ C0] __driver_probe_device+0x24f/0x440 [ 293.910415][ C0] driver_probe_device+0x4a/0xf0 [ 293.910417][ C0] __driver_attach+0x1b8/0x540 [ 293.910418][ C0] bus_for_each_dev+0x130/0x1e0 [ 293.910419][ C0] bus_add_driver+0x2c8/0x530 [ 293.910420][ C0] driver_register+0x1a3/0x390 [ 293.910422][ C0] __platform_driver_probe+0x13f/0x270 [ 293.910423][ C0] cmos_init+0x31/0x40 [ 293.910426][ C0] do_one_initcall+0x124/0x4f0 [ 293.910427][ C0] kernel_init_freeable+0x596/0x630 [ 293.910428][ C0] kernel_init+0x21/0x150 [ 293.910430][ C0] ret_from_fork+0x474/0x6b0 [ 293.910432][ C0] ret_from_fork_asm+0x11/0x20 [ 293.910433][ C0] [ 293.910433][ C0] -> (console_owner){..-.}-{0:0} { [ 293.910435][ C0] IN-SOFTIRQ-W at: [ 293.910436][ C0] __lock_acquire+0x388/0xc20 [ 293.910437][ C0] lock_acquire.part.0+0xd4/0x280 [ 293.910438][ C0] console_lock_spinning_enable+0x5c/0x60 [ 293.910439][ C0] console_emit_next_record+0x1d1/0x4c0 [ 293.910441][ C0] console_flush_one_record+0x46f/0x710 [ 293.910443][ C0] console_unlock+0xee/0x1f0 [ 293.910444][ C0] vprintk_emit+0x37c/0x3e0 [ 293.910445][ C0] _printk+0xc7/0x100 [ 293.910449][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 293.910451][ C0] call_timer_fn+0x160/0x4d0 [ 293.910452][ C0] __run_timers+0x68f/0xaa0 [ 293.910454][ C0] run_timer_softirq+0xf0/0x160 [ 293.910455][ C0] handle_softirqs+0x1d3/0x900 [ 293.910457][ C0] __irq_exit_rcu+0x145/0x1c0 [ 293.910458][ C0] irq_exit_rcu+0xe/0x30 [ 293.910459][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 293.910461][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 293.910463][ C0] pv_native_safe_halt+0xf/0x10 [ 293.910465][ C0] default_idle+0x9/0x10 [ 293.910466][ C0] default_idle_call+0x6e/0xb0 [ 293.910468][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 293.910470][ C0] do_idle+0xd8/0x190 [ 293.910471][ C0] cpu_startup_entry+0x53/0x70 [ 293.910472][ C0] rest_init+0x279/0x280 [ 293.910474][ C0] start_kernel+0x3af/0x3b0 [ 293.910475][ C0] x86_64_start_reservations+0x24/0x30 [ 293.910477][ C0] x86_64_start_kernel+0x12b/0x130 [ 293.910479][ C0] common_startup_64+0x13e/0x148 [ 293.910481][ C0] INITIAL USE at: [ 293.910482][ C0] } [ 293.910482][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 293.910485][ C0] ... acquired at: [ 293.910485][ C0] mark_lock+0x1d7/0xa00 [ 293.910487][ C0] mark_usage+0x42/0x170 [ 293.910488][ C0] __lock_acquire+0x388/0xc20 [ 293.910489][ C0] lock_acquire.part.0+0xd4/0x280 [ 293.910490][ C0] console_lock_spinning_enable+0x5c/0x60 [ 293.910492][ C0] console_emit_next_record+0x1d1/0x4c0 [ 293.910493][ C0] console_flush_one_record+0x46f/0x710 [ 293.910494][ C0] console_unlock+0xee/0x1f0 [ 293.910496][ C0] vprintk_emit+0x37c/0x3e0 [ 293.910497][ C0] _printk+0xc7/0x100 [ 293.910499][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 293.910500][ C0] call_timer_fn+0x160/0x4d0 [ 293.910501][ C0] __run_timers+0x68f/0xaa0 [ 293.910502][ C0] run_timer_softirq+0xf0/0x160 [ 293.910504][ C0] handle_softirqs+0x1d3/0x900 [ 293.910505][ C0] __irq_exit_rcu+0x145/0x1c0 [ 293.910506][ C0] irq_exit_rcu+0xe/0x30 [ 293.910507][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 293.910508][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 293.910509][ C0] pv_native_safe_halt+0xf/0x10 [ 293.910511][ C0] default_idle+0x9/0x10 [ 293.910512][ C0] default_idle_call+0x6e/0xb0 [ 293.910514][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 293.910515][ C0] do_idle+0xd8/0x190 [ 293.910516][ C0] cpu_startup_entry+0x53/0x70 [ 293.910517][ C0] rest_init+0x279/0x280 [ 293.910518][ C0] start_kernel+0x3af/0x3b0 [ 293.910519][ C0] x86_64_start_reservations+0x24/0x30 [ 293.910521][ C0] x86_64_start_kernel+0x12b/0x130 [ 293.910522][ C0] common_startup_64+0x13e/0x148 [ 293.910523][ C0] [ 293.910524][ C0] [ 293.910524][ C0] stack backtrace: [ 293.910527][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 293.910530][ C0] Tainted: [W]=WARN [ 293.910531][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 293.910533][ C0] Call Trace: [ 293.910534][ C0] [ 293.910535][ C0] dump_stack_lvl+0x6f/0xa0 [ 293.910539][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 293.910541][ C0] mark_lock_irq+0x989/0x9c0 [ 293.910543][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 293.910545][ C0] mark_lock+0x1d7/0xa00 [ 293.910547][ C0] mark_usage+0x42/0x170 [ 293.910549][ C0] __lock_acquire+0x388/0xc20 [ 293.910551][ C0] lock_acquire.part.0+0xd4/0x280 [ 293.910552][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 293.910554][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910557][ C0] ? lock_acquire+0x13c/0x160 [ 293.910559][ C0] console_lock_spinning_enable+0x5c/0x60 [ 293.910560][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 293.910562][ C0] console_emit_next_record+0x1d1/0x4c0 [ 293.910564][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 293.910565][ C0] ? console_flush_one_record+0x106/0x710 [ 293.910567][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910569][ C0] ? lock_acquire+0x13c/0x160 [ 293.910570][ C0] console_flush_one_record+0x46f/0x710 [ 293.910572][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 293.910574][ C0] ? __lock_acquire+0x518/0xc20 [ 293.910576][ C0] console_unlock+0xee/0x1f0 [ 293.910578][ C0] ? console_flush_one_record+0x710/0x710 [ 293.910579][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910581][ C0] ? lock_acquire+0x60/0x160 [ 293.910583][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 293.910584][ C0] ? vprintk_emit+0x320/0x3e0 [ 293.910586][ C0] vprintk_emit+0x37c/0x3e0 [ 293.910588][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 293.910590][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 293.910592][ C0] _printk+0xc7/0x100 [ 293.910594][ C0] ? snapshot_read.cold+0x21/0x21 [ 293.910596][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 293.910597][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 293.910599][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 293.910601][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 293.910602][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 293.910604][ C0] call_timer_fn+0x160/0x4d0 [ 293.910605][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 293.910607][ C0] ? debug_object_active_state+0x430/0x430 [ 293.910611][ C0] ? find_held_lock+0x2b/0x80 [ 293.910613][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 293.910615][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910617][ C0] __run_timers+0x68f/0xaa0 [ 293.910618][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 293.910620][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 293.910622][ C0] ? __lock_acquire+0x518/0xc20 [ 293.910624][ C0] ? __rwlock_init+0x150/0x150 [ 293.910627][ C0] run_timer_softirq+0xf0/0x160 [ 293.910628][ C0] ? __run_timers+0xaa0/0xaa0 [ 293.910630][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 293.910633][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910634][ C0] handle_softirqs+0x1d3/0x900 [ 293.910636][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 293.910637][ C0] ? _local_bh_enable+0xc0/0xc0 [ 293.910639][ C0] __irq_exit_rcu+0x145/0x1c0 [ 293.910641][ C0] irq_exit_rcu+0xe/0x30 [ 293.910642][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 293.910644][ C0] [ 293.910644][ C0] [ 293.910645][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 293.910646][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 293.910648][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 293.910651][ C0] Code: 48 8b 3d 94 a2 10 02 e8 1f 00 00 00 48 2b 05 58 f3 ab 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 d6 25 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 293.910653][ C0] RSP: 0018:ffffffff84e07cf8 EFLAGS: 00000296 [ 293.910655][ C0] RAX: 0000000000da9d11 RBX: ffffffff84e40600 RCX: ffffffff81cf3307 [ 293.910656][ C0] RDX: ffffffff84e40600 RSI: ffffffff84c57566 RDI: ffffffff8468d8e0 [ 293.910657][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 293.910658][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff09c0fa2 [ 293.910659][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 293.910660][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 293.910662][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 293.910664][ C0] default_idle+0x9/0x10 [ 293.910666][ C0] default_idle_call+0x6e/0xb0 [ 293.910668][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 293.910669][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 293.910671][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 293.910674][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910676][ C0] do_idle+0xd8/0x190 [ 293.910677][ C0] cpu_startup_entry+0x53/0x70 [ 293.910678][ C0] rest_init+0x279/0x280 [ 293.910680][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 293.910683][ C0] ? rest_init+0x280/0x280 [ 293.910685][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 293.910688][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 293.910691][ C0] ? acpi_enable+0x1e4/0x330 [ 293.910693][ C0] start_kernel+0x3af/0x3b0 [ 293.910694][ C0] x86_64_start_reservations+0x24/0x30 [ 293.910696][ C0] x86_64_start_kernel+0x12b/0x130 [ 293.910698][ C0] common_startup_64+0x13e/0x148 [ 293.910701][ C0] [ 293.910705][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 293.910707][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 293.910708][ C0] preempt_count: 103, expected: 0 [ 293.910709][ C0] RCU nest depth: 0, expected: 0 [ 293.910710][ C0] INFO: lockdep is turned off. [ 293.910710][ C0] irq event stamp: 14327075 [ 293.910711][ C0] hardirqs last enabled at (14327074): [] asm_sysvec_call_function_single+0x1a/0x20 [ 293.910713][ C0] hardirqs last disabled at (14327075): [] console_emit_next_record+0x3d4/0x4c0 [ 293.910715][ C0] softirqs last enabled at (14327018): [] handle_softirqs+0x67c/0x900 [ 293.910716][ C0] softirqs last disabled at (14327059): [] __irq_exit_rcu+0x145/0x1c0 [ 293.910718][ C0] Preemption disabled at: [ 293.910719][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 293.910722][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 293.910724][ C0] Tainted: [W]=WARN [ 293.910724][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 293.910725][ C0] Call Trace: [ 293.910726][ C0] [ 293.910726][ C0] dump_stack_lvl+0x6f/0xa0 [ 293.910728][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 293.910729][ C0] __might_resched.cold+0x1fe/0x2c1 [ 293.910733][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 293.910735][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910737][ C0] __kmalloc_noprof+0x443/0x760 [ 293.910739][ C0] ? __rwlock_init+0x150/0x150 [ 293.910740][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 293.910743][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 293.910744][ C0] alloc_buf.isra.0+0x4b/0x260 [ 293.910746][ C0] put_chars+0x1e1/0x2f0 [ 293.910749][ C0] ? __send_to_port+0x420/0x420 [ 293.910751][ C0] ? mark_lock+0x1d7/0xa00 [ 293.910753][ C0] hvc_console_print+0x292/0x780 [ 293.910756][ C0] ? hvc_write+0x3a0/0x3a0 [ 293.910758][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910760][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910762][ C0] console_emit_next_record+0x22f/0x4c0 [ 293.910764][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 293.910765][ C0] ? console_flush_one_record+0x106/0x710 [ 293.910767][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910769][ C0] ? lock_acquire+0x13c/0x160 [ 293.910770][ C0] console_flush_one_record+0x46f/0x710 [ 293.910773][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 293.910774][ C0] ? __lock_acquire+0x518/0xc20 [ 293.910776][ C0] console_unlock+0xee/0x1f0 [ 293.910778][ C0] ? console_flush_one_record+0x710/0x710 [ 293.910779][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910781][ C0] ? lock_acquire+0x60/0x160 [ 293.910783][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 293.910784][ C0] ? vprintk_emit+0x320/0x3e0 [ 293.910786][ C0] vprintk_emit+0x37c/0x3e0 [ 293.910788][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 293.910790][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 293.910791][ C0] _printk+0xc7/0x100 [ 293.910793][ C0] ? snapshot_read.cold+0x21/0x21 [ 293.910795][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 293.910796][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 293.910799][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 293.910800][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 293.910802][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 293.910803][ C0] call_timer_fn+0x160/0x4d0 [ 293.910805][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 293.910806][ C0] ? debug_object_active_state+0x430/0x430 [ 293.910808][ C0] ? find_held_lock+0x2b/0x80 [ 293.910810][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 293.910811][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910813][ C0] __run_timers+0x68f/0xaa0 [ 293.910815][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 293.910817][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 293.910818][ C0] ? __lock_acquire+0x518/0xc20 [ 293.910821][ C0] ? __rwlock_init+0x150/0x150 [ 293.910823][ C0] run_timer_softirq+0xf0/0x160 [ 293.910825][ C0] ? __run_timers+0xaa0/0xaa0 [ 293.910826][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 293.910828][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910830][ C0] handle_softirqs+0x1d3/0x900 [ 293.910831][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 293.910833][ C0] ? _local_bh_enable+0xc0/0xc0 [ 293.910834][ C0] __irq_exit_rcu+0x145/0x1c0 [ 293.910836][ C0] irq_exit_rcu+0xe/0x30 [ 293.910837][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 293.910839][ C0] [ 293.910839][ C0] [ 293.910840][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 293.910841][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 293.910843][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 293.910845][ C0] Code: 48 8b 3d 94 a2 10 02 e8 1f 00 00 00 48 2b 05 58 f3 ab 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 d6 25 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 293.910846][ C0] RSP: 0018:ffffffff84e07cf8 EFLAGS: 00000296 [ 293.910847][ C0] RAX: 0000000000da9d11 RBX: ffffffff84e40600 RCX: ffffffff81cf3307 [ 293.910848][ C0] RDX: ffffffff84e40600 RSI: ffffffff84c57566 RDI: ffffffff8468d8e0 [ 293.910848][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 293.910849][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff09c0fa2 [ 293.910850][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 293.910851][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 293.910853][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 293.910855][ C0] default_idle+0x9/0x10 [ 293.910857][ C0] default_idle_call+0x6e/0xb0 [ 293.910859][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 293.910860][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 293.910861][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 293.910863][ C0] ? rcu_is_watching+0x16/0xd0 [ 293.910865][ C0] do_idle+0xd8/0x190 [ 293.910866][ C0] cpu_startup_entry+0x53/0x70 [ 293.910868][ C0] rest_init+0x279/0x280 [ 293.910870][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 293.910872][ C0] ? rest_init+0x280/0x280 [ 293.910874][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 293.910876][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 293.910878][ C0] ? acpi_enable+0x1e4/0x330 [ 293.910880][ C0] start_kernel+0x3af/0x3b0 [ 293.910881][ C0] x86_64_start_reservations+0x24/0x30 [ 293.910883][ C0] x86_64_start_kernel+0x12b/0x130 [ 293.910885][ C0] common_startup_64+0x13e/0x148 [ 293.910887][ C0] [ 531.188136][T10986] ip (10986) used greatest stack depth: 23520 bytes left [ 531.188154][T10986] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 531.188156][T10986] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10986, name: ip [ 531.188158][T10986] preempt_count: 2, expected: 0 [ 531.188159][T10986] RCU nest depth: 0, expected: 0 [ 531.188160][T10986] INFO: lockdep is turned off. [ 531.188161][T10986] irq event stamp: 0 [ 531.188162][T10986] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 531.188168][T10986] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 531.188174][T10986] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 531.188175][T10986] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 531.188177][T10986] Preemption disabled at: [ 531.188177][T10986] [<0000000000000000>] 0x0 [ 531.188183][T10986] CPU: 0 UID: 0 PID: 10986 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 531.188186][T10986] Tainted: [W]=WARN [ 531.188187][T10986] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 531.188188][T10986] Call Trace: [ 531.188190][T10986] [ 531.188191][T10986] dump_stack_lvl+0x6f/0xa0 [ 531.188196][T10986] __might_resched.cold+0x1fe/0x2c1 [ 531.188200][T10986] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 531.188203][T10986] ? __asan_memcpy+0x3c/0x60 [ 531.188206][T10986] ? rcu_is_watching+0x16/0xd0 [ 531.188210][T10986] __kmalloc_noprof+0x443/0x760 [ 531.188213][T10986] ? __rwlock_init+0x150/0x150 [ 531.188215][T10986] ? alloc_buf.isra.0+0x4b/0x260 [ 531.188219][T10986] ? do_raw_spin_unlock+0x59/0x250 [ 531.188221][T10986] alloc_buf.isra.0+0x4b/0x260 [ 531.188224][T10986] put_chars+0x1e1/0x2f0 [ 531.188226][T10986] ? __send_to_port+0x420/0x420 [ 531.188228][T10986] ? console_prepend_replay+0x20/0x20 [ 531.188232][T10986] hvc_console_print+0x292/0x780 [ 531.188236][T10986] ? hvc_write+0x3a0/0x3a0 [ 531.188238][T10986] ? rcu_is_watching+0x16/0xd0 [ 531.188240][T10986] ? lock_acquire+0x13c/0x160 [ 531.188241][T10986] console_emit_next_record+0x22f/0x4c0 [ 531.188244][T10986] ? devkmsg_read+0x4b0/0x4b0 [ 531.188246][T10986] ? rcu_is_watching+0x16/0xd0 [ 531.188247][T10986] ? rcu_is_watching+0x16/0xd0 [ 531.188249][T10986] ? rcu_is_watching+0x16/0xd0 [ 531.188250][T10986] ? lock_acquire+0x13c/0x160 [ 531.188252][T10986] ? console_flush_one_record+0x111/0x710 [ 531.188253][T10986] console_flush_one_record+0x46f/0x710 [ 531.188256][T10986] ? console_emit_next_record+0x4c0/0x4c0 [ 531.188258][T10986] console_unlock+0xee/0x1f0 [ 531.188260][T10986] ? lock_acquire+0x13c/0x160 [ 531.188261][T10986] ? console_flush_one_record+0x710/0x710 [ 531.188263][T10986] ? rcu_is_watching+0x16/0xd0 [ 531.188264][T10986] ? lock_release+0x184/0x1f0 [ 531.188265][T10986] ? lock_acquire+0x60/0x160 [ 531.188266][T10986] ? __rcu_read_lock+0x30/0x70 [ 531.188268][T10986] ? __down_trylock_console_sem+0x5e/0xa0 [ 531.188270][T10986] ? vprintk_emit+0x320/0x3e0 [ 531.188272][T10986] vprintk_emit+0x37c/0x3e0 [ 531.188275][T10986] ? wake_up_klogd_work_func+0x90/0x90 [ 531.188276][T10986] ? do_raw_read_unlock+0x70/0x70 [ 531.188278][T10986] ? forget_original_parent+0x5c/0xdb0 [ 531.188281][T10986] _printk+0xc7/0x100 [ 531.188284][T10986] ? snapshot_read.cold+0x21/0x21 [ 531.188285][T10986] ? do_raw_spin_lock+0x131/0x280 [ 531.188287][T10986] ? do_raw_spin_lock+0x131/0x280 [ 531.188288][T10986] ? __rwlock_init+0x150/0x150 [ 531.188290][T10986] ? do_raw_spin_lock+0x131/0x280 [ 531.188292][T10986] do_exit.cold+0x82/0x9c [ 531.188294][T10986] ? exit_notify+0x890/0x890 [ 531.188296][T10986] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 531.188299][T10986] ? rcu_is_watching+0x16/0xd0 [ 531.188301][T10986] do_group_exit+0xb8/0x370 [ 531.188303][T10986] __x64_sys_exit_group+0x3c/0x50 [ 531.188305][T10986] x64_sys_call+0x1567/0x1570 [ 531.188307][T10986] do_syscall_64+0xff/0x530 [ 531.188310][T10986] ? exc_page_fault+0xee/0x100 [ 531.188313][T10986] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 531.188315][T10986] RIP: 0033:0x7f096398c1b8 [ 531.188317][T10986] Code: Unable to access opcode bytes at 0x7f096398c18e. [ 531.188321][T10986] RSP: 002b:00007ffc2a6137e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 531.188324][T10986] RAX: ffffffffffffffda RBX: 00007f0963abcf88 RCX: 00007f096398c1b8 [ 531.188325][T10986] RDX: 00007f09636d6fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 531.188326][T10986] RBP: 00007ffc2a613840 R08: 0000000000000000 R09: 0000000000000050 [ 531.188327][T10986] R10: 00007ffc2a613600 R11: 0000000000000246 R12: 0000000000000001 [ 531.188328][T10986] R13: 0000000000000000 R14: 00007f0963abb680 R15: 00007f0963abcfa0 [ 531.188330][T10986] [ 927.970305][T27775] pm_nl_ctl (27775) used greatest stack depth: 22768 bytes left [ 927.970322][T27775] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 927.970324][T27775] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 27775, name: pm_nl_ctl [ 927.970326][T27775] preempt_count: 2, expected: 0 [ 927.970327][T27775] RCU nest depth: 0, expected: 0 [ 927.970327][T27775] INFO: lockdep is turned off. [ 927.970329][T27775] irq event stamp: 0 [ 927.970329][T27775] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 927.970335][T27775] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 927.970341][T27775] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 927.970343][T27775] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 927.970344][T27775] Preemption disabled at: [ 927.970345][T27775] [<0000000000000000>] 0x0 [ 927.970350][T27775] CPU: 2 UID: 0 PID: 27775 Comm: pm_nl_ctl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 927.970354][T27775] Tainted: [W]=WARN [ 927.970355][T27775] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 927.970356][T27775] Call Trace: [ 927.970358][T27775] [ 927.970359][T27775] dump_stack_lvl+0x6f/0xa0 [ 927.970365][T27775] __might_resched.cold+0x1fe/0x2c1 [ 927.970369][T27775] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 927.970372][T27775] ? __asan_memcpy+0x3c/0x60 [ 927.970376][T27775] ? rcu_is_watching+0x16/0xd0 [ 927.970379][T27775] __kmalloc_noprof+0x443/0x760 [ 927.970382][T27775] ? __rwlock_init+0x150/0x150 [ 927.970384][T27775] ? alloc_buf.isra.0+0x4b/0x260 [ 927.970389][T27775] ? do_raw_spin_unlock+0x59/0x250 [ 927.970391][T27775] alloc_buf.isra.0+0x4b/0x260 [ 927.970393][T27775] put_chars+0x1e1/0x2f0 [ 927.970395][T27775] ? __send_to_port+0x420/0x420 [ 927.970398][T27775] ? console_prepend_replay+0x20/0x20 [ 927.970401][T27775] hvc_console_print+0x292/0x780 [ 927.970405][T27775] ? hvc_write+0x3a0/0x3a0 [ 927.970407][T27775] ? rcu_is_watching+0x16/0xd0 [ 927.970408][T27775] ? lock_acquire+0x13c/0x160 [ 927.970410][T27775] console_emit_next_record+0x22f/0x4c0 [ 927.970413][T27775] ? devkmsg_read+0x4b0/0x4b0 [ 927.970414][T27775] ? rcu_is_watching+0x16/0xd0 [ 927.970416][T27775] ? rcu_is_watching+0x16/0xd0 [ 927.970417][T27775] ? rcu_is_watching+0x16/0xd0 [ 927.970419][T27775] ? lock_acquire+0x13c/0x160 [ 927.970420][T27775] ? console_flush_one_record+0x111/0x710 [ 927.970422][T27775] console_flush_one_record+0x46f/0x710 [ 927.970424][T27775] ? console_emit_next_record+0x4c0/0x4c0 [ 927.970426][T27775] console_unlock+0xee/0x1f0 [ 927.970428][T27775] ? lock_acquire+0x13c/0x160 [ 927.970429][T27775] ? console_flush_one_record+0x710/0x710 [ 927.970431][T27775] ? rcu_is_watching+0x16/0xd0 [ 927.970432][T27775] ? lock_release+0x184/0x1f0 [ 927.970433][T27775] ? lock_acquire+0x60/0x160 [ 927.970435][T27775] ? __rcu_read_lock+0x30/0x70 [ 927.970437][T27775] ? __down_trylock_console_sem+0x5e/0xa0 [ 927.970438][T27775] ? vprintk_emit+0x320/0x3e0 [ 927.970440][T27775] vprintk_emit+0x37c/0x3e0 [ 927.970447][T27775] ? wake_up_klogd_work_func+0x90/0x90 [ 927.970449][T27775] ? do_raw_read_unlock+0x70/0x70 [ 927.970451][T27775] ? forget_original_parent+0x5c/0xdb0 [ 927.970454][T27775] _printk+0xc7/0x100 [ 927.970456][T27775] ? snapshot_read.cold+0x21/0x21 [ 927.970458][T27775] ? do_raw_spin_lock+0x131/0x280 [ 927.970459][T27775] ? do_raw_spin_lock+0x131/0x280 [ 927.970461][T27775] ? __rwlock_init+0x150/0x150 [ 927.970463][T27775] ? do_raw_spin_lock+0x131/0x280 [ 927.970464][T27775] do_exit.cold+0x82/0x9c [ 927.970467][T27775] ? exit_notify+0x890/0x890 [ 927.970469][T27775] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 927.970472][T27775] ? rcu_is_watching+0x16/0xd0 [ 927.970474][T27775] do_group_exit+0xb8/0x370 [ 927.970476][T27775] __x64_sys_exit_group+0x3c/0x50 [ 927.970478][T27775] x64_sys_call+0x1567/0x1570 [ 927.970480][T27775] do_syscall_64+0xff/0x530 [ 927.970483][T27775] ? exc_page_fault+0xee/0x100 [ 927.970485][T27775] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 927.970488][T27775] RIP: 0033:0x7f66c604a1b8 [ 927.970489][T27775] Code: Unable to access opcode bytes at 0x7f66c604a18e. [ 927.970491][T27775] RSP: 002b:00007fff1f813808 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 927.970494][T27775] RAX: ffffffffffffffda RBX: 00007f66c617af88 RCX: 00007f66c604a1b8 [ 927.970495][T27775] RDX: 00007f66c5f87a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 927.970496][T27775] RBP: 00007fff1f813860 R08: 0000000000000000 R09: 0000000000000000 [ 927.970497][T27775] R10: 00007fff1f8136a0 R11: 0000000000000246 R12: 0000000000000001 [ 927.970497][T27775] R13: 0000000000000000 R14: 00007f66c6179680 R15: 00007f66c617afa0 [ 927.970500][T27775]