[ 10.460038][ T181] ip (181) used greatest stack depth: 24368 bytes left [ 10.460057][ T181] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.460060][ T181] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 181, name: ip [ 10.460061][ T181] preempt_count: 2, expected: 0 [ 10.460062][ T181] RCU nest depth: 0, expected: 0 [ 10.460063][ T181] locks held by ip/181: 5, last CPU#2: [ 10.460065][ T181] #0: ffffffff9c002f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 10.460078][ T181] #1: ffffffff9c16a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.460083][ T181] #2: ffffffff9c16a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.460086][ T181] #3: ffffffff9c089de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.460090][ T181] #4: ffffffff9c089ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.460093][ T181] irq event stamp: 23744 [ 10.460094][ T181] hardirqs last enabled at (23743): [] __down_trylock_console_sem+0x86/0xa0 [ 10.460098][ T181] hardirqs last disabled at (23744): [] console_emit_next_record+0x3d4/0x4c0 [ 10.460099][ T181] softirqs last enabled at (22968): [] handle_softirqs+0x67c/0x900 [ 10.460101][ T181] softirqs last disabled at (22961): [] __irq_exit_rcu+0x145/0x1c0 [ 10.460104][ T181] Preemption disabled at: [ 10.460104][ T181] [<0000000000000000>] 0x0 [ 10.460111][ T181] CPU: 2 UID: 0 PID: 181 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.460115][ T181] Tainted: [W]=WARN [ 10.460116][ T181] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.460117][ T181] Call Trace: [ 10.460119][ T181] [ 10.460120][ T181] dump_stack_lvl+0x6f/0xa0 [ 10.460126][ T181] __might_resched.cold+0x1fe/0x2c1 [ 10.460130][ T181] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.460133][ T181] ? __kmalloc_noprof+0xdb/0x760 [ 10.460139][ T181] __kmalloc_noprof+0x443/0x760 [ 10.460141][ T181] ? alloc_buf.isra.0+0x4b/0x260 [ 10.460147][ T181] ? do_raw_spin_unlock+0x59/0x250 [ 10.460150][ T181] alloc_buf.isra.0+0x4b/0x260 [ 10.460154][ T181] put_chars+0x1e1/0x2f0 [ 10.460156][ T181] ? __send_to_port+0x420/0x420 [ 10.460163][ T181] hvc_console_print+0x292/0x780 [ 10.460171][ T181] ? hvc_write+0x3a0/0x3a0 [ 10.460174][ T181] ? lock_acquire+0x13c/0x160 [ 10.460178][ T181] console_emit_next_record+0x22f/0x4c0 [ 10.460182][ T181] ? devkmsg_read+0x4b0/0x4b0 [ 10.460183][ T181] ? console_flush_one_record+0x106/0x710 [ 10.460186][ T181] ? rcu_is_watching+0x16/0xd0 [ 10.460190][ T181] ? lock_acquire+0x13c/0x160 [ 10.460194][ T181] console_flush_one_record+0x46f/0x710 [ 10.460198][ T181] ? console_emit_next_record+0x4c0/0x4c0 [ 10.460200][ T181] ? __lock_acquire+0x518/0xc20 [ 10.460205][ T181] console_unlock+0xee/0x1f0 [ 10.460208][ T181] ? console_flush_one_record+0x710/0x710 [ 10.460209][ T181] ? rcu_is_watching+0x16/0xd0 [ 10.460211][ T181] ? lock_acquire+0x60/0x160 [ 10.460215][ T181] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.460217][ T181] ? vprintk_emit+0x320/0x3e0 [ 10.460220][ T181] vprintk_emit+0x37c/0x3e0 [ 10.460224][ T181] ? wake_up_klogd_work_func+0x90/0x90 [ 10.460226][ T181] ? __lock_acquire+0x518/0xc20 [ 10.460230][ T181] _printk+0xc7/0x100 [ 10.460234][ T181] ? snapshot_read.cold+0x21/0x21 [ 10.460237][ T181] ? do_raw_spin_lock+0x131/0x280 [ 10.460239][ T181] ? __rwlock_init+0x150/0x150 [ 10.460244][ T181] ? do_raw_spin_lock+0x131/0x280 [ 10.460247][ T181] do_exit.cold+0x82/0x9c [ 10.460251][ T181] ? exit_notify+0x890/0x890 [ 10.460252][ T181] ? __lock_release.isra.0+0x69/0x1a0 [ 10.460255][ T181] ? rcu_is_watching+0x16/0xd0 [ 10.460259][ T181] do_group_exit+0xb8/0x370 [ 10.460262][ T181] __x64_sys_exit_group+0x3c/0x50 [ 10.460264][ T181] x64_sys_call+0x1567/0x1570 [ 10.460267][ T181] do_syscall_64+0x10e/0x570 [ 10.460271][ T181] ? exc_page_fault+0xee/0x100 [ 10.460274][ T181] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.460277][ T181] RIP: 0033:0x7f4f652ce1b8 [ 10.460279][ T181] Code: Unable to access opcode bytes at 0x7f4f652ce18e. [ 10.460280][ T181] RSP: 002b:00007ffde4b27438 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.460283][ T181] RAX: ffffffffffffffda RBX: 00007f4f653fef88 RCX: 00007f4f652ce1b8 [ 10.460284][ T181] RDX: 00007f4f65018fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.460285][ T181] RBP: 00007ffde4b27490 R08: 0000000000000000 R09: 0000000000000050 [ 10.460286][ T181] R10: 00007ffde4b27250 R11: 0000000000000246 R12: 0000000000000001 [ 10.460287][ T181] R13: 0000000000000000 R14: 00007f4f653fd680 R15: 00007f4f653fefa0 [ 10.460294][ T181] [ 11.097691][ T194] ip (194) used greatest stack depth: 24048 bytes left [ 13.427907][ C0] clocksource: Watchdog remote CPU 1 read timed out [ 13.428053][ C0] [ 13.428055][ C0] ======================================================== [ 13.428056][ C0] WARNING: possible irq lock inversion dependency detected [ 13.428059][ C0] 7.2.0-virtme #1 Tainted: G W [ 13.428060][ C0] -------------------------------------------------------- [ 13.428061][ C0] swapper/0/0 just changed the state of lock: [ 13.428062][ C0] ffffffff9c089de0 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.428075][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 13.428077][ C0] (fs_reclaim){+.+.}-{0:0} [ 13.428078][ C0] [ 13.428078][ C0] [ 13.428078][ C0] and interrupts could create inverse lock ordering between them. [ 13.428078][ C0] [ 13.428079][ C0] [ 13.428079][ C0] other info that might help us debug this: [ 13.428079][ C0] Possible interrupt unsafe locking scenario: [ 13.428079][ C0] [ 13.428080][ C0] CPU0 CPU1 [ 13.428080][ C0] ---- ---- [ 13.428081][ C0] lock(fs_reclaim); [ 13.428082][ C0] local_irq_disable(); [ 13.428082][ C0] lock(console_owner); [ 13.428083][ C0] lock(fs_reclaim); [ 13.428084][ C0] [ 13.428084][ C0] lock(console_owner); [ 13.428085][ C0] [ 13.428085][ C0] *** DEADLOCK *** [ 13.428085][ C0] [ 13.428086][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 13.428087][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 13.428091][ C0] #1: ffffffff9c1cf0b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 13.428095][ C0] #2: ffffffff9c16a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.428098][ C0] #3: ffffffff9c16a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.428101][ C0] [ 13.428101][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 13.428105][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 13.428107][ C0] HARDIRQ-ON-W at: [ 13.428109][ C0] __lock_acquire+0x388/0xc20 [ 13.428112][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.428114][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.428117][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 13.428119][ C0] kthread_create_worker_on_node+0xea/0x210 [ 13.428123][ C0] workqueue_init+0x2a/0x680 [ 13.428126][ C0] kernel_init_freeable+0x2fe/0x630 [ 13.428129][ C0] kernel_init+0x21/0x150 [ 13.428132][ C0] ret_from_fork+0x4a4/0x720 [ 13.428136][ C0] ret_from_fork_asm+0x11/0x20 [ 13.428139][ C0] SOFTIRQ-ON-W at: [ 13.428139][ C0] __lock_acquire+0x388/0xc20 [ 13.428141][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.428143][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.428144][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 13.428145][ C0] kthread_create_worker_on_node+0xea/0x210 [ 13.428147][ C0] workqueue_init+0x2a/0x680 [ 13.428148][ C0] kernel_init_freeable+0x2fe/0x630 [ 13.428150][ C0] kernel_init+0x21/0x150 [ 13.428151][ C0] ret_from_fork+0x4a4/0x720 [ 13.428152][ C0] ret_from_fork_asm+0x11/0x20 [ 13.428154][ C0] INITIAL USE at: [ 13.428154][ C0] __lock_acquire+0x388/0xc20 [ 13.428156][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.428157][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.428158][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 13.428160][ C0] kthread_create_worker_on_node+0xea/0x210 [ 13.428161][ C0] workqueue_init+0x2a/0x680 [ 13.428163][ C0] kernel_init_freeable+0x2fe/0x630 [ 13.428164][ C0] kernel_init+0x21/0x150 [ 13.428165][ C0] ret_from_fork+0x4a4/0x720 [ 13.428166][ C0] ret_from_fork_asm+0x11/0x20 [ 13.428168][ C0] } [ 13.428168][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 13.428173][ C0] ... acquired at: [ 13.428174][ C0] __lock_acquire+0x518/0xc20 [ 13.428175][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.428177][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.428178][ C0] __kmalloc_noprof+0xd3/0x760 [ 13.428179][ C0] alloc_buf.isra.0+0x4b/0x260 [ 13.428183][ C0] put_chars+0x1e1/0x2f0 [ 13.428184][ C0] hvc_console_print+0x292/0x780 [ 13.428186][ C0] console_emit_next_record+0x22f/0x4c0 [ 13.428187][ C0] console_flush_one_record+0x46f/0x710 [ 13.428189][ C0] console_unlock+0xee/0x1f0 [ 13.428189][ C0] vprintk_emit+0x37c/0x3e0 [ 13.428190][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 13.428194][ C0] dev_printk_emit+0xb9/0xee [ 13.428196][ C0] _dev_info+0xe2/0x116 [ 13.428198][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 13.428201][ C0] cmos_do_probe+0x73b/0x98a [ 13.428202][ C0] platform_probe+0xfe/0x1f0 [ 13.428204][ C0] call_driver_probe+0x61/0x1c0 [ 13.428207][ C0] really_probe+0x199/0x760 [ 13.428209][ C0] __driver_probe_device+0x24f/0x440 [ 13.428210][ C0] driver_probe_device+0x4a/0xf0 [ 13.428212][ C0] __driver_attach+0x1b8/0x540 [ 13.428213][ C0] bus_for_each_dev+0x130/0x1e0 [ 13.428215][ C0] bus_add_driver+0x2c8/0x530 [ 13.428216][ C0] driver_register+0x1a3/0x390 [ 13.428218][ C0] __platform_driver_probe+0x13f/0x270 [ 13.428219][ C0] cmos_init+0x31/0x40 [ 13.428222][ C0] do_one_initcall+0x124/0x4f0 [ 13.428223][ C0] kernel_init_freeable+0x596/0x630 [ 13.428224][ C0] kernel_init+0x21/0x150 [ 13.428225][ C0] ret_from_fork+0x4a4/0x720 [ 13.428227][ C0] ret_from_fork_asm+0x11/0x20 [ 13.428228][ C0] [ 13.428228][ C0] -> (console_owner){..-.}-{0:0} { [ 13.428230][ C0] IN-SOFTIRQ-W at: [ 13.428231][ C0] __lock_acquire+0x388/0xc20 [ 13.428233][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.428234][ C0] console_lock_spinning_enable+0x5c/0x60 [ 13.428235][ C0] console_emit_next_record+0x1d1/0x4c0 [ 13.428236][ C0] console_flush_one_record+0x46f/0x710 [ 13.428237][ C0] console_unlock+0xee/0x1f0 [ 13.428238][ C0] vprintk_emit+0x37c/0x3e0 [ 13.428239][ C0] _printk+0xc7/0x100 [ 13.428242][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 13.428244][ C0] call_timer_fn+0x160/0x4d0 [ 13.428245][ C0] __run_timers+0x68f/0xaa0 [ 13.428246][ C0] run_timer_softirq+0xf0/0x160 [ 13.428247][ C0] handle_softirqs+0x1d3/0x900 [ 13.428249][ C0] __irq_exit_rcu+0x145/0x1c0 [ 13.428250][ C0] irq_exit_rcu+0xe/0x30 [ 13.428252][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.428254][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.428256][ C0] pv_native_safe_halt+0xf/0x10 [ 13.428258][ C0] default_idle+0x9/0x10 [ 13.428259][ C0] default_idle_call+0x6e/0xb0 [ 13.428260][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.428263][ C0] do_idle+0xd8/0x190 [ 13.428264][ C0] cpu_startup_entry+0x53/0x70 [ 13.428265][ C0] rest_init+0x279/0x280 [ 13.428266][ C0] start_kernel+0x3af/0x3b0 [ 13.428268][ C0] x86_64_start_reservations+0x24/0x30 [ 13.428269][ C0] x86_64_start_kernel+0x12b/0x130 [ 13.428270][ C0] common_startup_64+0x13e/0x148 [ 13.428273][ C0] INITIAL USE at: [ 13.428274][ C0] } [ 13.428274][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 13.428277][ C0] ... acquired at: [ 13.428278][ C0] mark_lock+0x1d7/0xa00 [ 13.428279][ C0] mark_usage+0x42/0x170 [ 13.428281][ C0] __lock_acquire+0x388/0xc20 [ 13.428282][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.428283][ C0] console_lock_spinning_enable+0x5c/0x60 [ 13.428284][ C0] console_emit_next_record+0x1d1/0x4c0 [ 13.428285][ C0] console_flush_one_record+0x46f/0x710 [ 13.428286][ C0] console_unlock+0xee/0x1f0 [ 13.428287][ C0] vprintk_emit+0x37c/0x3e0 [ 13.428288][ C0] _printk+0xc7/0x100 [ 13.428289][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 13.428290][ C0] call_timer_fn+0x160/0x4d0 [ 13.428291][ C0] __run_timers+0x68f/0xaa0 [ 13.428292][ C0] run_timer_softirq+0xf0/0x160 [ 13.428293][ C0] handle_softirqs+0x1d3/0x900 [ 13.428294][ C0] __irq_exit_rcu+0x145/0x1c0 [ 13.428296][ C0] irq_exit_rcu+0xe/0x30 [ 13.428297][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.428299][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.428300][ C0] pv_native_safe_halt+0xf/0x10 [ 13.428301][ C0] default_idle+0x9/0x10 [ 13.428302][ C0] default_idle_call+0x6e/0xb0 [ 13.428303][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.428304][ C0] do_idle+0xd8/0x190 [ 13.428306][ C0] cpu_startup_entry+0x53/0x70 [ 13.428307][ C0] rest_init+0x279/0x280 [ 13.428308][ C0] start_kernel+0x3af/0x3b0 [ 13.428309][ C0] x86_64_start_reservations+0x24/0x30 [ 13.428310][ C0] x86_64_start_kernel+0x12b/0x130 [ 13.428311][ C0] common_startup_64+0x13e/0x148 [ 13.428313][ C0] [ 13.428313][ C0] [ 13.428313][ C0] stack backtrace: [ 13.428316][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.428319][ C0] Tainted: [W]=WARN [ 13.428320][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.428322][ C0] Call Trace: [ 13.428323][ C0] [ 13.428324][ C0] dump_stack_lvl+0x6f/0xa0 [ 13.428327][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 13.428330][ C0] mark_lock_irq+0x989/0x9c0 [ 13.428333][ C0] mark_lock+0x1d7/0xa00 [ 13.428335][ C0] mark_usage+0x42/0x170 [ 13.428337][ C0] __lock_acquire+0x388/0xc20 [ 13.428339][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.428341][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 13.428343][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428345][ C0] ? lock_acquire+0x13c/0x160 [ 13.428347][ C0] console_lock_spinning_enable+0x5c/0x60 [ 13.428348][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 13.428350][ C0] console_emit_next_record+0x1d1/0x4c0 [ 13.428351][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 13.428352][ C0] ? console_flush_one_record+0x106/0x710 [ 13.428354][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428355][ C0] ? lock_acquire+0x13c/0x160 [ 13.428357][ C0] console_flush_one_record+0x46f/0x710 [ 13.428358][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 13.428359][ C0] ? __lock_acquire+0x518/0xc20 [ 13.428362][ C0] console_unlock+0xee/0x1f0 [ 13.428363][ C0] ? console_flush_one_record+0x710/0x710 [ 13.428364][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428365][ C0] ? lock_acquire+0x60/0x160 [ 13.428367][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.428370][ C0] ? vprintk_emit+0x320/0x3e0 [ 13.428371][ C0] vprintk_emit+0x37c/0x3e0 [ 13.428373][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 13.428374][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 13.428376][ C0] _printk+0xc7/0x100 [ 13.428378][ C0] ? snapshot_read.cold+0x21/0x21 [ 13.428380][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 13.428381][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.428384][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 13.428385][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.428387][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.428389][ C0] call_timer_fn+0x160/0x4d0 [ 13.428390][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 13.428391][ C0] ? debug_object_active_state+0x430/0x430 [ 13.428395][ C0] ? find_held_lock+0x2b/0x80 [ 13.428397][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.428399][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428400][ C0] __run_timers+0x68f/0xaa0 [ 13.428401][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.428404][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 13.428405][ C0] ? __lock_acquire+0x518/0xc20 [ 13.428408][ C0] ? __rwlock_init+0x150/0x150 [ 13.428410][ C0] run_timer_softirq+0xf0/0x160 [ 13.428411][ C0] ? __run_timers+0xaa0/0xaa0 [ 13.428413][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.428415][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428416][ C0] handle_softirqs+0x1d3/0x900 [ 13.428418][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.428420][ C0] ? _local_bh_enable+0xc0/0xc0 [ 13.428422][ C0] __irq_exit_rcu+0x145/0x1c0 [ 13.428424][ C0] irq_exit_rcu+0xe/0x30 [ 13.428425][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.428427][ C0] [ 13.428428][ C0] [ 13.428428][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 13.428430][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.428432][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 13.428435][ C0] Code: 48 8b 3d d4 51 10 02 e8 1f 00 00 00 48 2b 05 98 82 b2 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 53 55 29 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 13.428436][ C0] RSP: 0018:ffffffff9be07cf8 EFLAGS: 00000296 [ 13.428438][ C0] RAX: 0000000000062753 RBX: ffffffff9be1c600 RCX: ffffffff98cf4ce7 [ 13.428440][ C0] RDX: ffffffff9be1c600 RSI: ffffffff9bc88c6b RDI: ffffffff9b693160 [ 13.428440][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 13.428441][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff37c0fa2 [ 13.428442][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 13.428443][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.428446][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 13.428447][ C0] default_idle+0x9/0x10 [ 13.428449][ C0] default_idle_call+0x6e/0xb0 [ 13.428450][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.428451][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 13.428453][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 13.428456][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.428457][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428458][ C0] do_idle+0xd8/0x190 [ 13.428460][ C0] cpu_startup_entry+0x53/0x70 [ 13.428462][ C0] rest_init+0x279/0x280 [ 13.428463][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 13.428465][ C0] ? rest_init+0x280/0x280 [ 13.428466][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 13.428469][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 13.428471][ C0] ? acpi_enable+0x1e4/0x330 [ 13.428473][ C0] start_kernel+0x3af/0x3b0 [ 13.428475][ C0] x86_64_start_reservations+0x24/0x30 [ 13.428477][ C0] x86_64_start_kernel+0x12b/0x130 [ 13.428478][ C0] common_startup_64+0x13e/0x148 [ 13.428481][ C0] [ 13.428486][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.428487][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 13.428488][ C0] preempt_count: 103, expected: 0 [ 13.428489][ C0] RCU nest depth: 0, expected: 0 [ 13.428490][ C0] INFO: lockdep is turned off. [ 13.428490][ C0] irq event stamp: 403299 [ 13.428491][ C0] hardirqs last enabled at (403298): [] __down_trylock_console_sem+0x86/0xa0 [ 13.428493][ C0] hardirqs last disabled at (403299): [] console_emit_next_record+0x3d4/0x4c0 [ 13.428495][ C0] softirqs last enabled at (403266): [] handle_softirqs+0x67c/0x900 [ 13.428496][ C0] softirqs last disabled at (403285): [] __irq_exit_rcu+0x145/0x1c0 [ 13.428498][ C0] Preemption disabled at: [ 13.428498][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 13.428501][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.428503][ C0] Tainted: [W]=WARN [ 13.428504][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.428504][ C0] Call Trace: [ 13.428505][ C0] [ 13.428505][ C0] dump_stack_lvl+0x6f/0xa0 [ 13.428507][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 13.428508][ C0] __might_resched.cold+0x1fe/0x2c1 [ 13.428511][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.428513][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428514][ C0] __kmalloc_noprof+0x443/0x760 [ 13.428516][ C0] ? __rwlock_init+0x150/0x150 [ 13.428518][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 13.428520][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 13.428521][ C0] alloc_buf.isra.0+0x4b/0x260 [ 13.428524][ C0] put_chars+0x1e1/0x2f0 [ 13.428526][ C0] ? __send_to_port+0x420/0x420 [ 13.428528][ C0] ? mark_lock+0x1d7/0xa00 [ 13.428530][ C0] hvc_console_print+0x292/0x780 [ 13.428533][ C0] ? hvc_write+0x3a0/0x3a0 [ 13.428534][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428535][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428537][ C0] console_emit_next_record+0x22f/0x4c0 [ 13.428538][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 13.428540][ C0] ? console_flush_one_record+0x106/0x710 [ 13.428541][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428542][ C0] ? lock_acquire+0x13c/0x160 [ 13.428544][ C0] console_flush_one_record+0x46f/0x710 [ 13.428546][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 13.428547][ C0] ? __lock_acquire+0x518/0xc20 [ 13.428549][ C0] console_unlock+0xee/0x1f0 [ 13.428551][ C0] ? console_flush_one_record+0x710/0x710 [ 13.428552][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428553][ C0] ? lock_acquire+0x60/0x160 [ 13.428555][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.428556][ C0] ? vprintk_emit+0x320/0x3e0 [ 13.428558][ C0] vprintk_emit+0x37c/0x3e0 [ 13.428559][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 13.428561][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 13.428563][ C0] _printk+0xc7/0x100 [ 13.428565][ C0] ? snapshot_read.cold+0x21/0x21 [ 13.428566][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 13.428568][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.428571][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 13.428572][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.428574][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.428575][ C0] call_timer_fn+0x160/0x4d0 [ 13.428577][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 13.428578][ C0] ? debug_object_active_state+0x430/0x430 [ 13.428579][ C0] ? find_held_lock+0x2b/0x80 [ 13.428581][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.428583][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428585][ C0] __run_timers+0x68f/0xaa0 [ 13.428586][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.428588][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 13.428589][ C0] ? __lock_acquire+0x518/0xc20 [ 13.428592][ C0] ? __rwlock_init+0x150/0x150 [ 13.428594][ C0] run_timer_softirq+0xf0/0x160 [ 13.428595][ C0] ? __run_timers+0xaa0/0xaa0 [ 13.428597][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.428598][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428599][ C0] handle_softirqs+0x1d3/0x900 [ 13.428601][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.428603][ C0] ? _local_bh_enable+0xc0/0xc0 [ 13.428605][ C0] __irq_exit_rcu+0x145/0x1c0 [ 13.428606][ C0] irq_exit_rcu+0xe/0x30 [ 13.428608][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.428610][ C0] [ 13.428610][ C0] [ 13.428611][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 13.428613][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.428614][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 13.428616][ C0] Code: 48 8b 3d d4 51 10 02 e8 1f 00 00 00 48 2b 05 98 82 b2 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 53 55 29 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 13.428617][ C0] RSP: 0018:ffffffff9be07cf8 EFLAGS: 00000296 [ 13.428618][ C0] RAX: 0000000000062753 RBX: ffffffff9be1c600 RCX: ffffffff98cf4ce7 [ 13.428619][ C0] RDX: ffffffff9be1c600 RSI: ffffffff9bc88c6b RDI: ffffffff9b693160 [ 13.428620][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 13.428620][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff37c0fa2 [ 13.428621][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 13.428622][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.428625][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 13.428626][ C0] default_idle+0x9/0x10 [ 13.428627][ C0] default_idle_call+0x6e/0xb0 [ 13.428629][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.428631][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 13.428632][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 13.428634][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.428635][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.428636][ C0] do_idle+0xd8/0x190 [ 13.428638][ C0] cpu_startup_entry+0x53/0x70 [ 13.428640][ C0] rest_init+0x279/0x280 [ 13.428641][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 13.428643][ C0] ? rest_init+0x280/0x280 [ 13.428644][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 13.428646][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 13.428647][ C0] ? acpi_enable+0x1e4/0x330 [ 13.428649][ C0] start_kernel+0x3af/0x3b0 [ 13.428651][ C0] x86_64_start_reservations+0x24/0x30 [ 13.428652][ C0] x86_64_start_kernel+0x12b/0x130 [ 13.428653][ C0] common_startup_64+0x13e/0x148 [ 13.428657][ C0]