[ 10.835287][ T194] ip (194) used greatest stack depth: 24112 bytes left [ 10.835305][ T194] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.835307][ T194] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 194, name: ip [ 10.835309][ T194] preempt_count: 2, expected: 0 [ 10.835310][ T194] RCU nest depth: 0, expected: 0 [ 10.835311][ T194] locks held by ip/194: 5, last CPU#0: [ 10.835314][ T194] #0: ffffffff950127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.835325][ T194] #1: ffffffff95179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.835331][ T194] #2: ffffffff95179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.835335][ T194] #3: ffffffff95099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.835339][ T194] #4: ffffffff95099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.835343][ T194] irq event stamp: 41482 [ 10.835344][ T194] hardirqs last enabled at (41481): [] __down_trylock_console_sem+0x86/0xa0 [ 10.835346][ T194] hardirqs last disabled at (41482): [] console_emit_next_record+0x3d4/0x4c0 [ 10.835349][ T194] softirqs last enabled at (41024): [] handle_softirqs+0x67c/0x900 [ 10.835351][ T194] softirqs last disabled at (41013): [] __irq_exit_rcu+0x145/0x1c0 [ 10.835353][ T194] Preemption disabled at: [ 10.835354][ T194] [<0000000000000000>] 0x0 [ 10.835361][ T194] CPU: 0 UID: 0 PID: 194 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.835364][ T194] Tainted: [W]=WARN [ 10.835365][ T194] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.835367][ T194] Call Trace: [ 10.835369][ T194] [ 10.835370][ T194] dump_stack_lvl+0x6f/0xa0 [ 10.835376][ T194] __might_resched.cold+0x1fe/0x2c1 [ 10.835381][ T194] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.835385][ T194] ? __kmalloc_noprof+0xdb/0x760 [ 10.835390][ T194] __kmalloc_noprof+0x443/0x760 [ 10.835394][ T194] ? alloc_buf.isra.0+0x4b/0x260 [ 10.835401][ T194] ? do_raw_spin_unlock+0x59/0x250 [ 10.835403][ T194] alloc_buf.isra.0+0x4b/0x260 [ 10.835407][ T194] put_chars+0x1e1/0x2f0 [ 10.835410][ T194] ? __send_to_port+0x420/0x420 [ 10.835412][ T194] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.835417][ T194] ? validate_chain+0x38b/0xc20 [ 10.835422][ T194] hvc_console_print+0x292/0x780 [ 10.835429][ T194] ? hvc_write+0x3a0/0x3a0 [ 10.835431][ T194] ? rcu_is_watching+0x16/0xd0 [ 10.835434][ T194] ? lock_acquire+0x13c/0x160 [ 10.835438][ T194] console_emit_next_record+0x22f/0x4c0 [ 10.835442][ T194] ? devkmsg_read+0x4b0/0x4b0 [ 10.835444][ T194] ? console_flush_one_record+0x106/0x710 [ 10.835447][ T194] ? rcu_is_watching+0x16/0xd0 [ 10.835450][ T194] ? lock_acquire+0x13c/0x160 [ 10.835453][ T194] console_flush_one_record+0x46f/0x710 [ 10.835458][ T194] ? console_emit_next_record+0x4c0/0x4c0 [ 10.835460][ T194] ? __lock_acquire+0x518/0xc20 [ 10.835465][ T194] console_unlock+0xee/0x1f0 [ 10.835468][ T194] ? console_flush_one_record+0x710/0x710 [ 10.835470][ T194] ? rcu_is_watching+0x16/0xd0 [ 10.835478][ T194] ? lock_acquire+0x60/0x160 [ 10.835481][ T194] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.835483][ T194] ? vprintk_emit+0x320/0x3e0 [ 10.835487][ T194] vprintk_emit+0x37c/0x3e0 [ 10.835490][ T194] ? wake_up_klogd_work_func+0x90/0x90 [ 10.835494][ T194] ? __lock_acquire+0x518/0xc20 [ 10.835498][ T194] _printk+0xc7/0x100 [ 10.835501][ T194] ? snapshot_read.cold+0x21/0x21 [ 10.835504][ T194] ? do_raw_spin_lock+0x131/0x280 [ 10.835507][ T194] ? __rwlock_init+0x150/0x150 [ 10.835511][ T194] ? do_raw_spin_lock+0x131/0x280 [ 10.835514][ T194] do_exit.cold+0x82/0x9c [ 10.835518][ T194] ? exit_notify+0x890/0x890 [ 10.835519][ T194] ? __lock_release.isra.0+0x69/0x1a0 [ 10.835522][ T194] ? rcu_is_watching+0x16/0xd0 [ 10.835526][ T194] do_group_exit+0xb8/0x370 [ 10.835529][ T194] __x64_sys_exit_group+0x3c/0x50 [ 10.835531][ T194] x64_sys_call+0x1567/0x1570 [ 10.835534][ T194] do_syscall_64+0xff/0x530 [ 10.835538][ T194] ? exc_page_fault+0xee/0x100 [ 10.835540][ T194] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.835543][ T194] RIP: 0033:0x7fdcca43d1b8 [ 10.835545][ T194] Code: Unable to access opcode bytes at 0x7fdcca43d18e. [ 10.835547][ T194] RSP: 002b:00007ffcbac1b238 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.835549][ T194] RAX: ffffffffffffffda RBX: 00007fdcca56df88 RCX: 00007fdcca43d1b8 [ 10.835551][ T194] RDX: 00007fdcca187fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.835552][ T194] RBP: 00007ffcbac1b290 R08: 0000000000000000 R09: 0000000000008010 [ 10.835553][ T194] R10: 00007ffcbac1b050 R11: 0000000000000246 R12: 0000000000000001 [ 10.835554][ T194] R13: 0000000000000000 R14: 00007fdcca56c680 R15: 00007fdcca56dfa0 [ 10.835561][ T194] [ 11.891536][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 11.892064][ C0] [ 11.892066][ C0] ======================================================== [ 11.892067][ C0] WARNING: possible irq lock inversion dependency detected [ 11.892069][ C0] 7.2.0-virtme #1 Tainted: G W [ 11.892071][ C0] -------------------------------------------------------- [ 11.892071][ C0] swapper/0/0 just changed the state of lock: [ 11.892073][ C0] ffffffff95099660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.892085][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 11.892087][ C0] (fs_reclaim){+.+.}-{0:0} [ 11.892088][ C0] [ 11.892088][ C0] [ 11.892088][ C0] and interrupts could create inverse lock ordering between them. [ 11.892088][ C0] [ 11.892089][ C0] [ 11.892089][ C0] other info that might help us debug this: [ 11.892089][ C0] Possible interrupt unsafe locking scenario: [ 11.892089][ C0] [ 11.892090][ C0] CPU0 CPU1 [ 11.892090][ C0] ---- ---- [ 11.892091][ C0] lock(fs_reclaim); [ 11.892092][ C0] local_irq_disable(); [ 11.892093][ C0] lock(console_owner); [ 11.892094][ C0] lock(fs_reclaim); [ 11.892095][ C0] [ 11.892095][ C0] lock(console_owner); [ 11.892096][ C0] [ 11.892096][ C0] *** DEADLOCK *** [ 11.892096][ C0] [ 11.892097][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 11.892098][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 11.892104][ C0] #1: ffffffff951de8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 11.892109][ C0] #2: ffffffff95179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.892113][ C0] #3: ffffffff95179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.892117][ C0] [ 11.892117][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 11.892122][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 11.892124][ C0] HARDIRQ-ON-W at: [ 11.892126][ C0] __lock_acquire+0x388/0xc20 [ 11.892129][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.892130][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.892133][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 11.892135][ C0] kthread_create_worker_on_node+0xea/0x210 [ 11.892138][ C0] workqueue_init+0x2a/0x680 [ 11.892141][ C0] kernel_init_freeable+0x2fe/0x630 [ 11.892144][ C0] kernel_init+0x21/0x150 [ 11.892147][ C0] ret_from_fork+0x474/0x6b0 [ 11.892150][ C0] ret_from_fork_asm+0x11/0x20 [ 11.892153][ C0] SOFTIRQ-ON-W at: [ 11.892154][ C0] __lock_acquire+0x388/0xc20 [ 11.892156][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.892157][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.892158][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 11.892160][ C0] kthread_create_worker_on_node+0xea/0x210 [ 11.892161][ C0] workqueue_init+0x2a/0x680 [ 11.892163][ C0] kernel_init_freeable+0x2fe/0x630 [ 11.892164][ C0] kernel_init+0x21/0x150 [ 11.892166][ C0] ret_from_fork+0x474/0x6b0 [ 11.892167][ C0] ret_from_fork_asm+0x11/0x20 [ 11.892168][ C0] INITIAL USE at: [ 11.892169][ C0] __lock_acquire+0x388/0xc20 [ 11.892171][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.892172][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.892173][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 11.892175][ C0] kthread_create_worker_on_node+0xea/0x210 [ 11.892176][ C0] workqueue_init+0x2a/0x680 [ 11.892177][ C0] kernel_init_freeable+0x2fe/0x630 [ 11.892179][ C0] kernel_init+0x21/0x150 [ 11.892180][ C0] ret_from_fork+0x474/0x6b0 [ 11.892181][ C0] ret_from_fork_asm+0x11/0x20 [ 11.892182][ C0] } [ 11.892183][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 11.892187][ C0] ... acquired at: [ 11.892188][ C0] __lock_acquire+0x518/0xc20 [ 11.892189][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.892190][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.892191][ C0] __kmalloc_noprof+0xd3/0x760 [ 11.892193][ C0] alloc_buf.isra.0+0x4b/0x260 [ 11.892196][ C0] put_chars+0x1e1/0x2f0 [ 11.892198][ C0] hvc_console_print+0x292/0x780 [ 11.892200][ C0] console_emit_next_record+0x22f/0x4c0 [ 11.892202][ C0] console_flush_one_record+0x46f/0x710 [ 11.892203][ C0] console_unlock+0xee/0x1f0 [ 11.892205][ C0] vprintk_emit+0x37c/0x3e0 [ 11.892207][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 11.892210][ C0] dev_printk_emit+0xb9/0xee [ 11.892211][ C0] _dev_info+0xe2/0x116 [ 11.892213][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 11.892216][ C0] cmos_do_probe+0x73b/0x98a [ 11.892217][ C0] platform_probe+0xfe/0x1f0 [ 11.892220][ C0] call_driver_probe+0x61/0x1c0 [ 11.892222][ C0] really_probe+0x199/0x760 [ 11.892224][ C0] __driver_probe_device+0x24f/0x440 [ 11.892225][ C0] driver_probe_device+0x4a/0xf0 [ 11.892227][ C0] __driver_attach+0x1b8/0x540 [ 11.892229][ C0] bus_for_each_dev+0x130/0x1e0 [ 11.892230][ C0] bus_add_driver+0x2c8/0x530 [ 11.892231][ C0] driver_register+0x1a3/0x390 [ 11.892233][ C0] __platform_driver_probe+0x13f/0x270 [ 11.892234][ C0] cmos_init+0x31/0x40 [ 11.892237][ C0] do_one_initcall+0x124/0x4f0 [ 11.892239][ C0] kernel_init_freeable+0x596/0x630 [ 11.892241][ C0] kernel_init+0x21/0x150 [ 11.892242][ C0] ret_from_fork+0x474/0x6b0 [ 11.892243][ C0] ret_from_fork_asm+0x11/0x20 [ 11.892244][ C0] [ 11.892245][ C0] -> (console_owner){..-.}-{0:0} { [ 11.892247][ C0] IN-SOFTIRQ-W at: [ 11.892247][ C0] __lock_acquire+0x388/0xc20 [ 11.892249][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.892250][ C0] console_lock_spinning_enable+0x5c/0x60 [ 11.892252][ C0] console_emit_next_record+0x1d1/0x4c0 [ 11.892254][ C0] console_flush_one_record+0x46f/0x710 [ 11.892255][ C0] console_unlock+0xee/0x1f0 [ 11.892257][ C0] vprintk_emit+0x37c/0x3e0 [ 11.892258][ C0] _printk+0xc7/0x100 [ 11.892261][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.892264][ C0] call_timer_fn+0x160/0x4d0 [ 11.892265][ C0] __run_timers+0x68f/0xaa0 [ 11.892267][ C0] run_timer_softirq+0xf0/0x160 [ 11.892269][ C0] handle_softirqs+0x1d3/0x900 [ 11.892271][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.892272][ C0] irq_exit_rcu+0xe/0x30 [ 11.892274][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.892276][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.892277][ C0] pv_native_safe_halt+0xf/0x10 [ 11.892279][ C0] default_idle+0x9/0x10 [ 11.892280][ C0] default_idle_call+0x6e/0xb0 [ 11.892281][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.892283][ C0] do_idle+0xd8/0x190 [ 11.892284][ C0] cpu_startup_entry+0x53/0x70 [ 11.892286][ C0] rest_init+0x279/0x280 [ 11.892287][ C0] start_kernel+0x3af/0x3b0 [ 11.892289][ C0] x86_64_start_reservations+0x24/0x30 [ 11.892291][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.892292][ C0] common_startup_64+0x13e/0x148 [ 11.892295][ C0] INITIAL USE at: [ 11.892295][ C0] } [ 11.892296][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 11.892299][ C0] ... acquired at: [ 11.892300][ C0] mark_lock+0x1d7/0xa00 [ 11.892301][ C0] mark_usage+0x42/0x170 [ 11.892302][ C0] __lock_acquire+0x388/0xc20 [ 11.892304][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.892305][ C0] console_lock_spinning_enable+0x5c/0x60 [ 11.892307][ C0] console_emit_next_record+0x1d1/0x4c0 [ 11.892308][ C0] console_flush_one_record+0x46f/0x710 [ 11.892310][ C0] console_unlock+0xee/0x1f0 [ 11.892311][ C0] vprintk_emit+0x37c/0x3e0 [ 11.892313][ C0] _printk+0xc7/0x100 [ 11.892314][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.892315][ C0] call_timer_fn+0x160/0x4d0 [ 11.892317][ C0] __run_timers+0x68f/0xaa0 [ 11.892318][ C0] run_timer_softirq+0xf0/0x160 [ 11.892320][ C0] handle_softirqs+0x1d3/0x900 [ 11.892321][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.892322][ C0] irq_exit_rcu+0xe/0x30 [ 11.892324][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.892325][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.892326][ C0] pv_native_safe_halt+0xf/0x10 [ 11.892327][ C0] default_idle+0x9/0x10 [ 11.892328][ C0] default_idle_call+0x6e/0xb0 [ 11.892329][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.892330][ C0] do_idle+0xd8/0x190 [ 11.892332][ C0] cpu_startup_entry+0x53/0x70 [ 11.892333][ C0] rest_init+0x279/0x280 [ 11.892334][ C0] start_kernel+0x3af/0x3b0 [ 11.892336][ C0] x86_64_start_reservations+0x24/0x30 [ 11.892337][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.892339][ C0] common_startup_64+0x13e/0x148 [ 11.892340][ C0] [ 11.892340][ C0] [ 11.892340][ C0] stack backtrace: [ 11.892343][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.892346][ C0] Tainted: [W]=WARN [ 11.892347][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.892349][ C0] Call Trace: [ 11.892350][ C0] [ 11.892352][ C0] dump_stack_lvl+0x6f/0xa0 [ 11.892356][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 11.892358][ C0] mark_lock_irq+0x989/0x9c0 [ 11.892360][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 11.892363][ C0] mark_lock+0x1d7/0xa00 [ 11.892364][ C0] mark_usage+0x42/0x170 [ 11.892366][ C0] __lock_acquire+0x388/0xc20 [ 11.892368][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.892370][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 11.892372][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892375][ C0] ? lock_acquire+0x13c/0x160 [ 11.892377][ C0] console_lock_spinning_enable+0x5c/0x60 [ 11.892379][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 11.892381][ C0] console_emit_next_record+0x1d1/0x4c0 [ 11.892383][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 11.892385][ C0] ? console_flush_one_record+0x106/0x710 [ 11.892387][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892389][ C0] ? lock_acquire+0x13c/0x160 [ 11.892394][ C0] console_flush_one_record+0x46f/0x710 [ 11.892397][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 11.892399][ C0] ? __lock_acquire+0x518/0xc20 [ 11.892401][ C0] console_unlock+0xee/0x1f0 [ 11.892403][ C0] ? console_flush_one_record+0x710/0x710 [ 11.892405][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892406][ C0] ? lock_acquire+0x60/0x160 [ 11.892408][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.892410][ C0] ? vprintk_emit+0x320/0x3e0 [ 11.892412][ C0] vprintk_emit+0x37c/0x3e0 [ 11.892414][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 11.892417][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.892419][ C0] _printk+0xc7/0x100 [ 11.892421][ C0] ? snapshot_read.cold+0x21/0x21 [ 11.892423][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.892424][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.892427][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.892428][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.892430][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.892432][ C0] call_timer_fn+0x160/0x4d0 [ 11.892434][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 11.892435][ C0] ? debug_object_active_state+0x430/0x430 [ 11.892439][ C0] ? find_held_lock+0x2b/0x80 [ 11.892441][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.892443][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892445][ C0] __run_timers+0x68f/0xaa0 [ 11.892447][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.892449][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 11.892451][ C0] ? __lock_acquire+0x518/0xc20 [ 11.892454][ C0] ? __rwlock_init+0x150/0x150 [ 11.892457][ C0] run_timer_softirq+0xf0/0x160 [ 11.892459][ C0] ? __run_timers+0xaa0/0xaa0 [ 11.892460][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.892463][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892464][ C0] handle_softirqs+0x1d3/0x900 [ 11.892466][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.892468][ C0] ? _local_bh_enable+0xc0/0xc0 [ 11.892470][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.892472][ C0] irq_exit_rcu+0xe/0x30 [ 11.892476][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.892477][ C0] [ 11.892478][ C0] [ 11.892478][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 11.892480][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.892482][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 11.892484][ C0] Code: 48 8b 3d 94 12 06 02 e8 1f 00 00 00 48 2b 05 58 13 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 b6 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.892486][ C0] RSP: 0018:ffffffff94e07cf8 EFLAGS: 00000296 [ 11.892488][ C0] RAX: 00000000000655e3 RBX: ffffffff94e2c600 RCX: ffffffff91cfa307 [ 11.892490][ C0] RDX: ffffffff94e2c600 RSI: ffffffff94c78e7e RDI: ffffffff9468dce0 [ 11.892490][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 11.892491][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff29c0fa2 [ 11.892492][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 11.892494][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.892496][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 11.892497][ C0] default_idle+0x9/0x10 [ 11.892499][ C0] default_idle_call+0x6e/0xb0 [ 11.892500][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.892502][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 11.892504][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 11.892506][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892508][ C0] do_idle+0xd8/0x190 [ 11.892510][ C0] cpu_startup_entry+0x53/0x70 [ 11.892511][ C0] rest_init+0x279/0x280 [ 11.892513][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 11.892515][ C0] ? rest_init+0x280/0x280 [ 11.892517][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 11.892520][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 11.892522][ C0] ? acpi_enable+0x1e4/0x330 [ 11.892525][ C0] start_kernel+0x3af/0x3b0 [ 11.892527][ C0] x86_64_start_reservations+0x24/0x30 [ 11.892529][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.892531][ C0] common_startup_64+0x13e/0x148 [ 11.892534][ C0] [ 11.892539][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.892540][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 11.892542][ C0] preempt_count: 103, expected: 0 [ 11.892542][ C0] RCU nest depth: 0, expected: 0 [ 11.892543][ C0] INFO: lockdep is turned off. [ 11.892544][ C0] irq event stamp: 415219 [ 11.892544][ C0] hardirqs last enabled at (415218): [] __down_trylock_console_sem+0x86/0xa0 [ 11.892547][ C0] hardirqs last disabled at (415219): [] console_emit_next_record+0x3d4/0x4c0 [ 11.892548][ C0] softirqs last enabled at (415198): [] handle_softirqs+0x67c/0x900 [ 11.892550][ C0] softirqs last disabled at (415205): [] __irq_exit_rcu+0x145/0x1c0 [ 11.892552][ C0] Preemption disabled at: [ 11.892552][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 11.892555][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.892557][ C0] Tainted: [W]=WARN [ 11.892558][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.892559][ C0] Call Trace: [ 11.892559][ C0] [ 11.892560][ C0] dump_stack_lvl+0x6f/0xa0 [ 11.892562][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 11.892564][ C0] __might_resched.cold+0x1fe/0x2c1 [ 11.892567][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.892570][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892572][ C0] __kmalloc_noprof+0x443/0x760 [ 11.892574][ C0] ? __rwlock_init+0x150/0x150 [ 11.892576][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 11.892578][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 11.892579][ C0] alloc_buf.isra.0+0x4b/0x260 [ 11.892582][ C0] put_chars+0x1e1/0x2f0 [ 11.892584][ C0] ? __send_to_port+0x420/0x420 [ 11.892586][ C0] ? mark_lock+0x1d7/0xa00 [ 11.892588][ C0] hvc_console_print+0x292/0x780 [ 11.892591][ C0] ? hvc_write+0x3a0/0x3a0 [ 11.892592][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892594][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892596][ C0] console_emit_next_record+0x22f/0x4c0 [ 11.892599][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 11.892600][ C0] ? console_flush_one_record+0x106/0x710 [ 11.892602][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892604][ C0] ? lock_acquire+0x13c/0x160 [ 11.892606][ C0] console_flush_one_record+0x46f/0x710 [ 11.892609][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 11.892610][ C0] ? __lock_acquire+0x518/0xc20 [ 11.892613][ C0] console_unlock+0xee/0x1f0 [ 11.892615][ C0] ? console_flush_one_record+0x710/0x710 [ 11.892616][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892618][ C0] ? lock_acquire+0x60/0x160 [ 11.892620][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.892622][ C0] ? vprintk_emit+0x320/0x3e0 [ 11.892624][ C0] vprintk_emit+0x37c/0x3e0 [ 11.892626][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 11.892628][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.892630][ C0] _printk+0xc7/0x100 [ 11.892632][ C0] ? snapshot_read.cold+0x21/0x21 [ 11.892634][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.892636][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.892638][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.892639][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.892641][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.892643][ C0] call_timer_fn+0x160/0x4d0 [ 11.892645][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 11.892647][ C0] ? debug_object_active_state+0x430/0x430 [ 11.892649][ C0] ? find_held_lock+0x2b/0x80 [ 11.892650][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.892652][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892654][ C0] __run_timers+0x68f/0xaa0 [ 11.892656][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.892658][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 11.892660][ C0] ? __lock_acquire+0x518/0xc20 [ 11.892663][ C0] ? __rwlock_init+0x150/0x150 [ 11.892665][ C0] run_timer_softirq+0xf0/0x160 [ 11.892667][ C0] ? __run_timers+0xaa0/0xaa0 [ 11.892669][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.892670][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892672][ C0] handle_softirqs+0x1d3/0x900 [ 11.892674][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.892676][ C0] ? _local_bh_enable+0xc0/0xc0 [ 11.892678][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.892679][ C0] irq_exit_rcu+0xe/0x30 [ 11.892681][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.892682][ C0] [ 11.892682][ C0] [ 11.892683][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 11.892685][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.892686][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 11.892688][ C0] Code: 48 8b 3d 94 12 06 02 e8 1f 00 00 00 48 2b 05 58 13 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 b6 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.892689][ C0] RSP: 0018:ffffffff94e07cf8 EFLAGS: 00000296 [ 11.892690][ C0] RAX: 00000000000655e3 RBX: ffffffff94e2c600 RCX: ffffffff91cfa307 [ 11.892691][ C0] RDX: ffffffff94e2c600 RSI: ffffffff94c78e7e RDI: ffffffff9468dce0 [ 11.892691][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 11.892692][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff29c0fa2 [ 11.892693][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 11.892694][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.892697][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 11.892698][ C0] default_idle+0x9/0x10 [ 11.892699][ C0] default_idle_call+0x6e/0xb0 [ 11.892701][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.892702][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 11.892704][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 11.892705][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.892707][ C0] do_idle+0xd8/0x190 [ 11.892709][ C0] cpu_startup_entry+0x53/0x70 [ 11.892710][ C0] rest_init+0x279/0x280 [ 11.892712][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 11.892714][ C0] ? rest_init+0x280/0x280 [ 11.892716][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 11.892718][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 11.892720][ C0] ? acpi_enable+0x1e4/0x330 [ 11.892722][ C0] start_kernel+0x3af/0x3b0 [ 11.892724][ C0] x86_64_start_reservations+0x24/0x30 [ 11.892726][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.892728][ C0] common_startup_64+0x13e/0x148 [ 11.892731][ C0] [ 12.956631][ T231] RDS: shutdown called in state 1 [ 12.956645][ T231] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.956648][ T231] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 231, name: kworker/u16:2 [ 12.956650][ T231] preempt_count: 1, expected: 0 [ 12.956651][ T231] RCU nest depth: 0, expected: 0 [ 12.956652][ T231] INFO: lockdep is turned off. [ 12.956653][ T231] irq event stamp: 1892 [ 12.956653][ T231] hardirqs last enabled at (1891): [] _raw_spin_unlock_irq+0x28/0x50 [ 12.956662][ T231] hardirqs last disabled at (1892): [] __schedule+0x1246/0x20e0 [ 12.956665][ T231] softirqs last enabled at (1888): [] rds_tcp_recv_path+0xb7/0xf0 [ 12.956668][ T231] softirqs last disabled at (1886): [] release_sock+0x21/0x240 [ 12.956672][ T231] Preemption disabled at: [ 12.956673][ T231] [] vprintk_emit+0x31b/0x3e0 [ 12.956681][ T231] CPU: 1 UID: 0 PID: 231 Comm: kworker/u16:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.956684][ T231] Tainted: [W]=WARN [ 12.956685][ T231] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.956687][ T231] Workqueue: krds_cp_wq#1/1 rds_shutdown_worker [ 12.956692][ T231] Call Trace: [ 12.956693][ T231] [ 12.956695][ T231] dump_stack_lvl+0x6f/0xa0 [ 12.956700][ T231] ? vprintk_emit+0x31b/0x3e0 [ 12.956702][ T231] __might_resched.cold+0x1fe/0x2c1 [ 12.956705][ T231] ? lock_acquire+0x13c/0x160 [ 12.956708][ T231] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.956711][ T231] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 12.956713][ T231] ? rcu_is_watching+0x16/0xd0 [ 12.956717][ T231] __kmalloc_noprof+0x443/0x760 [ 12.956720][ T231] ? __rwlock_init+0x150/0x150 [ 12.956722][ T231] ? alloc_buf.isra.0+0x4b/0x260 [ 12.956726][ T231] ? do_raw_spin_unlock+0x59/0x250 [ 12.956728][ T231] alloc_buf.isra.0+0x4b/0x260 [ 12.956730][ T231] put_chars+0x1e1/0x2f0 [ 12.956732][ T231] ? prb_final_commit+0x50/0x50 [ 12.956733][ T231] ? __send_to_port+0x420/0x420 [ 12.956735][ T231] ? printk_get_next_message+0x240/0x650 [ 12.956738][ T231] hvc_console_print+0x292/0x780 [ 12.956742][ T231] ? hvc_write+0x3a0/0x3a0 [ 12.956744][ T231] ? do_raw_spin_lock+0x131/0x280 [ 12.956745][ T231] ? vsnprintf+0x668/0x1700 [ 12.956747][ T231] ? __rwlock_init+0x150/0x150 [ 12.956749][ T231] ? rcu_is_watching+0x16/0xd0 [ 12.956751][ T231] ? lock_acquire+0x13c/0x160 [ 12.956753][ T231] console_emit_next_record+0x22f/0x4c0 [ 12.956755][ T231] ? devkmsg_read+0x4b0/0x4b0 [ 12.956757][ T231] ? rcu_is_watching+0x16/0xd0 [ 12.956759][ T231] ? rcu_is_watching+0x16/0xd0 [ 12.956760][ T231] ? rcu_is_watching+0x16/0xd0 [ 12.956762][ T231] ? lock_acquire+0x13c/0x160 [ 12.956764][ T231] ? console_flush_one_record+0x111/0x710 [ 12.956766][ T231] console_flush_one_record+0x46f/0x710 [ 12.956768][ T231] ? console_emit_next_record+0x4c0/0x4c0 [ 12.956771][ T231] console_unlock+0xee/0x1f0 [ 12.956773][ T231] ? lock_acquire+0x13c/0x160 [ 12.956774][ T231] ? console_flush_one_record+0x710/0x710 [ 12.956776][ T231] ? rcu_is_watching+0x16/0xd0 [ 12.956777][ T231] ? lock_release+0x184/0x1f0 [ 12.956779][ T231] ? lock_acquire+0x60/0x160 [ 12.956781][ T231] ? __rcu_read_lock+0x30/0x70 [ 12.956783][ T231] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.956785][ T231] ? vprintk_emit+0x320/0x3e0 [ 12.956787][ T231] vprintk_emit+0x37c/0x3e0 [ 12.956789][ T231] ? wake_up_klogd_work_func+0x90/0x90 [ 12.956791][ T231] ? ww_mutex_lock+0x160/0x160 [ 12.956793][ T231] ? do_raw_spin_lock+0x131/0x280 [ 12.956795][ T231] __rds_conn_path_error+0xbd/0x100 [ 12.956797][ T231] ? rds_check_all_paths+0xb0/0xb0 [ 12.956799][ T231] ? lock_acquire+0x13c/0x160 [ 12.956801][ T231] ? rcu_is_watching+0x16/0xd0 [ 12.956803][ T231] ? rds_conn_shutdown+0x652/0xa20 [ 12.956804][ T231] rds_conn_shutdown+0x695/0xa20 [ 12.956806][ T231] ? __rds_conn_path_error+0x100/0x100 [ 12.956807][ T231] ? debug_object_active_state+0x430/0x430 [ 12.956811][ T231] ? rcu_is_watching+0x16/0xd0 [ 12.956813][ T231] ? rcu_is_watching+0x16/0xd0 [ 12.956815][ T231] ? lock_acquire+0x13c/0x160 [ 12.956816][ T231] ? rcu_is_watching+0x16/0xd0 [ 12.956818][ T231] ? process_one_work+0xdfc/0x1560 [ 12.956821][ T231] process_one_work+0xe3e/0x1560 [ 12.956824][ T231] ? __queue_delayed_work+0x470/0x470 [ 12.956826][ T231] ? find_held_lock+0x2b/0x80 [ 12.956827][ T231] ? __rwlock_init+0x150/0x150 [ 12.956830][ T231] worker_thread+0x4f1/0xd60 [ 12.956833][ T231] ? rescuer_thread+0x1340/0x1340 [ 12.956834][ T231] kthread+0x367/0x460 [ 12.956837][ T231] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.956840][ T231] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.956841][ T231] ret_from_fork+0x474/0x6b0 [ 12.956845][ T231] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 12.956846][ T231] ? __switch_to+0x5a3/0xe00 [ 12.956849][ T231] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.956851][ T231] ret_from_fork_asm+0x11/0x20 [ 12.956855][ T231]