[ 8.640505][ T181] ip (181) used greatest stack depth: 23632 bytes left [ 8.640520][ T181] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.640522][ T181] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 181, name: ip [ 8.640524][ T181] preempt_count: 2, expected: 0 [ 8.640525][ T181] RCU nest depth: 0, expected: 0 [ 8.640526][ T181] locks held by ip/181: 5, last CPU#0: [ 8.640528][ T181] #0: ffffffff84a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.640540][ T181] #1: ffffffff84b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.640545][ T181] #2: ffffffff84b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.640549][ T181] #3: ffffffff84a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.640552][ T181] #4: ffffffff84a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.640555][ T181] irq event stamp: 22380 [ 8.640556][ T181] hardirqs last enabled at (22379): [] __down_trylock_console_sem+0x86/0xa0 [ 8.640559][ T181] hardirqs last disabled at (22380): [] console_emit_next_record+0x3f8/0x4f0 [ 8.640561][ T181] softirqs last enabled at (21474): [] handle_softirqs+0x67c/0x900 [ 8.640563][ T181] softirqs last disabled at (21363): [] __irq_exit_rcu+0x145/0x1c0 [ 8.640566][ T181] Preemption disabled at: [ 8.640566][ T181] [<0000000000000000>] 0x0 [ 8.640573][ T181] CPU: 0 UID: 0 PID: 181 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.640576][ T181] Tainted: [W]=WARN [ 8.640577][ T181] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.640579][ T181] Call Trace: [ 8.640581][ T181] [ 8.640582][ T181] dump_stack_lvl+0x6f/0xa0 [ 8.640588][ T181] __might_resched.cold+0x1fe/0x2c1 [ 8.640593][ T181] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.640596][ T181] ? __kmalloc_noprof+0xdb/0x760 [ 8.640601][ T181] __kmalloc_noprof+0x443/0x760 [ 8.640604][ T181] ? alloc_buf.isra.0+0x4b/0x260 [ 8.640610][ T181] ? do_raw_spin_unlock+0x59/0x250 [ 8.640612][ T181] alloc_buf.isra.0+0x4b/0x260 [ 8.640616][ T181] put_chars+0x1e1/0x2f0 [ 8.640619][ T181] ? __send_to_port+0x420/0x420 [ 8.640621][ T181] ? printk_get_next_message+0x2fe/0x7d0 [ 8.640624][ T181] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.640628][ T181] ? validate_chain+0x38b/0xc20 [ 8.640632][ T181] hvc_console_print+0x292/0x780 [ 8.640636][ T181] ? __lock_acquire+0x518/0xc20 [ 8.640638][ T181] ? __lock_acquire+0x518/0xc20 [ 8.640642][ T181] ? hvc_write+0x3a0/0x3a0 [ 8.640646][ T181] ? rcu_is_watching+0x16/0xd0 [ 8.640648][ T181] ? lock_acquire+0x13c/0x160 [ 8.640652][ T181] console_emit_next_record+0x252/0x4f0 [ 8.640656][ T181] ? devkmsg_read+0x4e0/0x4e0 [ 8.640660][ T181] ? rcu_is_watching+0x16/0xd0 [ 8.640661][ T181] ? lock_acquire+0x13c/0x160 [ 8.640666][ T181] console_flush_one_record+0x46f/0x710 [ 8.640669][ T181] ? console_emit_next_record+0x4f0/0x4f0 [ 8.640670][ T181] ? __lock_acquire+0x518/0xc20 [ 8.640676][ T181] console_unlock+0xee/0x1f0 [ 8.640678][ T181] ? console_flush_one_record+0x710/0x710 [ 8.640679][ T181] ? rcu_is_watching+0x16/0xd0 [ 8.640681][ T181] ? lock_acquire+0x60/0x160 [ 8.640685][ T181] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.640687][ T181] ? vprintk_emit+0x320/0x3e0 [ 8.640690][ T181] vprintk_emit+0x37c/0x3e0 [ 8.640693][ T181] ? wake_up_klogd_work_func+0x90/0x90 [ 8.640696][ T181] ? __lock_acquire+0x518/0xc20 [ 8.640699][ T181] _printk+0xc7/0x100 [ 8.640703][ T181] ? snapshot_read.cold+0x21/0x21 [ 8.640706][ T181] ? do_raw_spin_lock+0x131/0x280 [ 8.640708][ T181] ? __rwlock_init+0x150/0x150 [ 8.640711][ T181] ? do_raw_spin_lock+0x131/0x280 [ 8.640713][ T181] do_exit.cold+0x82/0x9c [ 8.640717][ T181] ? exit_notify+0x890/0x890 [ 8.640718][ T181] ? __lock_release.isra.0+0x69/0x1a0 [ 8.640721][ T181] ? rcu_is_watching+0x16/0xd0 [ 8.640725][ T181] do_group_exit+0xb8/0x370 [ 8.640728][ T181] __x64_sys_exit_group+0x3c/0x50 [ 8.640730][ T181] x64_sys_call+0x1567/0x1570 [ 8.640732][ T181] do_syscall_64+0xff/0x530 [ 8.640735][ T181] ? exc_page_fault+0xee/0x100 [ 8.640738][ T181] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.640740][ T181] RIP: 0033:0x7f98184831b8 [ 8.640742][ T181] Code: Unable to access opcode bytes at 0x7f981848318e. [ 8.640743][ T181] RSP: 002b:00007ffe522d4138 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.640746][ T181] RAX: ffffffffffffffda RBX: 00007f98185b3f88 RCX: 00007f98184831b8 [ 8.640747][ T181] RDX: 00007f98181cdfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 8.640748][ T181] RBP: 00007ffe522d4190 R08: 0000000000000000 R09: 0000000000000050 [ 8.640749][ T181] R10: 00007ffe522d3f50 R11: 0000000000000246 R12: 0000000000000001 [ 8.640749][ T181] R13: 0000000000000000 R14: 00007f98185b2680 R15: 00007f98185b3fa0 [ 8.640756][ T181] [ 8.810218][ T186] team1: Port device dummy1 added [ 8.842518][ T187] team1: Port device dummy1 removed