[ 9.510079][ T206] ip (206) used greatest stack depth: 24200 bytes left [ 9.510096][ T206] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.510098][ T206] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 206, name: ip [ 9.510099][ T206] preempt_count: 2, expected: 0 [ 9.510100][ T206] RCU nest depth: 0, expected: 0 [ 9.510101][ T206] locks held by ip/206: 5, last CPU#0: [ 9.510103][ T206] #0: ffffffff9a0167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.510114][ T206] #1: ffffffff9a17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.510118][ T206] #2: ffffffff9a17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.510122][ T206] #3: ffffffff9a09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.510126][ T206] #4: ffffffff9a09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.510130][ T206] irq event stamp: 34216 [ 9.510131][ T206] hardirqs last enabled at (34215): [] __down_trylock_console_sem+0x86/0xa0 [ 9.510134][ T206] hardirqs last disabled at (34216): [] console_emit_next_record+0x3d4/0x4c0 [ 9.510136][ T206] softirqs last enabled at (33740): [] handle_softirqs+0x67c/0x900 [ 9.510138][ T206] softirqs last disabled at (33733): [] __irq_exit_rcu+0x145/0x1c0 [ 9.510140][ T206] Preemption disabled at: [ 9.510141][ T206] [<0000000000000000>] 0x0 [ 9.510147][ T206] CPU: 0 UID: 0 PID: 206 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.510151][ T206] Tainted: [W]=WARN [ 9.510152][ T206] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.510153][ T206] Call Trace: [ 9.510155][ T206] [ 9.510156][ T206] dump_stack_lvl+0x6f/0xa0 [ 9.510163][ T206] __might_resched.cold+0x1fe/0x2c1 [ 9.510167][ T206] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.510171][ T206] ? __kmalloc_noprof+0xdb/0x760 [ 9.510175][ T206] __kmalloc_noprof+0x443/0x760 [ 9.510177][ T206] ? alloc_buf.isra.0+0x4b/0x260 [ 9.510184][ T206] ? do_raw_spin_unlock+0x59/0x250 [ 9.510186][ T206] alloc_buf.isra.0+0x4b/0x260 [ 9.510190][ T206] put_chars+0x1e1/0x2f0 [ 9.510192][ T206] ? __send_to_port+0x420/0x420 [ 9.510193][ T206] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.510197][ T206] ? validate_chain+0x38b/0xc20 [ 9.510202][ T206] hvc_console_print+0x292/0x780 [ 9.510210][ T206] ? hvc_write+0x3a0/0x3a0 [ 9.510212][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.510214][ T206] ? lock_acquire+0x13c/0x160 [ 9.510218][ T206] console_emit_next_record+0x22f/0x4c0 [ 9.510222][ T206] ? devkmsg_read+0x4b0/0x4b0 [ 9.510224][ T206] ? console_flush_one_record+0x106/0x710 [ 9.510227][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.510229][ T206] ? lock_acquire+0x13c/0x160 [ 9.510233][ T206] console_flush_one_record+0x46f/0x710 [ 9.510237][ T206] ? console_emit_next_record+0x4c0/0x4c0 [ 9.510239][ T206] ? __lock_acquire+0x518/0xc20 [ 9.510244][ T206] console_unlock+0xee/0x1f0 [ 9.510247][ T206] ? console_flush_one_record+0x710/0x710 [ 9.510249][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.510250][ T206] ? lock_acquire+0xe0/0x160 [ 9.510254][ T206] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.510256][ T206] ? vprintk_emit+0x320/0x3e0 [ 9.510258][ T206] vprintk_emit+0x37c/0x3e0 [ 9.510261][ T206] ? wake_up_klogd_work_func+0x90/0x90 [ 9.510264][ T206] ? __lock_acquire+0x518/0xc20 [ 9.510268][ T206] _printk+0xc7/0x100 [ 9.510271][ T206] ? snapshot_read.cold+0x21/0x21 [ 9.510274][ T206] ? do_raw_spin_lock+0x131/0x280 [ 9.510277][ T206] ? __rwlock_init+0x150/0x150 [ 9.510280][ T206] ? do_raw_spin_lock+0x131/0x280 [ 9.510283][ T206] do_exit.cold+0x82/0x9c [ 9.510287][ T206] ? exit_notify+0x890/0x890 [ 9.510288][ T206] ? __lock_release.isra.0+0x69/0x1a0 [ 9.510291][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.510294][ T206] do_group_exit+0xb8/0x370 [ 9.510297][ T206] __x64_sys_exit_group+0x3c/0x50 [ 9.510299][ T206] x64_sys_call+0x1567/0x1570 [ 9.510301][ T206] do_syscall_64+0xff/0x530 [ 9.510305][ T206] ? exc_page_fault+0xee/0x100 [ 9.510308][ T206] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.510310][ T206] RIP: 0033:0x7f694064b1b8 [ 9.510312][ T206] Code: Unable to access opcode bytes at 0x7f694064b18e. [ 9.510313][ T206] RSP: 002b:00007ffd529c9e48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.510315][ T206] RAX: ffffffffffffffda RBX: 00007f694077bf88 RCX: 00007f694064b1b8 [ 9.510317][ T206] RDX: 00007f6940395fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.510318][ T206] RBP: 00007ffd529c9ea0 R08: 0000000000000000 R09: 0000000000000050 [ 9.510318][ T206] R10: 00007ffd529c9c60 R11: 0000000000000246 R12: 0000000000000001 [ 9.510319][ T206] R13: 0000000000000000 R14: 00007f694077a680 R15: 00007f694077bfa0 [ 9.510326][ T206] [ 11.253059][ T264] ip (264) used greatest stack depth: 24048 bytes left [ 11.253075][ T264] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.253077][ T264] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 264, name: ip [ 11.253078][ T264] preempt_count: 2, expected: 0 [ 11.253079][ T264] RCU nest depth: 0, expected: 0 [ 11.253080][ T264] locks held by ip/264: 5, last CPU#3: [ 11.253082][ T264] #0: ffffffff9a0167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.253093][ T264] #1: ffffffff9a17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.253098][ T264] #2: ffffffff9a17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.253102][ T264] #3: ffffffff9a09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.253106][ T264] #4: ffffffff9a09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.253110][ T264] irq event stamp: 20796 [ 11.253110][ T264] hardirqs last enabled at (20795): [] __down_trylock_console_sem+0x86/0xa0 [ 11.253114][ T264] hardirqs last disabled at (20796): [] console_emit_next_record+0x3d4/0x4c0 [ 11.253116][ T264] softirqs last enabled at (19628): [] handle_softirqs+0x67c/0x900 [ 11.253118][ T264] softirqs last disabled at (19617): [] __irq_exit_rcu+0x145/0x1c0 [ 11.253120][ T264] Preemption disabled at: [ 11.253121][ T264] [<0000000000000000>] 0x0 [ 11.253127][ T264] CPU: 3 UID: 0 PID: 264 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.253130][ T264] Tainted: [W]=WARN [ 11.253131][ T264] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.253133][ T264] Call Trace: [ 11.253134][ T264] [ 11.253136][ T264] dump_stack_lvl+0x6f/0xa0 [ 11.253142][ T264] __might_resched.cold+0x1fe/0x2c1 [ 11.253147][ T264] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.253151][ T264] ? __kmalloc_noprof+0xdb/0x760 [ 11.253155][ T264] __kmalloc_noprof+0x443/0x760 [ 11.253157][ T264] ? alloc_buf.isra.0+0x4b/0x260 [ 11.253163][ T264] ? do_raw_spin_unlock+0x59/0x250 [ 11.253166][ T264] alloc_buf.isra.0+0x4b/0x260 [ 11.253170][ T264] put_chars+0x1e1/0x2f0 [ 11.253172][ T264] ? __send_to_port+0x420/0x420 [ 11.253173][ T264] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.253177][ T264] ? validate_chain+0x38b/0xc20 [ 11.253182][ T264] hvc_console_print+0x292/0x780 [ 11.253189][ T264] ? hvc_write+0x3a0/0x3a0 [ 11.253192][ T264] ? rcu_is_watching+0x16/0xd0 [ 11.253194][ T264] ? lock_acquire+0x13c/0x160 [ 11.253198][ T264] console_emit_next_record+0x22f/0x4c0 [ 11.253202][ T264] ? devkmsg_read+0x4b0/0x4b0 [ 11.253204][ T264] ? console_flush_one_record+0x106/0x710 [ 11.253207][ T264] ? rcu_is_watching+0x16/0xd0 [ 11.253209][ T264] ? lock_acquire+0x13c/0x160 [ 11.253212][ T264] console_flush_one_record+0x46f/0x710 [ 11.253216][ T264] ? console_emit_next_record+0x4c0/0x4c0 [ 11.253218][ T264] ? __lock_acquire+0x518/0xc20 [ 11.253224][ T264] console_unlock+0xee/0x1f0 [ 11.253226][ T264] ? console_flush_one_record+0x710/0x710 [ 11.253228][ T264] ? rcu_is_watching+0x16/0xd0 [ 11.253230][ T264] ? lock_acquire+0xe0/0x160 [ 11.253233][ T264] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.253235][ T264] ? vprintk_emit+0x320/0x3e0 [ 11.253238][ T264] vprintk_emit+0x37c/0x3e0 [ 11.253241][ T264] ? wake_up_klogd_work_func+0x90/0x90 [ 11.253244][ T264] ? __lock_acquire+0x518/0xc20 [ 11.253247][ T264] _printk+0xc7/0x100 [ 11.253251][ T264] ? snapshot_read.cold+0x21/0x21 [ 11.253254][ T264] ? do_raw_spin_lock+0x131/0x280 [ 11.253256][ T264] ? __rwlock_init+0x150/0x150 [ 11.253260][ T264] ? do_raw_spin_lock+0x131/0x280 [ 11.253263][ T264] do_exit.cold+0x82/0x9c [ 11.253266][ T264] ? exit_notify+0x890/0x890 [ 11.253268][ T264] ? __lock_release.isra.0+0x69/0x1a0 [ 11.253270][ T264] ? rcu_is_watching+0x16/0xd0 [ 11.253274][ T264] do_group_exit+0xb8/0x370 [ 11.253276][ T264] __x64_sys_exit_group+0x3c/0x50 [ 11.253278][ T264] x64_sys_call+0x1567/0x1570 [ 11.253281][ T264] do_syscall_64+0xff/0x530 [ 11.253284][ T264] ? exc_page_fault+0xee/0x100 [ 11.253287][ T264] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.253289][ T264] RIP: 0033:0x7ffaa29fb1b8 [ 11.253291][ T264] Code: Unable to access opcode bytes at 0x7ffaa29fb18e. [ 11.253292][ T264] RSP: 002b:00007ffefe2934c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.253295][ T264] RAX: ffffffffffffffda RBX: 00007ffaa2b2bf88 RCX: 00007ffaa29fb1b8 [ 11.253296][ T264] RDX: 00007ffaa2745fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.253297][ T264] RBP: 00007ffefe293520 R08: 0000000000000000 R09: 0000000000000050 [ 11.253298][ T264] R10: 00007ffefe2932e0 R11: 0000000000000246 R12: 0000000000000001 [ 11.253298][ T264] R13: 0000000000000000 R14: 00007ffaa2b2a680 R15: 00007ffaa2b2bfa0 [ 11.253305][ T264] [ 11.577688][ T275] ip (275) used greatest stack depth: 23664 bytes left [ 52.495574][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 52.498380][ C0] [ 52.498382][ C0] ======================================================== [ 52.498383][ C0] WARNING: possible irq lock inversion dependency detected [ 52.498386][ C0] 7.2.0-virtme #1 Tainted: G W [ 52.498387][ C0] -------------------------------------------------------- [ 52.498388][ C0] swapper/0/0 just changed the state of lock: [ 52.498389][ C0] ffffffff9a09d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 52.498401][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 52.498402][ C0] (fs_reclaim){+.+.}-{0:0} [ 52.498404][ C0] [ 52.498404][ C0] [ 52.498404][ C0] and interrupts could create inverse lock ordering between them. [ 52.498404][ C0] [ 52.498404][ C0] [ 52.498404][ C0] other info that might help us debug this: [ 52.498405][ C0] Possible interrupt unsafe locking scenario: [ 52.498405][ C0] [ 52.498405][ C0] CPU0 CPU1 [ 52.498406][ C0] ---- ---- [ 52.498407][ C0] lock(fs_reclaim); [ 52.498408][ C0] local_irq_disable(); [ 52.498412][ C0] lock(console_owner); [ 52.498413][ C0] lock(fs_reclaim); [ 52.498413][ C0] [ 52.498414][ C0] lock(console_owner); [ 52.498415][ C0] [ 52.498415][ C0] *** DEADLOCK *** [ 52.498415][ C0] [ 52.498415][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 52.498417][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 52.498422][ C0] #1: ffffffff9a1e29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 52.498426][ C0] #2: ffffffff9a17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 52.498429][ C0] #3: ffffffff9a17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 52.498432][ C0] [ 52.498432][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 52.498437][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 52.498439][ C0] HARDIRQ-ON-W at: [ 52.498440][ C0] __lock_acquire+0x388/0xc20 [ 52.498444][ C0] lock_acquire.part.0+0xd4/0x280 [ 52.498446][ C0] fs_reclaim_acquire+0xd5/0x120 [ 52.498449][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 52.498451][ C0] kthread_create_worker_on_node+0xea/0x210 [ 52.498453][ C0] workqueue_init+0x2a/0x680 [ 52.498457][ C0] kernel_init_freeable+0x2fe/0x630 [ 52.498460][ C0] kernel_init+0x21/0x150 [ 52.498464][ C0] ret_from_fork+0x474/0x6b0 [ 52.498467][ C0] ret_from_fork_asm+0x11/0x20 [ 52.498470][ C0] SOFTIRQ-ON-W at: [ 52.498471][ C0] __lock_acquire+0x388/0xc20 [ 52.498473][ C0] lock_acquire.part.0+0xd4/0x280 [ 52.498474][ C0] fs_reclaim_acquire+0xd5/0x120 [ 52.498476][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 52.498477][ C0] kthread_create_worker_on_node+0xea/0x210 [ 52.498478][ C0] workqueue_init+0x2a/0x680 [ 52.498480][ C0] kernel_init_freeable+0x2fe/0x630 [ 52.498481][ C0] kernel_init+0x21/0x150 [ 52.498482][ C0] ret_from_fork+0x474/0x6b0 [ 52.498484][ C0] ret_from_fork_asm+0x11/0x20 [ 52.498485][ C0] INITIAL USE at: [ 52.498486][ C0] __lock_acquire+0x388/0xc20 [ 52.498487][ C0] lock_acquire.part.0+0xd4/0x280 [ 52.498488][ C0] fs_reclaim_acquire+0xd5/0x120 [ 52.498490][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 52.498491][ C0] kthread_create_worker_on_node+0xea/0x210 [ 52.498492][ C0] workqueue_init+0x2a/0x680 [ 52.498494][ C0] kernel_init_freeable+0x2fe/0x630 [ 52.498495][ C0] kernel_init+0x21/0x150 [ 52.498497][ C0] ret_from_fork+0x474/0x6b0 [ 52.498498][ C0] ret_from_fork_asm+0x11/0x20 [ 52.498499][ C0] } [ 52.498499][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 52.498503][ C0] ... acquired at: [ 52.498504][ C0] __lock_acquire+0x518/0xc20 [ 52.498506][ C0] lock_acquire.part.0+0xd4/0x280 [ 52.498507][ C0] fs_reclaim_acquire+0xd5/0x120 [ 52.498508][ C0] __kmalloc_noprof+0xd3/0x760 [ 52.498509][ C0] alloc_buf.isra.0+0x4b/0x260 [ 52.498513][ C0] put_chars+0x1e1/0x2f0 [ 52.498514][ C0] hvc_console_print+0x292/0x780 [ 52.498517][ C0] console_emit_next_record+0x22f/0x4c0 [ 52.498519][ C0] console_flush_one_record+0x46f/0x710 [ 52.498521][ C0] console_unlock+0xee/0x1f0 [ 52.498522][ C0] vprintk_emit+0x37c/0x3e0 [ 52.498523][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 52.498526][ C0] dev_printk_emit+0xb9/0xee [ 52.498528][ C0] _dev_info+0xe2/0x116 [ 52.498529][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 52.498532][ C0] cmos_do_probe+0x73b/0x98a [ 52.498533][ C0] platform_probe+0xfe/0x1f0 [ 52.498537][ C0] call_driver_probe+0x61/0x1c0 [ 52.498538][ C0] really_probe+0x199/0x760 [ 52.498539][ C0] __driver_probe_device+0x24f/0x440 [ 52.498540][ C0] driver_probe_device+0x4a/0xf0 [ 52.498541][ C0] __driver_attach+0x1b8/0x540 [ 52.498543][ C0] bus_for_each_dev+0x130/0x1e0 [ 52.498544][ C0] bus_add_driver+0x2c8/0x530 [ 52.498545][ C0] driver_register+0x1a3/0x390 [ 52.498547][ C0] __platform_driver_probe+0x13f/0x270 [ 52.498548][ C0] cmos_init+0x31/0x40 [ 52.498551][ C0] do_one_initcall+0x124/0x4f0 [ 52.498552][ C0] kernel_init_freeable+0x596/0x630 [ 52.498554][ C0] kernel_init+0x21/0x150 [ 52.498555][ C0] ret_from_fork+0x474/0x6b0 [ 52.498556][ C0] ret_from_fork_asm+0x11/0x20 [ 52.498557][ C0] [ 52.498558][ C0] -> (console_owner){..-.}-{0:0} { [ 52.498560][ C0] IN-SOFTIRQ-W at: [ 52.498560][ C0] __lock_acquire+0x388/0xc20 [ 52.498562][ C0] lock_acquire.part.0+0xd4/0x280 [ 52.498563][ C0] console_lock_spinning_enable+0x5c/0x60 [ 52.498565][ C0] console_emit_next_record+0x1d1/0x4c0 [ 52.498567][ C0] console_flush_one_record+0x46f/0x710 [ 52.498568][ C0] console_unlock+0xee/0x1f0 [ 52.498570][ C0] vprintk_emit+0x37c/0x3e0 [ 52.498571][ C0] _printk+0xc7/0x100 [ 52.498573][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 52.498576][ C0] call_timer_fn+0x160/0x4d0 [ 52.498578][ C0] __run_timers+0x68f/0xaa0 [ 52.498579][ C0] run_timer_softirq+0xf0/0x160 [ 52.498581][ C0] handle_softirqs+0x1d3/0x900 [ 52.498584][ C0] __irq_exit_rcu+0x145/0x1c0 [ 52.498585][ C0] irq_exit_rcu+0xe/0x30 [ 52.498587][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 52.498588][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 52.498590][ C0] pv_native_safe_halt+0xf/0x10 [ 52.498591][ C0] default_idle+0x9/0x10 [ 52.498597][ C0] default_idle_call+0x6e/0xb0 [ 52.498599][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 52.498602][ C0] do_idle+0xd8/0x190 [ 52.498603][ C0] cpu_startup_entry+0x53/0x70 [ 52.498604][ C0] rest_init+0x279/0x280 [ 52.498605][ C0] start_kernel+0x3b9/0x3c0 [ 52.498607][ C0] x86_64_start_reservations+0x24/0x30 [ 52.498609][ C0] x86_64_start_kernel+0x12b/0x130 [ 52.498610][ C0] common_startup_64+0x13e/0x148 [ 52.498612][ C0] INITIAL USE at: [ 52.498613][ C0] } [ 52.498614][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 52.498616][ C0] ... acquired at: [ 52.498617][ C0] mark_lock+0x1d7/0xa00 [ 52.498618][ C0] mark_usage+0x42/0x170 [ 52.498619][ C0] __lock_acquire+0x388/0xc20 [ 52.498621][ C0] lock_acquire.part.0+0xd4/0x280 [ 52.498622][ C0] console_lock_spinning_enable+0x5c/0x60 [ 52.498624][ C0] console_emit_next_record+0x1d1/0x4c0 [ 52.498625][ C0] console_flush_one_record+0x46f/0x710 [ 52.498627][ C0] console_unlock+0xee/0x1f0 [ 52.498628][ C0] vprintk_emit+0x37c/0x3e0 [ 52.498629][ C0] _printk+0xc7/0x100 [ 52.498631][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 52.498631][ C0] call_timer_fn+0x160/0x4d0 [ 52.498633][ C0] __run_timers+0x68f/0xaa0 [ 52.498634][ C0] run_timer_softirq+0xf0/0x160 [ 52.498636][ C0] handle_softirqs+0x1d3/0x900 [ 52.498637][ C0] __irq_exit_rcu+0x145/0x1c0 [ 52.498638][ C0] irq_exit_rcu+0xe/0x30 [ 52.498640][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 52.498641][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 52.498642][ C0] pv_native_safe_halt+0xf/0x10 [ 52.498643][ C0] default_idle+0x9/0x10 [ 52.498644][ C0] default_idle_call+0x6e/0xb0 [ 52.498645][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 52.498647][ C0] do_idle+0xd8/0x190 [ 52.498648][ C0] cpu_startup_entry+0x53/0x70 [ 52.498649][ C0] rest_init+0x279/0x280 [ 52.498650][ C0] start_kernel+0x3b9/0x3c0 [ 52.498652][ C0] x86_64_start_reservations+0x24/0x30 [ 52.498653][ C0] x86_64_start_kernel+0x12b/0x130 [ 52.498654][ C0] common_startup_64+0x13e/0x148 [ 52.498655][ C0] [ 52.498655][ C0] [ 52.498655][ C0] stack backtrace: [ 52.498659][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 52.498662][ C0] Tainted: [W]=WARN [ 52.498663][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 52.498664][ C0] Call Trace: [ 52.498666][ C0] [ 52.498667][ C0] dump_stack_lvl+0x6f/0xa0 [ 52.498671][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 52.498674][ C0] mark_lock_irq+0x989/0x9c0 [ 52.498675][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 52.498678][ C0] mark_lock+0x1d7/0xa00 [ 52.498680][ C0] mark_usage+0x42/0x170 [ 52.498681][ C0] __lock_acquire+0x388/0xc20 [ 52.498684][ C0] lock_acquire.part.0+0xd4/0x280 [ 52.498685][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 52.498688][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498690][ C0] ? lock_acquire+0x13c/0x160 [ 52.498692][ C0] console_lock_spinning_enable+0x5c/0x60 [ 52.498693][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 52.498695][ C0] console_emit_next_record+0x1d1/0x4c0 [ 52.498697][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 52.498699][ C0] ? console_flush_one_record+0x106/0x710 [ 52.498701][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498702][ C0] ? lock_acquire+0x13c/0x160 [ 52.498704][ C0] console_flush_one_record+0x46f/0x710 [ 52.498706][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 52.498708][ C0] ? __lock_acquire+0x518/0xc20 [ 52.498710][ C0] console_unlock+0xee/0x1f0 [ 52.498712][ C0] ? console_flush_one_record+0x710/0x710 [ 52.498714][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498715][ C0] ? lock_acquire+0xe0/0x160 [ 52.498717][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 52.498719][ C0] ? vprintk_emit+0x320/0x3e0 [ 52.498720][ C0] vprintk_emit+0x37c/0x3e0 [ 52.498722][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 52.498724][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 52.498726][ C0] _printk+0xc7/0x100 [ 52.498727][ C0] ? snapshot_read.cold+0x21/0x21 [ 52.498729][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 52.498731][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 52.498733][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 52.498734][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 52.498736][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 52.498738][ C0] call_timer_fn+0x160/0x4d0 [ 52.498740][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 52.498742][ C0] ? debug_object_active_state+0x430/0x430 [ 52.498744][ C0] ? find_held_lock+0x2b/0x80 [ 52.498746][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 52.498748][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498749][ C0] __run_timers+0x68f/0xaa0 [ 52.498751][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 52.498753][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 52.498755][ C0] ? __lock_acquire+0x518/0xc20 [ 52.498757][ C0] ? trace_rcu_watching+0x20/0x1f0 [ 52.498760][ C0] ? __rwlock_init+0x150/0x150 [ 52.498763][ C0] run_timer_softirq+0xf0/0x160 [ 52.498765][ C0] ? __run_timers+0xaa0/0xaa0 [ 52.498767][ C0] ? handle_softirqs+0x19c/0x900 [ 52.498768][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498770][ C0] handle_softirqs+0x1d3/0x900 [ 52.498771][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 52.498773][ C0] ? _local_bh_enable+0xc0/0xc0 [ 52.498775][ C0] __irq_exit_rcu+0x145/0x1c0 [ 52.498777][ C0] irq_exit_rcu+0xe/0x30 [ 52.498778][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 52.498780][ C0] [ 52.498780][ C0] [ 52.498781][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 52.498783][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 52.498785][ 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 [ 52.498787][ C0] RSP: 0018:ffffffff99e07cf8 EFLAGS: 00000296 [ 52.498789][ C0] RAX: 00000000001050f7 RBX: ffffffff99e30600 RCX: ffffffff96506247 [ 52.498790][ C0] RDX: ffffffff99e30600 RSI: ffffffff99711027 RDI: ffffffff990949e0 [ 52.498791][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 52.498792][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff33c0fa2 [ 52.498793][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 52.498794][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 52.498797][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 52.498798][ C0] default_idle+0x9/0x10 [ 52.498800][ C0] default_idle_call+0x6e/0xb0 [ 52.498801][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 52.498803][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 52.498804][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 52.498807][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498808][ C0] do_idle+0xd8/0x190 [ 52.498810][ C0] cpu_startup_entry+0x53/0x70 [ 52.498811][ C0] rest_init+0x279/0x280 [ 52.498813][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 52.498815][ C0] ? rest_init+0x280/0x280 [ 52.498817][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 52.498820][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 52.498822][ C0] ? acpi_enable+0x1e4/0x330 [ 52.498824][ C0] start_kernel+0x3b9/0x3c0 [ 52.498826][ C0] x86_64_start_reservations+0x24/0x30 [ 52.498827][ C0] x86_64_start_kernel+0x12b/0x130 [ 52.498829][ C0] common_startup_64+0x13e/0x148 [ 52.498831][ C0] [ 52.498836][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 52.498837][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 52.498839][ C0] preempt_count: 103, expected: 0 [ 52.498839][ C0] RCU nest depth: 0, expected: 0 [ 52.498840][ C0] INFO: lockdep is turned off. [ 52.498840][ C0] irq event stamp: 1069633 [ 52.498841][ C0] hardirqs last enabled at (1069632): [] asm_common_interrupt+0x26/0x40 [ 52.498843][ C0] hardirqs last disabled at (1069633): [] console_emit_next_record+0x3d4/0x4c0 [ 52.498845][ C0] softirqs last enabled at (1069266): [] handle_softirqs+0x67c/0x900 [ 52.498847][ C0] softirqs last disabled at (1069317): [] __irq_exit_rcu+0x145/0x1c0 [ 52.498848][ C0] Preemption disabled at: [ 52.498849][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 52.498852][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 52.498854][ C0] Tainted: [W]=WARN [ 52.498854][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 52.498855][ C0] Call Trace: [ 52.498856][ C0] [ 52.498856][ C0] dump_stack_lvl+0x6f/0xa0 [ 52.498859][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 52.498860][ C0] __might_resched.cold+0x1fe/0x2c1 [ 52.498863][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 52.498866][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498868][ C0] __kmalloc_noprof+0x443/0x760 [ 52.498869][ C0] ? __rwlock_init+0x150/0x150 [ 52.498871][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 52.498873][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 52.498875][ C0] alloc_buf.isra.0+0x4b/0x260 [ 52.498877][ C0] put_chars+0x1e1/0x2f0 [ 52.498879][ C0] ? __send_to_port+0x420/0x420 [ 52.498881][ C0] ? mark_lock+0x1d7/0xa00 [ 52.498883][ C0] hvc_console_print+0x292/0x780 [ 52.498886][ C0] ? hvc_write+0x3a0/0x3a0 [ 52.498888][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498889][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498890][ C0] console_emit_next_record+0x22f/0x4c0 [ 52.498893][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 52.498894][ C0] ? console_flush_one_record+0x106/0x710 [ 52.498896][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498897][ C0] ? lock_acquire+0x13c/0x160 [ 52.498899][ C0] console_flush_one_record+0x46f/0x710 [ 52.498902][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 52.498903][ C0] ? __lock_acquire+0x518/0xc20 [ 52.498906][ C0] console_unlock+0xee/0x1f0 [ 52.498907][ C0] ? console_flush_one_record+0x710/0x710 [ 52.498909][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498910][ C0] ? lock_acquire+0xe0/0x160 [ 52.498912][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 52.498914][ C0] ? vprintk_emit+0x320/0x3e0 [ 52.498915][ C0] vprintk_emit+0x37c/0x3e0 [ 52.498916][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 52.498918][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 52.498920][ C0] _printk+0xc7/0x100 [ 52.498921][ C0] ? snapshot_read.cold+0x21/0x21 [ 52.498923][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 52.498925][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 52.498927][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 52.498929][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 52.498930][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 52.498932][ C0] call_timer_fn+0x160/0x4d0 [ 52.498934][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 52.498936][ C0] ? debug_object_active_state+0x430/0x430 [ 52.498937][ C0] ? find_held_lock+0x2b/0x80 [ 52.498939][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 52.498941][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498942][ C0] __run_timers+0x68f/0xaa0 [ 52.498944][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 52.498946][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 52.498948][ C0] ? __lock_acquire+0x518/0xc20 [ 52.498950][ C0] ? trace_rcu_watching+0x20/0x1f0 [ 52.498953][ C0] ? __rwlock_init+0x150/0x150 [ 52.498955][ C0] run_timer_softirq+0xf0/0x160 [ 52.498957][ C0] ? __run_timers+0xaa0/0xaa0 [ 52.498959][ C0] ? handle_softirqs+0x19c/0x900 [ 52.498960][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498961][ C0] handle_softirqs+0x1d3/0x900 [ 52.498963][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 52.498965][ C0] ? _local_bh_enable+0xc0/0xc0 [ 52.498967][ C0] __irq_exit_rcu+0x145/0x1c0 [ 52.498968][ C0] irq_exit_rcu+0xe/0x30 [ 52.498970][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 52.498971][ C0] [ 52.498972][ C0] [ 52.498973][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 52.498974][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 52.498975][ 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 [ 52.498977][ C0] RSP: 0018:ffffffff99e07cf8 EFLAGS: 00000296 [ 52.498978][ C0] RAX: 00000000001050f7 RBX: ffffffff99e30600 RCX: ffffffff96506247 [ 52.498979][ C0] RDX: ffffffff99e30600 RSI: ffffffff99711027 RDI: ffffffff990949e0 [ 52.498979][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 52.498980][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff33c0fa2 [ 52.498981][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 52.498982][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 52.498984][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 52.498986][ C0] default_idle+0x9/0x10 [ 52.498987][ C0] default_idle_call+0x6e/0xb0 [ 52.498989][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 52.498990][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 52.498992][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 52.498993][ C0] ? rcu_is_watching+0x16/0xd0 [ 52.498995][ C0] do_idle+0xd8/0x190 [ 52.498996][ C0] cpu_startup_entry+0x53/0x70 [ 52.498998][ C0] rest_init+0x279/0x280 [ 52.498999][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 52.499002][ C0] ? rest_init+0x280/0x280 [ 52.499004][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 52.499005][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 52.499007][ C0] ? acpi_enable+0x1e4/0x330 [ 52.499008][ C0] start_kernel+0x3b9/0x3c0 [ 52.499010][ C0] x86_64_start_reservations+0x24/0x30 [ 52.499011][ C0] x86_64_start_kernel+0x12b/0x130 [ 52.499013][ C0] common_startup_64+0x13e/0x148 [ 52.499016][ C0]