[ 9.662255][ T208] ip (208) used greatest stack depth: 23840 bytes left [ 9.662270][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.662272][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: ip [ 9.662274][ T208] preempt_count: 2, expected: 0 [ 9.662275][ T208] RCU nest depth: 0, expected: 0 [ 9.662275][ T208] locks held by ip/208: 5, last CPU#1: [ 9.662277][ T208] #0: ffffffffbbe127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.662288][ T208] #1: ffffffffbbf79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.662294][ T208] #2: ffffffffbbf79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.662297][ T208] #3: ffffffffbbe99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.662301][ T208] #4: ffffffffbbe99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.662305][ T208] irq event stamp: 31762 [ 9.662306][ T208] hardirqs last enabled at (31761): [] __down_trylock_console_sem+0x86/0xa0 [ 9.662308][ T208] hardirqs last disabled at (31762): [] console_emit_next_record+0x3d4/0x4c0 [ 9.662311][ T208] softirqs last enabled at (30740): [] handle_softirqs+0x67c/0x900 [ 9.662313][ T208] softirqs last disabled at (30543): [] __irq_exit_rcu+0x145/0x1c0 [ 9.662315][ T208] Preemption disabled at: [ 9.662316][ T208] [<0000000000000000>] 0x0 [ 9.662322][ T208] CPU: 1 UID: 0 PID: 208 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.662325][ T208] Tainted: [W]=WARN [ 9.662326][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.662328][ T208] Call Trace: [ 9.662329][ T208] [ 9.662331][ T208] dump_stack_lvl+0x6f/0xa0 [ 9.662337][ T208] __might_resched.cold+0x1fe/0x2c1 [ 9.662341][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.662345][ T208] ? __kmalloc_noprof+0xdb/0x760 [ 9.662350][ T208] __kmalloc_noprof+0x443/0x760 [ 9.662352][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 9.662358][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 9.662361][ T208] alloc_buf.isra.0+0x4b/0x260 [ 9.662364][ T208] put_chars+0x1e1/0x2f0 [ 9.662367][ T208] ? __send_to_port+0x420/0x420 [ 9.662368][ T208] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.662373][ T208] ? validate_chain+0x38b/0xc20 [ 9.662378][ T208] hvc_console_print+0x292/0x780 [ 9.662385][ T208] ? hvc_write+0x3a0/0x3a0 [ 9.662387][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.662389][ T208] ? lock_acquire+0x13c/0x160 [ 9.662393][ T208] console_emit_next_record+0x22f/0x4c0 [ 9.662397][ T208] ? devkmsg_read+0x4b0/0x4b0 [ 9.662398][ T208] ? console_flush_one_record+0x106/0x710 [ 9.662402][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.662404][ T208] ? lock_acquire+0x13c/0x160 [ 9.662412][ T208] console_flush_one_record+0x46f/0x710 [ 9.662416][ T208] ? console_emit_next_record+0x4c0/0x4c0 [ 9.662418][ T208] ? __lock_acquire+0x518/0xc20 [ 9.662423][ T208] console_unlock+0xee/0x1f0 [ 9.662425][ T208] ? console_flush_one_record+0x710/0x710 [ 9.662427][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.662429][ T208] ? lock_acquire+0x60/0x160 [ 9.662433][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.662434][ T208] ? vprintk_emit+0x320/0x3e0 [ 9.662438][ T208] vprintk_emit+0x37c/0x3e0 [ 9.662441][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 9.662445][ T208] ? __lock_acquire+0x518/0xc20 [ 9.662448][ T208] _printk+0xc7/0x100 [ 9.662451][ T208] ? snapshot_read.cold+0x21/0x21 [ 9.662454][ T208] ? do_raw_spin_lock+0x131/0x280 [ 9.662457][ T208] ? __rwlock_init+0x150/0x150 [ 9.662460][ T208] ? do_raw_spin_lock+0x131/0x280 [ 9.662463][ T208] do_exit.cold+0x82/0x9c [ 9.662466][ T208] ? exit_notify+0x890/0x890 [ 9.662468][ T208] ? __lock_release.isra.0+0x69/0x1a0 [ 9.662470][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.662474][ T208] do_group_exit+0xb8/0x370 [ 9.662477][ T208] __x64_sys_exit_group+0x3c/0x50 [ 9.662479][ T208] x64_sys_call+0x1567/0x1570 [ 9.662482][ T208] do_syscall_64+0xff/0x530 [ 9.662485][ T208] ? exc_page_fault+0xee/0x100 [ 9.662488][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.662490][ T208] RIP: 0033:0x7f6d972a91b8 [ 9.662492][ T208] Code: Unable to access opcode bytes at 0x7f6d972a918e. [ 9.662493][ T208] RSP: 002b:00007fff4996e588 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.662496][ T208] RAX: ffffffffffffffda RBX: 00007f6d973d9f88 RCX: 00007f6d972a91b8 [ 9.662497][ T208] RDX: 00007f6d96ff3fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.662498][ T208] RBP: 00007fff4996e5e0 R08: 0000000000000000 R09: 0000000000008010 [ 9.662499][ T208] R10: 00007fff4996e3a0 R11: 0000000000000246 R12: 0000000000000001 [ 9.662500][ T208] R13: 0000000000000000 R14: 00007f6d973d8680 R15: 00007f6d973d9fa0 [ 9.662506][ T208] [ 11.399537][ C0] clocksource: Watchdog remote CPU 1 read timed out [ 11.399603][ C0] [ 11.399605][ C0] ======================================================== [ 11.399606][ C0] WARNING: possible irq lock inversion dependency detected [ 11.399608][ C0] 7.2.0-virtme #1 Tainted: G W [ 11.399610][ C0] -------------------------------------------------------- [ 11.399610][ C0] swapper/0/0 just changed the state of lock: [ 11.399611][ C0] ffffffffbbe99660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.399624][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 11.399626][ C0] (fs_reclaim){+.+.}-{0:0} [ 11.399627][ C0] [ 11.399627][ C0] [ 11.399627][ C0] and interrupts could create inverse lock ordering between them. [ 11.399627][ C0] [ 11.399628][ C0] [ 11.399628][ C0] other info that might help us debug this: [ 11.399628][ C0] Possible interrupt unsafe locking scenario: [ 11.399628][ C0] [ 11.399629][ C0] CPU0 CPU1 [ 11.399630][ C0] ---- ---- [ 11.399630][ C0] lock(fs_reclaim); [ 11.399631][ C0] local_irq_disable(); [ 11.399632][ C0] lock(console_owner); [ 11.399632][ C0] lock(fs_reclaim); [ 11.399633][ C0] [ 11.399634][ C0] lock(console_owner); [ 11.399634][ C0] [ 11.399634][ C0] *** DEADLOCK *** [ 11.399634][ C0] [ 11.399635][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 11.399636][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 11.399641][ C0] #1: ffffffffbbfde8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 11.399645][ C0] #2: ffffffffbbf79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.399648][ C0] #3: ffffffffbbf79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.399652][ C0] [ 11.399652][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 11.399656][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 11.399658][ C0] HARDIRQ-ON-W at: [ 11.399659][ C0] __lock_acquire+0x388/0xc20 [ 11.399662][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.399664][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.399667][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 11.399669][ C0] kthread_create_worker_on_node+0xea/0x210 [ 11.399672][ C0] workqueue_init+0x2a/0x680 [ 11.399675][ C0] kernel_init_freeable+0x2fe/0x630 [ 11.399678][ C0] kernel_init+0x21/0x150 [ 11.399681][ C0] ret_from_fork+0x474/0x6b0 [ 11.399684][ C0] ret_from_fork_asm+0x11/0x20 [ 11.399687][ C0] SOFTIRQ-ON-W at: [ 11.399688][ C0] __lock_acquire+0x388/0xc20 [ 11.399689][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.399691][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.399692][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 11.399694][ C0] kthread_create_worker_on_node+0xea/0x210 [ 11.399695][ C0] workqueue_init+0x2a/0x680 [ 11.399696][ C0] kernel_init_freeable+0x2fe/0x630 [ 11.399698][ C0] kernel_init+0x21/0x150 [ 11.399699][ C0] ret_from_fork+0x474/0x6b0 [ 11.399700][ C0] ret_from_fork_asm+0x11/0x20 [ 11.399701][ C0] INITIAL USE at: [ 11.399702][ C0] __lock_acquire+0x388/0xc20 [ 11.399704][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.399705][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.399706][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 11.399707][ C0] kthread_create_worker_on_node+0xea/0x210 [ 11.399709][ C0] workqueue_init+0x2a/0x680 [ 11.399710][ C0] kernel_init_freeable+0x2fe/0x630 [ 11.399711][ C0] kernel_init+0x21/0x150 [ 11.399713][ C0] ret_from_fork+0x474/0x6b0 [ 11.399714][ C0] ret_from_fork_asm+0x11/0x20 [ 11.399715][ C0] } [ 11.399715][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 11.399719][ C0] ... acquired at: [ 11.399720][ C0] __lock_acquire+0x518/0xc20 [ 11.399721][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.399722][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.399723][ C0] __kmalloc_noprof+0xd3/0x760 [ 11.399725][ C0] alloc_buf.isra.0+0x4b/0x260 [ 11.399728][ C0] put_chars+0x1e1/0x2f0 [ 11.399730][ C0] hvc_console_print+0x292/0x780 [ 11.399732][ C0] console_emit_next_record+0x22f/0x4c0 [ 11.399733][ C0] console_flush_one_record+0x46f/0x710 [ 11.399735][ C0] console_unlock+0xee/0x1f0 [ 11.399736][ C0] vprintk_emit+0x37c/0x3e0 [ 11.399738][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 11.399741][ C0] dev_printk_emit+0xb9/0xee [ 11.399743][ C0] _dev_info+0xe2/0x116 [ 11.399745][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 11.399747][ C0] cmos_do_probe+0x73b/0x98a [ 11.399748][ C0] platform_probe+0xfe/0x1f0 [ 11.399751][ C0] call_driver_probe+0x61/0x1c0 [ 11.399753][ C0] really_probe+0x199/0x760 [ 11.399755][ C0] __driver_probe_device+0x24f/0x440 [ 11.399756][ C0] driver_probe_device+0x4a/0xf0 [ 11.399758][ C0] __driver_attach+0x1b8/0x540 [ 11.399759][ C0] bus_for_each_dev+0x130/0x1e0 [ 11.399761][ C0] bus_add_driver+0x2c8/0x530 [ 11.399762][ C0] driver_register+0x1a3/0x390 [ 11.399764][ C0] __platform_driver_probe+0x13f/0x270 [ 11.399765][ C0] cmos_init+0x31/0x40 [ 11.399768][ C0] do_one_initcall+0x124/0x4f0 [ 11.399769][ C0] kernel_init_freeable+0x596/0x630 [ 11.399771][ C0] kernel_init+0x21/0x150 [ 11.399772][ C0] ret_from_fork+0x474/0x6b0 [ 11.399773][ C0] ret_from_fork_asm+0x11/0x20 [ 11.399774][ C0] [ 11.399775][ C0] -> (console_owner){..-.}-{0:0} { [ 11.399776][ C0] IN-SOFTIRQ-W at: [ 11.399777][ C0] __lock_acquire+0x388/0xc20 [ 11.399779][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.399780][ C0] console_lock_spinning_enable+0x5c/0x60 [ 11.399782][ C0] console_emit_next_record+0x1d1/0x4c0 [ 11.399783][ C0] console_flush_one_record+0x46f/0x710 [ 11.399785][ C0] console_unlock+0xee/0x1f0 [ 11.399786][ C0] vprintk_emit+0x37c/0x3e0 [ 11.399788][ C0] _printk+0xc7/0x100 [ 11.399790][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.399793][ C0] call_timer_fn+0x160/0x4d0 [ 11.399794][ C0] __run_timers+0x68f/0xaa0 [ 11.399796][ C0] run_timer_softirq+0xf0/0x160 [ 11.399797][ C0] handle_softirqs+0x1d3/0x900 [ 11.399800][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.399801][ C0] irq_exit_rcu+0xe/0x30 [ 11.399802][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.399804][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.399806][ C0] pv_native_safe_halt+0xf/0x10 [ 11.399807][ C0] default_idle+0x9/0x10 [ 11.399808][ C0] default_idle_call+0x6e/0xb0 [ 11.399809][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.399812][ C0] do_idle+0xd8/0x190 [ 11.399813][ C0] cpu_startup_entry+0x53/0x70 [ 11.399814][ C0] rest_init+0x279/0x280 [ 11.399815][ C0] start_kernel+0x3af/0x3b0 [ 11.399817][ C0] x86_64_start_reservations+0x24/0x30 [ 11.399819][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.399820][ C0] common_startup_64+0x13e/0x148 [ 11.399823][ C0] INITIAL USE at: [ 11.399824][ C0] } [ 11.399824][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 11.399828][ C0] ... acquired at: [ 11.399828][ C0] mark_lock+0x1d7/0xa00 [ 11.399829][ C0] mark_usage+0x42/0x170 [ 11.399831][ C0] __lock_acquire+0x388/0xc20 [ 11.399832][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.399833][ C0] console_lock_spinning_enable+0x5c/0x60 [ 11.399835][ C0] console_emit_next_record+0x1d1/0x4c0 [ 11.399837][ C0] console_flush_one_record+0x46f/0x710 [ 11.399838][ C0] console_unlock+0xee/0x1f0 [ 11.399840][ C0] vprintk_emit+0x37c/0x3e0 [ 11.399841][ C0] _printk+0xc7/0x100 [ 11.399842][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.399843][ C0] call_timer_fn+0x160/0x4d0 [ 11.399845][ C0] __run_timers+0x68f/0xaa0 [ 11.399846][ C0] run_timer_softirq+0xf0/0x160 [ 11.399848][ C0] handle_softirqs+0x1d3/0x900 [ 11.399849][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.399850][ C0] irq_exit_rcu+0xe/0x30 [ 11.399851][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.399852][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.399853][ C0] pv_native_safe_halt+0xf/0x10 [ 11.399854][ C0] default_idle+0x9/0x10 [ 11.399855][ C0] default_idle_call+0x6e/0xb0 [ 11.399857][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.399858][ C0] do_idle+0xd8/0x190 [ 11.399859][ C0] cpu_startup_entry+0x53/0x70 [ 11.399860][ C0] rest_init+0x279/0x280 [ 11.399861][ C0] start_kernel+0x3af/0x3b0 [ 11.399863][ C0] x86_64_start_reservations+0x24/0x30 [ 11.399864][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.399866][ C0] common_startup_64+0x13e/0x148 [ 11.399867][ C0] [ 11.399867][ C0] [ 11.399867][ C0] stack backtrace: [ 11.399870][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.399873][ C0] Tainted: [W]=WARN [ 11.399874][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.399875][ C0] Call Trace: [ 11.399876][ C0] [ 11.399877][ C0] dump_stack_lvl+0x6f/0xa0 [ 11.399885][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 11.399887][ C0] mark_lock_irq+0x989/0x9c0 [ 11.399889][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 11.399892][ C0] mark_lock+0x1d7/0xa00 [ 11.399893][ C0] mark_usage+0x42/0x170 [ 11.399895][ C0] __lock_acquire+0x388/0xc20 [ 11.399897][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.399899][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 11.399901][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.399904][ C0] ? lock_acquire+0x13c/0x160 [ 11.399906][ C0] console_lock_spinning_enable+0x5c/0x60 [ 11.399908][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 11.399909][ C0] console_emit_next_record+0x1d1/0x4c0 [ 11.399911][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 11.399913][ C0] ? console_flush_one_record+0x106/0x710 [ 11.399915][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.399916][ C0] ? lock_acquire+0x13c/0x160 [ 11.399918][ C0] console_flush_one_record+0x46f/0x710 [ 11.399920][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 11.399922][ C0] ? __lock_acquire+0x518/0xc20 [ 11.399924][ C0] console_unlock+0xee/0x1f0 [ 11.399926][ C0] ? console_flush_one_record+0x710/0x710 [ 11.399928][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.399929][ C0] ? lock_acquire+0x60/0x160 [ 11.399931][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.399933][ C0] ? vprintk_emit+0x320/0x3e0 [ 11.399934][ C0] vprintk_emit+0x37c/0x3e0 [ 11.399937][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 11.399939][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.399941][ C0] _printk+0xc7/0x100 [ 11.399942][ C0] ? snapshot_read.cold+0x21/0x21 [ 11.399944][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.399946][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.399948][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.399949][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.399951][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.399952][ C0] call_timer_fn+0x160/0x4d0 [ 11.399954][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 11.399956][ C0] ? debug_object_active_state+0x430/0x430 [ 11.399960][ C0] ? find_held_lock+0x2b/0x80 [ 11.399961][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.399963][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.399965][ C0] __run_timers+0x68f/0xaa0 [ 11.399967][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.399969][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 11.399971][ C0] ? __lock_acquire+0x518/0xc20 [ 11.399973][ C0] ? __rwlock_init+0x150/0x150 [ 11.399976][ C0] run_timer_softirq+0xf0/0x160 [ 11.399978][ C0] ? __run_timers+0xaa0/0xaa0 [ 11.399979][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.399981][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.399983][ C0] handle_softirqs+0x1d3/0x900 [ 11.399985][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.399986][ C0] ? _local_bh_enable+0xc0/0xc0 [ 11.399988][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.399990][ C0] irq_exit_rcu+0xe/0x30 [ 11.399991][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.399993][ C0] [ 11.399993][ C0] [ 11.399994][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 11.399995][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.399997][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 11.399999][ C0] Code: 48 8b 3d 94 02 06 02 e8 1f 00 00 00 48 2b 05 58 03 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 a6 17 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 11.400001][ C0] RSP: 0018:ffffffffbbc07cf8 EFLAGS: 00000296 [ 11.400003][ C0] RAX: 0000000000050883 RBX: ffffffffbbc2c600 RCX: ffffffffb8afa307 [ 11.400004][ C0] RDX: ffffffffbbc2c600 RSI: ffffffffbba78e7e RDI: ffffffffbb48dce0 [ 11.400005][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 11.400006][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff7780fa2 [ 11.400007][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 11.400008][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.400011][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 11.400012][ C0] default_idle+0x9/0x10 [ 11.400013][ C0] default_idle_call+0x6e/0xb0 [ 11.400014][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.400016][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 11.400017][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 11.400020][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.400022][ C0] do_idle+0xd8/0x190 [ 11.400023][ C0] cpu_startup_entry+0x53/0x70 [ 11.400025][ C0] rest_init+0x279/0x280 [ 11.400026][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 11.400029][ C0] ? rest_init+0x280/0x280 [ 11.400030][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 11.400033][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 11.400035][ C0] ? acpi_enable+0x1e4/0x330 [ 11.400038][ C0] start_kernel+0x3af/0x3b0 [ 11.400040][ C0] x86_64_start_reservations+0x24/0x30 [ 11.400042][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.400044][ C0] common_startup_64+0x13e/0x148 [ 11.400047][ C0] [ 11.400051][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.400052][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 11.400053][ C0] preempt_count: 103, expected: 0 [ 11.400054][ C0] RCU nest depth: 0, expected: 0 [ 11.400055][ C0] INFO: lockdep is turned off. [ 11.400055][ C0] irq event stamp: 329875 [ 11.400056][ C0] hardirqs last enabled at (329874): [] __down_trylock_console_sem+0x86/0xa0 [ 11.400058][ C0] hardirqs last disabled at (329875): [] console_emit_next_record+0x3d4/0x4c0 [ 11.400060][ C0] softirqs last enabled at (329854): [] handle_softirqs+0x67c/0x900 [ 11.400061][ C0] softirqs last disabled at (329861): [] __irq_exit_rcu+0x145/0x1c0 [ 11.400063][ C0] Preemption disabled at: [ 11.400064][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 11.400066][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.400068][ C0] Tainted: [W]=WARN [ 11.400069][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.400070][ C0] Call Trace: [ 11.400070][ C0] [ 11.400071][ C0] dump_stack_lvl+0x6f/0xa0 [ 11.400073][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 11.400075][ C0] __might_resched.cold+0x1fe/0x2c1 [ 11.400077][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.400080][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.400082][ C0] __kmalloc_noprof+0x443/0x760 [ 11.400084][ C0] ? __rwlock_init+0x150/0x150 [ 11.400085][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 11.400087][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 11.400089][ C0] alloc_buf.isra.0+0x4b/0x260 [ 11.400091][ C0] put_chars+0x1e1/0x2f0 [ 11.400093][ C0] ? __send_to_port+0x420/0x420 [ 11.400095][ C0] ? mark_lock+0x1d7/0xa00 [ 11.400097][ C0] hvc_console_print+0x292/0x780 [ 11.400099][ C0] ? hvc_write+0x3a0/0x3a0 [ 11.400101][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.400102][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.400105][ C0] console_emit_next_record+0x22f/0x4c0 [ 11.400107][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 11.400108][ C0] ? console_flush_one_record+0x106/0x710 [ 11.400110][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.400112][ C0] ? lock_acquire+0x13c/0x160 [ 11.400114][ C0] console_flush_one_record+0x46f/0x710 [ 11.400116][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 11.400118][ C0] ? __lock_acquire+0x518/0xc20 [ 11.400120][ C0] console_unlock+0xee/0x1f0 [ 11.400122][ C0] ? console_flush_one_record+0x710/0x710 [ 11.400123][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.400125][ C0] ? lock_acquire+0x60/0x160 [ 11.400127][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.400128][ C0] ? vprintk_emit+0x320/0x3e0 [ 11.400130][ C0] vprintk_emit+0x37c/0x3e0 [ 11.400132][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 11.400135][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.400136][ C0] _printk+0xc7/0x100 [ 11.400138][ C0] ? snapshot_read.cold+0x21/0x21 [ 11.400140][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.400141][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.400143][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.400145][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.400146][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.400148][ C0] call_timer_fn+0x160/0x4d0 [ 11.400150][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 11.400151][ C0] ? debug_object_active_state+0x430/0x430 [ 11.400153][ C0] ? find_held_lock+0x2b/0x80 [ 11.400155][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.400157][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.400159][ C0] __run_timers+0x68f/0xaa0 [ 11.400160][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.400163][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 11.400164][ C0] ? __lock_acquire+0x518/0xc20 [ 11.400167][ C0] ? __rwlock_init+0x150/0x150 [ 11.400169][ C0] run_timer_softirq+0xf0/0x160 [ 11.400171][ C0] ? __run_timers+0xaa0/0xaa0 [ 11.400172][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.400174][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.400175][ C0] handle_softirqs+0x1d3/0x900 [ 11.400177][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.400179][ C0] ? _local_bh_enable+0xc0/0xc0 [ 11.400181][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.400182][ C0] irq_exit_rcu+0xe/0x30 [ 11.400183][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.400185][ C0] [ 11.400185][ C0] [ 11.400186][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 11.400187][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.400189][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 11.400190][ C0] Code: 48 8b 3d 94 02 06 02 e8 1f 00 00 00 48 2b 05 58 03 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 a6 17 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 11.400191][ C0] RSP: 0018:ffffffffbbc07cf8 EFLAGS: 00000296 [ 11.400192][ C0] RAX: 0000000000050883 RBX: ffffffffbbc2c600 RCX: ffffffffb8afa307 [ 11.400193][ C0] RDX: ffffffffbbc2c600 RSI: ffffffffbba78e7e RDI: ffffffffbb48dce0 [ 11.400193][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 11.400194][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff7780fa2 [ 11.400195][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 11.400196][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.400198][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 11.400199][ C0] default_idle+0x9/0x10 [ 11.400201][ C0] default_idle_call+0x6e/0xb0 [ 11.400202][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.400203][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 11.400205][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 11.400206][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.400208][ C0] do_idle+0xd8/0x190 [ 11.400210][ C0] cpu_startup_entry+0x53/0x70 [ 11.400211][ C0] rest_init+0x279/0x280 [ 11.400213][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 11.400215][ C0] ? rest_init+0x280/0x280 [ 11.400216][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 11.400218][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 11.400220][ C0] ? acpi_enable+0x1e4/0x330 [ 11.400222][ C0] start_kernel+0x3af/0x3b0 [ 11.400224][ C0] x86_64_start_reservations+0x24/0x30 [ 11.400225][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.400227][ C0] common_startup_64+0x13e/0x148 [ 11.400230][ C0] [ 12.123329][ T239] RDS: shutdown called in state 3