[ 13.705574][ T201] packetdrill (201) used greatest stack depth: 23504 bytes left [ 13.705596][ T201] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.705598][ T201] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 201, name: packetdrill [ 13.705601][ T201] preempt_count: 2, expected: 0 [ 13.705602][ T201] RCU nest depth: 0, expected: 0 [ 13.705604][ T201] locks held by packetdrill/201: 5, last CPU#1: [ 13.705607][ T201] #0: ffffffff8f0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.705622][ T201] #1: ffffffff8f169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.705630][ T201] #2: ffffffff8f169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.705636][ T201] #3: ffffffff8f089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.705642][ T201] #4: ffffffff8f089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.705649][ T201] irq event stamp: 2145124 [ 13.705650][ T201] hardirqs last enabled at (2145123): [] __down_trylock_console_sem+0x86/0xa0 [ 13.705655][ T201] hardirqs last disabled at (2145124): [] console_emit_next_record+0x3d4/0x4c0 [ 13.705658][ T201] softirqs last enabled at (2144894): [] tcp_close+0x2b/0xb0 [ 13.705663][ T201] softirqs last disabled at (2144892): [] release_sock+0x21/0x240 [ 13.705668][ T201] Preemption disabled at: [ 13.705669][ T201] [<0000000000000000>] 0x0 [ 13.705678][ T201] CPU: 1 UID: 0 PID: 201 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.705682][ T201] Tainted: [W]=WARN [ 13.705684][ T201] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.705686][ T201] Call Trace: [ 13.705688][ T201] [ 13.705691][ T201] dump_stack_lvl+0x6f/0xa0 [ 13.705699][ T201] __might_resched.cold+0x1fe/0x2c1 [ 13.705705][ T201] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.705710][ T201] ? __kmalloc_noprof+0xdb/0x760 [ 13.705718][ T201] __kmalloc_noprof+0x443/0x760 [ 13.705722][ T201] ? alloc_buf.isra.0+0x4b/0x260 [ 13.705732][ T201] ? do_raw_spin_unlock+0x59/0x250 [ 13.705735][ T201] alloc_buf.isra.0+0x4b/0x260 [ 13.705741][ T201] put_chars+0x1e1/0x2f0 [ 13.705746][ T201] ? __send_to_port+0x420/0x420 [ 13.705748][ T201] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.705754][ T201] ? validate_chain+0x38b/0xc20 [ 13.705764][ T201] hvc_console_print+0x292/0x780 [ 13.705775][ T201] ? hvc_write+0x3a0/0x3a0 [ 13.705779][ T201] ? rcu_is_watching+0x16/0xd0 [ 13.705783][ T201] ? lock_acquire+0x13c/0x160 [ 13.705790][ T201] console_emit_next_record+0x22f/0x4c0 [ 13.705796][ T201] ? devkmsg_read+0x4b0/0x4b0 [ 13.705798][ T201] ? console_flush_one_record+0x106/0x710 [ 13.705803][ T201] ? rcu_is_watching+0x16/0xd0 [ 13.705806][ T201] ? lock_acquire+0x13c/0x160 [ 13.705814][ T201] console_flush_one_record+0x46f/0x710 [ 13.705820][ T201] ? console_emit_next_record+0x4c0/0x4c0 [ 13.705822][ T201] ? __lock_acquire+0x518/0xc20 [ 13.705836][ T201] console_unlock+0xee/0x1f0 [ 13.705841][ T201] ? console_flush_one_record+0x710/0x710 [ 13.705843][ T201] ? rcu_is_watching+0x16/0xd0 [ 13.705846][ T201] ? lock_acquire+0x60/0x160 [ 13.705854][ T201] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.705857][ T201] ? vprintk_emit+0x320/0x3e0 [ 13.705862][ T201] vprintk_emit+0x37c/0x3e0 [ 13.705868][ T201] ? wake_up_klogd_work_func+0x90/0x90 [ 13.705871][ T201] ? do_raw_spin_unlock+0x59/0x250 [ 13.705876][ T201] ? __lock_acquire+0x518/0xc20 [ 13.705883][ T201] _printk+0xc7/0x100 [ 13.705889][ T201] ? snapshot_read.cold+0x21/0x21 [ 13.705894][ T201] ? do_raw_spin_lock+0x131/0x280 [ 13.705898][ T201] ? __rwlock_init+0x150/0x150 [ 13.705905][ T201] ? do_raw_spin_lock+0x131/0x280 [ 13.705911][ T201] do_exit.cold+0x82/0x9c [ 13.705916][ T201] ? exit_notify+0x890/0x890 [ 13.705919][ T201] ? __lock_release.isra.0+0x69/0x1a0 [ 13.705925][ T201] ? rcu_is_watching+0x16/0xd0 [ 13.705938][ T201] do_group_exit+0xb8/0x370 [ 13.705943][ T201] __x64_sys_exit_group+0x3c/0x50 [ 13.705947][ T201] x64_sys_call+0x1567/0x1570 [ 13.705951][ T201] do_syscall_64+0xff/0x530 [ 13.705956][ T201] ? irq_exit_rcu+0x1a/0x30 [ 13.705961][ T201] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.705965][ T201] RIP: 0033:0x479678 [ 13.705969][ T201] Code: Unable to access opcode bytes at 0x47964e. [ 13.705971][ T201] RSP: 002b:00007fffe7c91d88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.705974][ T201] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 13.705977][ T201] RDX: 000000003598b708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 13.705978][ T201] RBP: 00007fffe7c91de0 R08: 0000000000000000 R09: 000000003598c3e0 [ 13.705980][ T201] R10: 0000000000000110 R11: 0000000000000246 R12: 00007fffe7c91f18 [ 13.705981][ T201] R13: 00007fffe7c91fa0 R14: 0000000000000000 R15: 000000000054d560 [ 13.705997][ T201]