[ 10.239655][ T187] ip (187) used greatest stack depth: 24144 bytes left [ 10.239673][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.239675][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 10.239676][ T187] preempt_count: 2, expected: 0 [ 10.239677][ T187] RCU nest depth: 0, expected: 0 [ 10.239678][ T187] locks held by ip/187: 5, last CPU#0: [ 10.239681][ T187] #0: ffffffffb6a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.239693][ T187] #1: ffffffffb6b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.239700][ T187] #2: ffffffffb6b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.239704][ T187] #3: ffffffffb6a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.239707][ T187] #4: ffffffffb6a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.239711][ T187] irq event stamp: 32374 [ 10.239712][ T187] hardirqs last enabled at (32373): [] __down_trylock_console_sem+0x86/0xa0 [ 10.239715][ T187] hardirqs last disabled at (32374): [] console_emit_next_record+0x3d4/0x4c0 [ 10.239717][ T187] softirqs last enabled at (31088): [] netlink_release+0x17b/0xcf0 [ 10.239721][ T187] softirqs last disabled at (31086): [] netlink_release+0xd2/0xcf0 [ 10.239723][ T187] Preemption disabled at: [ 10.239724][ T187] [<0000000000000000>] 0x0 [ 10.239730][ T187] CPU: 0 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.239734][ T187] Tainted: [W]=WARN [ 10.239735][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.239736][ T187] Call Trace: [ 10.239738][ T187] [ 10.239740][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.239746][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.239750][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.239754][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.239760][ T187] __kmalloc_noprof+0x443/0x760 [ 10.239762][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.239768][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.239770][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.239774][ T187] put_chars+0x1e1/0x2f0 [ 10.239776][ T187] ? __send_to_port+0x420/0x420 [ 10.239778][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.239783][ T187] ? validate_chain+0x38b/0xc20 [ 10.239788][ T187] hvc_console_print+0x292/0x780 [ 10.239794][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.239796][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.239799][ T187] ? lock_acquire+0x13c/0x160 [ 10.239803][ T187] console_emit_next_record+0x22f/0x4c0 [ 10.239807][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 10.239809][ T187] ? console_flush_one_record+0x106/0x710 [ 10.239812][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.239814][ T187] ? lock_acquire+0x13c/0x160 [ 10.239818][ T187] console_flush_one_record+0x46f/0x710 [ 10.239822][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 10.239824][ T187] ? __lock_acquire+0x518/0xc20 [ 10.239829][ T187] console_unlock+0xee/0x1f0 [ 10.239832][ T187] ? console_flush_one_record+0x710/0x710 [ 10.239834][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.239837][ T187] ? lock_acquire+0x60/0x160 [ 10.239840][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.239842][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.239846][ T187] vprintk_emit+0x37c/0x3e0 [ 10.239849][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.239853][ T187] ? __lock_acquire+0x518/0xc20 [ 10.239857][ T187] _printk+0xc7/0x100 [ 10.239860][ T187] ? snapshot_read.cold+0x21/0x21 [ 10.239863][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.239866][ T187] ? __rwlock_init+0x150/0x150 [ 10.239870][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.239873][ T187] do_exit.cold+0x82/0x9c [ 10.239876][ T187] ? exit_notify+0x890/0x890 [ 10.239878][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.239881][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.239885][ T187] do_group_exit+0xb8/0x370 [ 10.239888][ T187] __x64_sys_exit_group+0x3c/0x50 [ 10.239890][ T187] x64_sys_call+0x1567/0x1570 [ 10.239892][ T187] do_syscall_64+0xff/0x530 [ 10.239896][ T187] ? exc_page_fault+0xee/0x100 [ 10.239899][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.239901][ T187] RIP: 0033:0x7f4c351be1b8 [ 10.239903][ T187] Code: Unable to access opcode bytes at 0x7f4c351be18e. [ 10.239904][ T187] RSP: 002b:00007fff6255c168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.239907][ T187] RAX: ffffffffffffffda RBX: 00007f4c352eef88 RCX: 00007f4c351be1b8 [ 10.239908][ T187] RDX: 00007f4c34f08fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.239909][ T187] RBP: 00007fff6255c1c0 R08: 0000000000000000 R09: 0000000000008010 [ 10.239910][ T187] R10: 00007fff6255bf80 R11: 0000000000000246 R12: 0000000000000001 [ 10.239911][ T187] R13: 0000000000000000 R14: 00007f4c352ed680 R15: 00007f4c352eefa0 [ 10.239918][ T187] [ 10.436522][ T194] ip (194) used greatest stack depth: 23888 bytes left WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr