[ 10.224368][ T187] ip (187) used greatest stack depth: 23680 bytes left [ 10.224385][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.224387][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 10.224389][ T187] preempt_count: 2, expected: 0 [ 10.224390][ T187] RCU nest depth: 0, expected: 0 [ 10.224391][ T187] locks held by ip/187: 5, last CPU#2: [ 10.224393][ T187] #0: ffffffffb00027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.224406][ T187] #1: ffffffffb0169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.224412][ T187] #2: ffffffffb0169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.224415][ T187] #3: ffffffffb0089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.224419][ T187] #4: ffffffffb0089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.224423][ T187] irq event stamp: 53380 [ 10.224424][ T187] hardirqs last enabled at (53379): [] __down_trylock_console_sem+0x86/0xa0 [ 10.224427][ T187] hardirqs last disabled at (53380): [] console_emit_next_record+0x3d4/0x4c0 [ 10.224429][ T187] softirqs last enabled at (52936): [] handle_softirqs+0x67c/0x900 [ 10.224430][ T187] softirqs last disabled at (52931): [] __irq_exit_rcu+0x145/0x1c0 [ 10.224433][ T187] Preemption disabled at: [ 10.224433][ T187] [<0000000000000000>] 0x0 [ 10.224440][ T187] CPU: 2 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.224444][ T187] Tainted: [W]=WARN [ 10.224445][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.224446][ T187] Call Trace: [ 10.224448][ T187] [ 10.224449][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.224456][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.224460][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.224464][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.224469][ T187] __kmalloc_noprof+0x443/0x760 [ 10.224471][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.224477][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.224480][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.224483][ T187] put_chars+0x1e1/0x2f0 [ 10.224486][ T187] ? __send_to_port+0x420/0x420 [ 10.224487][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.224492][ T187] ? validate_chain+0x38b/0xc20 [ 10.224497][ T187] hvc_console_print+0x292/0x780 [ 10.224504][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.224506][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.224508][ T187] ? lock_acquire+0x13c/0x160 [ 10.224512][ T187] console_emit_next_record+0x22f/0x4c0 [ 10.224516][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 10.224518][ T187] ? console_flush_one_record+0x106/0x710 [ 10.224521][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.224523][ T187] ? lock_acquire+0x13c/0x160 [ 10.224527][ T187] console_flush_one_record+0x46f/0x710 [ 10.224532][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 10.224533][ T187] ? __lock_acquire+0x518/0xc20 [ 10.224538][ T187] console_unlock+0xee/0x1f0 [ 10.224541][ T187] ? console_flush_one_record+0x710/0x710 [ 10.224543][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.224546][ T187] ? lock_acquire+0x60/0x160 [ 10.224549][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.224551][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.224554][ T187] vprintk_emit+0x37c/0x3e0 [ 10.224558][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.224561][ T187] ? __lock_acquire+0x518/0xc20 [ 10.224565][ T187] _printk+0xc7/0x100 [ 10.224569][ T187] ? snapshot_read.cold+0x21/0x21 [ 10.224572][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.224574][ T187] ? __rwlock_init+0x150/0x150 [ 10.224578][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.224581][ T187] do_exit.cold+0x82/0x9c [ 10.224584][ T187] ? exit_notify+0x890/0x890 [ 10.224586][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.224589][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.224593][ T187] do_group_exit+0xb8/0x370 [ 10.224596][ T187] __x64_sys_exit_group+0x3c/0x50 [ 10.224598][ T187] x64_sys_call+0x1567/0x1570 [ 10.224600][ T187] do_syscall_64+0xff/0x530 [ 10.224606][ T187] ? exc_page_fault+0xee/0x100 [ 10.224609][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.224611][ T187] RIP: 0033:0x7f597d9371b8 [ 10.224613][ T187] Code: Unable to access opcode bytes at 0x7f597d93718e. [ 10.224614][ T187] RSP: 002b:00007ffd8ff6b7c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.224617][ T187] RAX: ffffffffffffffda RBX: 00007f597da67f88 RCX: 00007f597d9371b8 [ 10.224618][ T187] RDX: 00007f597d681fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.224619][ T187] RBP: 00007ffd8ff6b820 R08: 0000000000000000 R09: 0000000000008010 [ 10.224620][ T187] R10: 00007ffd8ff6b5e0 R11: 0000000000000246 R12: 0000000000000001 [ 10.224621][ T187] R13: 0000000000000000 R14: 00007f597da66680 R15: 00007f597da67fa0 [ 10.224628][ T187] [ 10.843464][ T215] 8021q: 802.1Q VLAN Support v1.8