[ 13.986445][ T209] ip (209) used greatest stack depth: 24488 bytes left [ 13.986465][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.986466][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: ip [ 13.986468][ T209] preempt_count: 2, expected: 0 [ 13.986469][ T209] RCU nest depth: 0, expected: 0 [ 13.986470][ T209] locks held by ip/209: 5, last CPU#3: [ 13.986472][ T209] #0: ffffffffb0c167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.986484][ T209] #1: ffffffffb0d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.986489][ T209] #2: ffffffffb0d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.986493][ T209] #3: ffffffffb0c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.986497][ T209] #4: ffffffffb0c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.986501][ T209] irq event stamp: 23644 [ 13.986502][ T209] hardirqs last enabled at (23643): [] __down_trylock_console_sem+0x86/0xa0 [ 13.986506][ T209] hardirqs last disabled at (23644): [] console_emit_next_record+0x3d4/0x4c0 [ 13.986508][ T209] softirqs last enabled at (23362): [] handle_softirqs+0x67c/0x900 [ 13.986511][ T209] softirqs last disabled at (23357): [] __irq_exit_rcu+0x145/0x1c0 [ 13.986513][ T209] Preemption disabled at: [ 13.986514][ T209] [<0000000000000000>] 0x0 [ 13.986521][ T209] CPU: 3 UID: 0 PID: 209 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.986524][ T209] Tainted: [W]=WARN [ 13.986525][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.986527][ T209] Call Trace: [ 13.986529][ T209] [ 13.986530][ T209] dump_stack_lvl+0x6f/0xa0 [ 13.986537][ T209] __might_resched.cold+0x1fe/0x2c1 [ 13.986541][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.986545][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 13.986549][ T209] __kmalloc_noprof+0x443/0x760 [ 13.986551][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 13.986558][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 13.986561][ T209] alloc_buf.isra.0+0x4b/0x260 [ 13.986564][ T209] put_chars+0x1e1/0x2f0 [ 13.986567][ T209] ? __send_to_port+0x420/0x420 [ 13.986568][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.986572][ T209] ? validate_chain+0x38b/0xc20 [ 13.986577][ T209] hvc_console_print+0x292/0x780 [ 13.986585][ T209] ? hvc_write+0x3a0/0x3a0 [ 13.986587][ T209] ? rcu_is_watching+0x16/0xd0 [ 13.986589][ T209] ? lock_acquire+0x13c/0x160 [ 13.986593][ T209] console_emit_next_record+0x22f/0x4c0 [ 13.986597][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 13.986599][ T209] ? console_flush_one_record+0x106/0x710 [ 13.986602][ T209] ? rcu_is_watching+0x16/0xd0 [ 13.986604][ T209] ? lock_acquire+0x13c/0x160 [ 13.986608][ T209] console_flush_one_record+0x46f/0x710 [ 13.986612][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 13.986614][ T209] ? __lock_acquire+0x518/0xc20 [ 13.986619][ T209] console_unlock+0xee/0x1f0 [ 13.986622][ T209] ? console_flush_one_record+0x710/0x710 [ 13.986624][ T209] ? rcu_is_watching+0x16/0xd0 [ 13.986626][ T209] ? lock_acquire+0xe0/0x160 [ 13.986629][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.986631][ T209] ? vprintk_emit+0x320/0x3e0 [ 13.986634][ T209] vprintk_emit+0x37c/0x3e0 [ 13.986637][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 13.986640][ T209] ? __lock_acquire+0x518/0xc20 [ 13.986644][ T209] _printk+0xc7/0x100 [ 13.986647][ T209] ? snapshot_read.cold+0x21/0x21 [ 13.986650][ T209] ? do_raw_spin_lock+0x131/0x280 [ 13.986653][ T209] ? __rwlock_init+0x150/0x150 [ 13.986657][ T209] ? do_raw_spin_lock+0x131/0x280 [ 13.986659][ T209] do_exit.cold+0x82/0x9c [ 13.986663][ T209] ? exit_notify+0x890/0x890 [ 13.986664][ T209] ? __lock_release.isra.0+0x69/0x1a0 [ 13.986667][ T209] ? rcu_is_watching+0x16/0xd0 [ 13.986670][ T209] do_group_exit+0xb8/0x370 [ 13.986673][ T209] __x64_sys_exit_group+0x3c/0x50 [ 13.986675][ T209] x64_sys_call+0x1567/0x1570 [ 13.986678][ T209] do_syscall_64+0xff/0x530 [ 13.986682][ T209] ? exc_page_fault+0xee/0x100 [ 13.986685][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.986687][ T209] RIP: 0033:0x7f2f6e1fc1b8 [ 13.986689][ T209] Code: Unable to access opcode bytes at 0x7f2f6e1fc18e. [ 13.986690][ T209] RSP: 002b:00007ffc7655a4c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.986692][ T209] RAX: ffffffffffffffda RBX: 00007f2f6e32cf88 RCX: 00007f2f6e1fc1b8 [ 13.986694][ T209] RDX: 00007f2f6df46fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 13.986695][ T209] RBP: 00007ffc7655a520 R08: 0000000000000000 R09: 0000000000000050 [ 13.986695][ T209] R10: 00007ffc7655a2e0 R11: 0000000000000246 R12: 0000000000000001 [ 13.986696][ T209] R13: 0000000000000000 R14: 00007f2f6e32b680 R15: 00007f2f6e32cfa0 [ 13.986703][ T209]