[ 10.341590][ T201] ip (201) used greatest stack depth: 24112 bytes left [ 10.341608][ T201] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.341610][ T201] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 201, name: ip [ 10.341612][ T201] preempt_count: 2, expected: 0 [ 10.341613][ T201] RCU nest depth: 0, expected: 0 [ 10.341614][ T201] locks held by ip/201: 5, last CPU#1: [ 10.341615][ T201] #0: ffffffff970167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.341626][ T201] #1: ffffffff9717ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.341631][ T201] #2: ffffffff9717de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.341635][ T201] #3: ffffffff9709d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.341639][ T201] #4: ffffffff9709d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.341643][ T201] irq event stamp: 24924 [ 10.341643][ T201] hardirqs last enabled at (24923): [] __down_trylock_console_sem+0x86/0xa0 [ 10.341647][ T201] hardirqs last disabled at (24924): [] console_emit_next_record+0x3d4/0x4c0 [ 10.341649][ T201] softirqs last enabled at (24680): [] handle_softirqs+0x67c/0x900 [ 10.341651][ T201] softirqs last disabled at (24669): [] __irq_exit_rcu+0x145/0x1c0 [ 10.341653][ T201] Preemption disabled at: [ 10.341654][ T201] [<0000000000000000>] 0x0 [ 10.341661][ T201] CPU: 1 UID: 0 PID: 201 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.341664][ T201] Tainted: [W]=WARN [ 10.341665][ T201] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.341667][ T201] Call Trace: [ 10.341669][ T201] [ 10.341670][ T201] dump_stack_lvl+0x6f/0xa0 [ 10.341677][ T201] __might_resched.cold+0x1fe/0x2c1 [ 10.341681][ T201] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.341685][ T201] ? __kmalloc_noprof+0xdb/0x760 [ 10.341690][ T201] __kmalloc_noprof+0x443/0x760 [ 10.341692][ T201] ? alloc_buf.isra.0+0x4b/0x260 [ 10.341698][ T201] ? do_raw_spin_unlock+0x59/0x250 [ 10.341701][ T201] alloc_buf.isra.0+0x4b/0x260 [ 10.341705][ T201] put_chars+0x1e1/0x2f0 [ 10.341707][ T201] ? __send_to_port+0x420/0x420 [ 10.341708][ T201] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.341712][ T201] ? validate_chain+0x38b/0xc20 [ 10.341718][ T201] hvc_console_print+0x292/0x780 [ 10.341725][ T201] ? hvc_write+0x3a0/0x3a0 [ 10.341728][ T201] ? rcu_is_watching+0x16/0xd0 [ 10.341730][ T201] ? lock_acquire+0x13c/0x160 [ 10.341734][ T201] console_emit_next_record+0x22f/0x4c0 [ 10.341738][ T201] ? devkmsg_read+0x4b0/0x4b0 [ 10.341740][ T201] ? console_flush_one_record+0x106/0x710 [ 10.341743][ T201] ? rcu_is_watching+0x16/0xd0 [ 10.341744][ T201] ? lock_acquire+0x13c/0x160 [ 10.341748][ T201] console_flush_one_record+0x46f/0x710 [ 10.341753][ T201] ? console_emit_next_record+0x4c0/0x4c0 [ 10.341754][ T201] ? __lock_acquire+0x518/0xc20 [ 10.341760][ T201] console_unlock+0xee/0x1f0 [ 10.341763][ T201] ? console_flush_one_record+0x710/0x710 [ 10.341765][ T201] ? rcu_is_watching+0x16/0xd0 [ 10.341766][ T201] ? lock_acquire+0xe0/0x160 [ 10.341770][ T201] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.341772][ T201] ? vprintk_emit+0x320/0x3e0 [ 10.341775][ T201] vprintk_emit+0x37c/0x3e0 [ 10.341778][ T201] ? wake_up_klogd_work_func+0x90/0x90 [ 10.341781][ T201] ? __lock_acquire+0x518/0xc20 [ 10.341784][ T201] _printk+0xc7/0x100 [ 10.341788][ T201] ? snapshot_read.cold+0x21/0x21 [ 10.341791][ T201] ? do_raw_spin_lock+0x131/0x280 [ 10.341793][ T201] ? __rwlock_init+0x150/0x150 [ 10.341797][ T201] ? do_raw_spin_lock+0x131/0x280 [ 10.341800][ T201] do_exit.cold+0x82/0x9c [ 10.341803][ T201] ? exit_notify+0x890/0x890 [ 10.341805][ T201] ? __lock_release.isra.0+0x69/0x1a0 [ 10.341807][ T201] ? rcu_is_watching+0x16/0xd0 [ 10.341811][ T201] do_group_exit+0xb8/0x370 [ 10.341814][ T201] __x64_sys_exit_group+0x3c/0x50 [ 10.341816][ T201] x64_sys_call+0x1567/0x1570 [ 10.341818][ T201] do_syscall_64+0xff/0x530 [ 10.341822][ T201] ? exc_page_fault+0xee/0x100 [ 10.341825][ T201] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.341828][ T201] RIP: 0033:0x7f98d33a41b8 [ 10.341830][ T201] Code: Unable to access opcode bytes at 0x7f98d33a418e. [ 10.341831][ T201] RSP: 002b:00007fffd814eb38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.341833][ T201] RAX: ffffffffffffffda RBX: 00007f98d34d4f88 RCX: 00007f98d33a41b8 [ 10.341834][ T201] RDX: 00007f98d30eefc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.341835][ T201] RBP: 00007fffd814eb90 R08: 0000000000000000 R09: 0000000000000050 [ 10.341836][ T201] R10: 00007fffd814e950 R11: 0000000000000246 R12: 0000000000000001 [ 10.341837][ T201] R13: 0000000000000000 R14: 00007f98d34d3680 R15: 00007f98d34d4fa0 [ 10.341844][ T201] [ 10.843167][ T211] ip (211) used greatest stack depth: 23672 bytes left