[ 9.199501][ T192] ip (192) used greatest stack depth: 23696 bytes left [ 9.199516][ T192] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.199518][ T192] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 192, name: ip [ 9.199519][ T192] preempt_count: 2, expected: 0 [ 9.199520][ T192] RCU nest depth: 0, expected: 0 [ 9.199521][ T192] locks held by ip/192: 5, last CPU#1: [ 9.199524][ T192] #0: ffffffff9be027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.199537][ T192] #1: ffffffff9bf69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.199543][ T192] #2: ffffffff9bf69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.199546][ T192] #3: ffffffff9be89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.199550][ T192] #4: ffffffff9be89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.199554][ T192] irq event stamp: 42584 [ 9.199555][ T192] hardirqs last enabled at (42583): [] __down_trylock_console_sem+0x86/0xa0 [ 9.199557][ T192] hardirqs last disabled at (42584): [] console_emit_next_record+0x3d4/0x4c0 [ 9.199559][ T192] softirqs last enabled at (42054): [] handle_softirqs+0x67c/0x900 [ 9.199561][ T192] softirqs last disabled at (42049): [] __irq_exit_rcu+0x145/0x1c0 [ 9.199564][ T192] Preemption disabled at: [ 9.199564][ T192] [<0000000000000000>] 0x0 [ 9.199571][ T192] CPU: 1 UID: 0 PID: 192 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.199574][ T192] Tainted: [W]=WARN [ 9.199575][ T192] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.199577][ T192] Call Trace: [ 9.199579][ T192] [ 9.199580][ T192] dump_stack_lvl+0x6f/0xa0 [ 9.199586][ T192] __might_resched.cold+0x1fe/0x2c1 [ 9.199591][ T192] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.199595][ T192] ? __kmalloc_noprof+0xdb/0x760 [ 9.199601][ T192] __kmalloc_noprof+0x443/0x760 [ 9.199603][ T192] ? alloc_buf.isra.0+0x4b/0x260 [ 9.199609][ T192] ? do_raw_spin_unlock+0x59/0x250 [ 9.199611][ T192] alloc_buf.isra.0+0x4b/0x260 [ 9.199614][ T192] put_chars+0x1e1/0x2f0 [ 9.199617][ T192] ? __send_to_port+0x420/0x420 [ 9.199618][ T192] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.199623][ T192] ? validate_chain+0x38b/0xc20 [ 9.199628][ T192] hvc_console_print+0x292/0x780 [ 9.199634][ T192] ? hvc_write+0x3a0/0x3a0 [ 9.199636][ T192] ? rcu_is_watching+0x16/0xd0 [ 9.199639][ T192] ? lock_acquire+0x13c/0x160 [ 9.199643][ T192] console_emit_next_record+0x22f/0x4c0 [ 9.199647][ T192] ? devkmsg_read+0x4b0/0x4b0 [ 9.199648][ T192] ? console_flush_one_record+0x106/0x710 [ 9.199652][ T192] ? rcu_is_watching+0x16/0xd0 [ 9.199654][ T192] ? lock_acquire+0x13c/0x160 [ 9.199658][ T192] console_flush_one_record+0x46f/0x710 [ 9.199662][ T192] ? console_emit_next_record+0x4c0/0x4c0 [ 9.199664][ T192] ? __lock_acquire+0x518/0xc20 [ 9.199669][ T192] console_unlock+0xee/0x1f0 [ 9.199671][ T192] ? console_flush_one_record+0x710/0x710 [ 9.199673][ T192] ? rcu_is_watching+0x16/0xd0 [ 9.199676][ T192] ? lock_acquire+0x60/0x160 [ 9.199679][ T192] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.199681][ T192] ? vprintk_emit+0x320/0x3e0 [ 9.199684][ T192] vprintk_emit+0x37c/0x3e0 [ 9.199688][ T192] ? wake_up_klogd_work_func+0x90/0x90 [ 9.199691][ T192] ? __lock_acquire+0x518/0xc20 [ 9.199695][ T192] _printk+0xc7/0x100 [ 9.199698][ T192] ? snapshot_read.cold+0x21/0x21 [ 9.199701][ T192] ? do_raw_spin_lock+0x131/0x280 [ 9.199704][ T192] ? __rwlock_init+0x150/0x150 [ 9.199707][ T192] ? do_raw_spin_lock+0x131/0x280 [ 9.199710][ T192] do_exit.cold+0x82/0x9c [ 9.199714][ T192] ? exit_notify+0x890/0x890 [ 9.199716][ T192] ? __lock_release.isra.0+0x69/0x1a0 [ 9.199718][ T192] ? rcu_is_watching+0x16/0xd0 [ 9.199722][ T192] do_group_exit+0xb8/0x370 [ 9.199725][ T192] __x64_sys_exit_group+0x3c/0x50 [ 9.199727][ T192] x64_sys_call+0x1567/0x1570 [ 9.199729][ T192] do_syscall_64+0xff/0x530 [ 9.199732][ T192] ? exc_page_fault+0xee/0x100 [ 9.199735][ T192] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.199737][ T192] RIP: 0033:0x7f14e04c71b8 [ 9.199739][ T192] Code: Unable to access opcode bytes at 0x7f14e04c718e. [ 9.199741][ T192] RSP: 002b:00007ffe198e6248 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.199743][ T192] RAX: ffffffffffffffda RBX: 00007f14e05f7f88 RCX: 00007f14e04c71b8 [ 9.199744][ T192] RDX: 00007f14e0211fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.199745][ T192] RBP: 00007ffe198e62a0 R08: 0000000000000000 R09: 0000000000008010 [ 9.199746][ T192] R10: 00007ffe198e6060 R11: 0000000000000246 R12: 0000000000000001 [ 9.199747][ T192] R13: 0000000000000000 R14: 00007f14e05f6680 R15: 00007f14e05f7fa0 [ 9.199754][ T192]