[ 13.156107][ T232] packetdrill (232) used greatest stack depth: 24136 bytes left [ 13.156129][ T232] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.156132][ T232] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 232, name: packetdrill [ 13.156135][ T232] preempt_count: 2, expected: 0 [ 13.156136][ T232] RCU nest depth: 0, expected: 0 [ 13.156138][ T232] locks held by packetdrill/232: 5, last CPU#1: [ 13.156140][ T232] #0: ffffffffade027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.156155][ T232] #1: ffffffffadf69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.156163][ T232] #2: ffffffffadf69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.156168][ T232] #3: ffffffffade89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.156173][ T232] #4: ffffffffade89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.156179][ T232] irq event stamp: 2283414 [ 13.156180][ T232] hardirqs last enabled at (2283413): [] __down_trylock_console_sem+0x86/0xa0 [ 13.156185][ T232] hardirqs last disabled at (2283414): [] console_emit_next_record+0x3d4/0x4c0 [ 13.156187][ T232] softirqs last enabled at (2283182): [] tcp_close+0x2b/0xb0 [ 13.156192][ T232] softirqs last disabled at (2283180): [] release_sock+0x21/0x240 [ 13.156197][ T232] Preemption disabled at: [ 13.156198][ T232] [<0000000000000000>] 0x0 [ 13.156206][ T232] CPU: 1 UID: 0 PID: 232 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.156210][ T232] Tainted: [W]=WARN [ 13.156212][ T232] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.156214][ T232] Call Trace: [ 13.156216][ T232] [ 13.156219][ T232] dump_stack_lvl+0x6f/0xa0 [ 13.156226][ T232] __might_resched.cold+0x1fe/0x2c1 [ 13.156232][ T232] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.156242][ T232] ? __kmalloc_noprof+0xdb/0x760 [ 13.156249][ T232] __kmalloc_noprof+0x443/0x760 [ 13.156253][ T232] ? alloc_buf.isra.0+0x4b/0x260 [ 13.156262][ T232] ? do_raw_spin_unlock+0x59/0x250 [ 13.156265][ T232] alloc_buf.isra.0+0x4b/0x260 [ 13.156271][ T232] put_chars+0x1e1/0x2f0 [ 13.156275][ T232] ? __send_to_port+0x420/0x420 [ 13.156278][ T232] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.156284][ T232] ? validate_chain+0x38b/0xc20 [ 13.156293][ T232] hvc_console_print+0x292/0x780 [ 13.156303][ T232] ? hvc_write+0x3a0/0x3a0 [ 13.156307][ T232] ? rcu_is_watching+0x16/0xd0 [ 13.156310][ T232] ? lock_acquire+0x13c/0x160 [ 13.156317][ T232] console_emit_next_record+0x22f/0x4c0 [ 13.156323][ T232] ? devkmsg_read+0x4b0/0x4b0 [ 13.156325][ T232] ? console_flush_one_record+0x106/0x710 [ 13.156329][ T232] ? rcu_is_watching+0x16/0xd0 [ 13.156332][ T232] ? lock_acquire+0x13c/0x160 [ 13.156339][ T232] console_flush_one_record+0x46f/0x710 [ 13.156345][ T232] ? console_emit_next_record+0x4c0/0x4c0 [ 13.156348][ T232] ? __lock_acquire+0x518/0xc20 [ 13.156357][ T232] console_unlock+0xee/0x1f0 [ 13.156361][ T232] ? console_flush_one_record+0x710/0x710 [ 13.156363][ T232] ? rcu_is_watching+0x16/0xd0 [ 13.156366][ T232] ? lock_acquire+0x60/0x160 [ 13.156372][ T232] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.156374][ T232] ? vprintk_emit+0x320/0x3e0 [ 13.156379][ T232] vprintk_emit+0x37c/0x3e0 [ 13.156384][ T232] ? wake_up_klogd_work_func+0x90/0x90 [ 13.156386][ T232] ? do_raw_spin_unlock+0x59/0x250 [ 13.156391][ T232] ? __lock_acquire+0x518/0xc20 [ 13.156397][ T232] _printk+0xc7/0x100 [ 13.156402][ T232] ? snapshot_read.cold+0x21/0x21 [ 13.156407][ T232] ? do_raw_spin_lock+0x131/0x280 [ 13.156411][ T232] ? __rwlock_init+0x150/0x150 [ 13.156417][ T232] ? do_raw_spin_lock+0x131/0x280 [ 13.156422][ T232] do_exit.cold+0x82/0x9c [ 13.156427][ T232] ? exit_notify+0x890/0x890 [ 13.156429][ T232] ? __lock_release.isra.0+0x69/0x1a0 [ 13.156434][ T232] ? rcu_is_watching+0x16/0xd0 [ 13.156440][ T232] do_group_exit+0xb8/0x370 [ 13.156445][ T232] __x64_sys_exit_group+0x3c/0x50 [ 13.156448][ T232] x64_sys_call+0x1567/0x1570 [ 13.156451][ T232] do_syscall_64+0xff/0x530 [ 13.156456][ T232] ? irq_exit_rcu+0x1a/0x30 [ 13.156461][ T232] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.156465][ T232] RIP: 0033:0x479678 [ 13.156468][ T232] Code: Unable to access opcode bytes at 0x47964e. [ 13.156469][ T232] RSP: 002b:00007ffe47dd5f68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.156473][ T232] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 13.156475][ T232] RDX: 00000000379f9708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 13.156477][ T232] RBP: 00007ffe47dd5fc0 R08: 0000000000000000 R09: 00000000379fa3e0 [ 13.156478][ T232] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffe47dd60f8 [ 13.156479][ T232] R13: 00007ffe47dd6180 R14: 0000000000000000 R15: 000000000054d560 [ 13.156492][ T232]