[ 10.252206][ T174] ip (174) used greatest stack depth: 24832 bytes left [ 10.252225][ T174] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.252227][ T174] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 174, name: ip [ 10.252228][ T174] preempt_count: 2, expected: 0 [ 10.252229][ T174] RCU nest depth: 0, expected: 0 [ 10.252230][ T174] locks held by ip/174: 5, last CPU#3: [ 10.252233][ T174] #0: ffffffff8b8267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.252245][ T174] #1: ffffffff8b98dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.252250][ T174] #2: ffffffff8b98dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.252255][ T174] #3: ffffffff8b8ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.252258][ T174] #4: ffffffff8b8ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.252262][ T174] irq event stamp: 23536 [ 10.252263][ T174] hardirqs last enabled at (23535): [] __down_trylock_console_sem+0x86/0xa0 [ 10.252265][ T174] hardirqs last disabled at (23536): [] console_emit_next_record+0x3d4/0x4c0 [ 10.252267][ T174] softirqs last enabled at (18480): [] handle_softirqs+0x67c/0x900 [ 10.252269][ T174] softirqs last disabled at (18473): [] __irq_exit_rcu+0x145/0x1c0 [ 10.252271][ T174] Preemption disabled at: [ 10.252272][ T174] [<0000000000000000>] 0x0 [ 10.252279][ T174] CPU: 3 UID: 0 PID: 174 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.252282][ T174] Tainted: [W]=WARN [ 10.252283][ T174] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.252285][ T174] Call Trace: [ 10.252286][ T174] [ 10.252288][ T174] dump_stack_lvl+0x6f/0xa0 [ 10.252294][ T174] __might_resched.cold+0x1fe/0x2c1 [ 10.252299][ T174] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.252303][ T174] ? __kmalloc_noprof+0xdb/0x760 [ 10.252307][ T174] __kmalloc_noprof+0x443/0x760 [ 10.252309][ T174] ? alloc_buf.isra.0+0x4b/0x260 [ 10.252316][ T174] ? do_raw_spin_unlock+0x59/0x250 [ 10.252318][ T174] alloc_buf.isra.0+0x4b/0x260 [ 10.252322][ T174] put_chars+0x1e1/0x2f0 [ 10.252325][ T174] ? __send_to_port+0x420/0x420 [ 10.252327][ T174] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.252332][ T174] ? validate_chain+0x38b/0xc20 [ 10.252337][ T174] hvc_console_print+0x292/0x780 [ 10.252344][ T174] ? hvc_write+0x3a0/0x3a0 [ 10.252347][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.252349][ T174] ? lock_acquire+0x13c/0x160 [ 10.252352][ T174] console_emit_next_record+0x22f/0x4c0 [ 10.252356][ T174] ? devkmsg_read+0x4b0/0x4b0 [ 10.252358][ T174] ? console_flush_one_record+0x106/0x710 [ 10.252361][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.252363][ T174] ? lock_acquire+0x13c/0x160 [ 10.252366][ T174] console_flush_one_record+0x46f/0x710 [ 10.252370][ T174] ? console_emit_next_record+0x4c0/0x4c0 [ 10.252372][ T174] ? __lock_acquire+0x518/0xc20 [ 10.252377][ T174] console_unlock+0xee/0x1f0 [ 10.252379][ T174] ? console_flush_one_record+0x710/0x710 [ 10.252381][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.252383][ T174] ? lock_acquire+0x60/0x160 [ 10.252386][ T174] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.252388][ T174] ? vprintk_emit+0x320/0x3e0 [ 10.252391][ T174] vprintk_emit+0x37c/0x3e0 [ 10.252394][ T174] ? wake_up_klogd_work_func+0x90/0x90 [ 10.252397][ T174] ? __lock_acquire+0x518/0xc20 [ 10.252401][ T174] _printk+0xc7/0x100 [ 10.252405][ T174] ? snapshot_read.cold+0x21/0x21 [ 10.252407][ T174] ? do_raw_spin_lock+0x131/0x280 [ 10.252410][ T174] ? __rwlock_init+0x150/0x150 [ 10.252413][ T174] ? do_raw_spin_lock+0x131/0x280 [ 10.252416][ T174] do_exit.cold+0x82/0x9c [ 10.252419][ T174] ? exit_notify+0x890/0x890 [ 10.252421][ T174] ? __lock_release.isra.0+0x69/0x1a0 [ 10.252424][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.252428][ T174] do_group_exit+0xb8/0x370 [ 10.252431][ T174] __x64_sys_exit_group+0x3c/0x50 [ 10.252433][ T174] x64_sys_call+0x1567/0x1570 [ 10.252435][ T174] do_syscall_64+0xff/0x530 [ 10.252438][ T174] ? exc_page_fault+0xee/0x100 [ 10.252442][ T174] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.252444][ T174] RIP: 0033:0x7fb53f0c51b8 [ 10.252446][ T174] Code: Unable to access opcode bytes at 0x7fb53f0c518e. [ 10.252447][ T174] RSP: 002b:00007fffe68288f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.252450][ T174] RAX: ffffffffffffffda RBX: 00007fb53f1f5f88 RCX: 00007fb53f0c51b8 [ 10.252451][ T174] RDX: 00007fb53ee0ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.252452][ T174] RBP: 00007fffe6828950 R08: 0000000000000000 R09: 0000000000000000 [ 10.252453][ T174] R10: 00007fffe6828710 R11: 0000000000000246 R12: 0000000000000001 [ 10.252454][ T174] R13: 0000000000000000 R14: 00007fb53f1f4680 R15: 00007fb53f1f5fa0 [ 10.252460][ T174] [ 11.055892][ T196] ip (196) used greatest stack depth: 24656 bytes left [ 27.478648][ T701] pm_nl_ctl (701) used greatest stack depth: 23872 bytes left [ 27.478666][ T701] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.478668][ T701] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 701, name: pm_nl_ctl [ 27.478669][ T701] preempt_count: 2, expected: 0 [ 27.478670][ T701] RCU nest depth: 0, expected: 0 [ 27.478671][ T701] locks held by pm_nl_ctl/701: 5, last CPU#3: [ 27.478673][ T701] #0: ffffffff8b8267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 27.478686][ T701] #1: ffffffff8b98dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.478692][ T701] #2: ffffffff8b98dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.478695][ T701] #3: ffffffff8b8ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.478699][ T701] #4: ffffffff8b8ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 27.478703][ T701] irq event stamp: 33206 [ 27.478704][ T701] hardirqs last enabled at (33205): [] __down_trylock_console_sem+0x86/0xa0 [ 27.478706][ T701] hardirqs last disabled at (33206): [] console_emit_next_record+0x3d4/0x4c0 [ 27.478708][ T701] softirqs last enabled at (32748): [] handle_softirqs+0x67c/0x900 [ 27.478710][ T701] softirqs last disabled at (32655): [] __irq_exit_rcu+0x145/0x1c0 [ 27.478712][ T701] Preemption disabled at: [ 27.478712][ T701] [<0000000000000000>] 0x0 [ 27.478719][ T701] CPU: 3 UID: 0 PID: 701 Comm: pm_nl_ctl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.478722][ T701] Tainted: [W]=WARN [ 27.478723][ T701] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.478725][ T701] Call Trace: [ 27.478726][ T701] [ 27.478728][ T701] dump_stack_lvl+0x6f/0xa0 [ 27.478734][ T701] __might_resched.cold+0x1fe/0x2c1 [ 27.478739][ T701] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.478742][ T701] ? __kmalloc_noprof+0xdb/0x760 [ 27.478747][ T701] __kmalloc_noprof+0x443/0x760 [ 27.478749][ T701] ? alloc_buf.isra.0+0x4b/0x260 [ 27.478756][ T701] ? do_raw_spin_unlock+0x59/0x250 [ 27.478758][ T701] alloc_buf.isra.0+0x4b/0x260 [ 27.478762][ T701] put_chars+0x1e1/0x2f0 [ 27.478765][ T701] ? __send_to_port+0x420/0x420 [ 27.478767][ T701] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.478771][ T701] ? validate_chain+0x38b/0xc20 [ 27.478776][ T701] hvc_console_print+0x292/0x780 [ 27.478783][ T701] ? hvc_write+0x3a0/0x3a0 [ 27.478786][ T701] ? rcu_is_watching+0x16/0xd0 [ 27.478788][ T701] ? lock_acquire+0x13c/0x160 [ 27.478792][ T701] console_emit_next_record+0x22f/0x4c0 [ 27.478796][ T701] ? devkmsg_read+0x4b0/0x4b0 [ 27.478797][ T701] ? console_flush_one_record+0x106/0x710 [ 27.478800][ T701] ? rcu_is_watching+0x16/0xd0 [ 27.478802][ T701] ? lock_acquire+0x13c/0x160 [ 27.478806][ T701] console_flush_one_record+0x46f/0x710 [ 27.478810][ T701] ? console_emit_next_record+0x4c0/0x4c0 [ 27.478811][ T701] ? __lock_acquire+0x518/0xc20 [ 27.478816][ T701] console_unlock+0xee/0x1f0 [ 27.478819][ T701] ? console_flush_one_record+0x710/0x710 [ 27.478820][ T701] ? rcu_is_watching+0x16/0xd0 [ 27.478822][ T701] ? lock_acquire+0x60/0x160 [ 27.478826][ T701] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.478827][ T701] ? vprintk_emit+0x320/0x3e0 [ 27.478830][ T701] vprintk_emit+0x37c/0x3e0 [ 27.478834][ T701] ? wake_up_klogd_work_func+0x90/0x90 [ 27.478837][ T701] ? __lock_acquire+0x518/0xc20 [ 27.478840][ T701] _printk+0xc7/0x100 [ 27.478844][ T701] ? snapshot_read.cold+0x21/0x21 [ 27.478847][ T701] ? do_raw_spin_lock+0x131/0x280 [ 27.478849][ T701] ? __rwlock_init+0x150/0x150 [ 27.478852][ T701] ? do_raw_spin_lock+0x131/0x280 [ 27.478855][ T701] do_exit.cold+0x82/0x9c [ 27.478859][ T701] ? exit_notify+0x890/0x890 [ 27.478860][ T701] ? __lock_release.isra.0+0x69/0x1a0 [ 27.478863][ T701] ? rcu_is_watching+0x16/0xd0 [ 27.478867][ T701] do_group_exit+0xb8/0x370 [ 27.478870][ T701] __x64_sys_exit_group+0x3c/0x50 [ 27.478872][ T701] x64_sys_call+0x1567/0x1570 [ 27.478874][ T701] do_syscall_64+0xff/0x530 [ 27.478878][ T701] ? exc_page_fault+0xee/0x100 [ 27.478881][ T701] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.478883][ T701] RIP: 0033:0x7f285e54a1b8 [ 27.478886][ T701] Code: Unable to access opcode bytes at 0x7f285e54a18e. [ 27.478887][ T701] RSP: 002b:00007ffff0a62078 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 27.478889][ T701] RAX: ffffffffffffffda RBX: 00007f285e67af88 RCX: 00007f285e54a1b8 [ 27.478891][ T701] RDX: 00007f285e487a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 27.478892][ T701] RBP: 00007ffff0a620d0 R08: 0000000000000000 R09: 0000000000000000 [ 27.478892][ T701] R10: 00007ffff0a61f10 R11: 0000000000000246 R12: 0000000000000001 [ 27.478893][ T701] R13: 0000000000000000 R14: 00007f285e679680 R15: 00007f285e67afa0 [ 27.478900][ T701]