[ 13.058577][ T234] packetdrill (234) used greatest stack depth: 24320 bytes left [ 13.058595][ T234] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.058597][ T234] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 234, name: packetdrill [ 13.058599][ T234] preempt_count: 2, expected: 0 [ 13.058599][ T234] RCU nest depth: 0, expected: 0 [ 13.058600][ T234] locks held by packetdrill/234: 5, last CPU#3: [ 13.058603][ T234] #0: ffffffffb80027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.058614][ T234] #1: ffffffffb8169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.058620][ T234] #2: ffffffffb8169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.058623][ T234] #3: ffffffffb8089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.058626][ T234] #4: ffffffffb8089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.058629][ T234] irq event stamp: 4082372 [ 13.058630][ T234] hardirqs last enabled at (4082371): [] __down_trylock_console_sem+0x86/0xa0 [ 13.058634][ T234] hardirqs last disabled at (4082372): [] console_emit_next_record+0x3d4/0x4c0 [ 13.058635][ T234] softirqs last enabled at (4082128): [] tcp_close+0x2b/0xb0 [ 13.058639][ T234] softirqs last disabled at (4082126): [] release_sock+0x21/0x240 [ 13.058643][ T234] Preemption disabled at: [ 13.058643][ T234] [<0000000000000000>] 0x0 [ 13.058651][ T234] CPU: 3 UID: 0 PID: 234 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.058654][ T234] Tainted: [W]=WARN [ 13.058655][ T234] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.058657][ T234] Call Trace: [ 13.058658][ T234] [ 13.058660][ T234] dump_stack_lvl+0x6f/0xa0 [ 13.058665][ T234] __might_resched.cold+0x1fe/0x2c1 [ 13.058670][ T234] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.058673][ T234] ? __kmalloc_noprof+0xdb/0x760 [ 13.058678][ T234] __kmalloc_noprof+0x443/0x760 [ 13.058681][ T234] ? alloc_buf.isra.0+0x4b/0x260 [ 13.058687][ T234] ? do_raw_spin_unlock+0x59/0x250 [ 13.058690][ T234] alloc_buf.isra.0+0x4b/0x260 [ 13.058693][ T234] put_chars+0x1e1/0x2f0 [ 13.058696][ T234] ? __send_to_port+0x420/0x420 [ 13.058698][ T234] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.058702][ T234] ? validate_chain+0x38b/0xc20 [ 13.058708][ T234] hvc_console_print+0x292/0x780 [ 13.058714][ T234] ? hvc_write+0x3a0/0x3a0 [ 13.058716][ T234] ? rcu_is_watching+0x16/0xd0 [ 13.058718][ T234] ? lock_acquire+0x13c/0x160 [ 13.058723][ T234] console_emit_next_record+0x22f/0x4c0 [ 13.058726][ T234] ? devkmsg_read+0x4b0/0x4b0 [ 13.058728][ T234] ? console_flush_one_record+0x106/0x710 [ 13.058730][ T234] ? rcu_is_watching+0x16/0xd0 [ 13.058732][ T234] ? lock_acquire+0x13c/0x160 [ 13.058736][ T234] console_flush_one_record+0x46f/0x710 [ 13.058740][ T234] ? console_emit_next_record+0x4c0/0x4c0 [ 13.058741][ T234] ? __lock_acquire+0x518/0xc20 [ 13.058746][ T234] console_unlock+0xee/0x1f0 [ 13.058749][ T234] ? console_flush_one_record+0x710/0x710 [ 13.058750][ T234] ? rcu_is_watching+0x16/0xd0 [ 13.058752][ T234] ? lock_acquire+0x60/0x160 [ 13.058756][ T234] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.058758][ T234] ? vprintk_emit+0x320/0x3e0 [ 13.058761][ T234] vprintk_emit+0x37c/0x3e0 [ 13.058764][ T234] ? wake_up_klogd_work_func+0x90/0x90 [ 13.058765][ T234] ? do_raw_spin_unlock+0x59/0x250 [ 13.058768][ T234] ? __lock_acquire+0x518/0xc20 [ 13.058772][ T234] _printk+0xc7/0x100 [ 13.058776][ T234] ? snapshot_read.cold+0x21/0x21 [ 13.058779][ T234] ? do_raw_spin_lock+0x131/0x280 [ 13.058782][ T234] ? __rwlock_init+0x150/0x150 [ 13.058786][ T234] ? do_raw_spin_lock+0x131/0x280 [ 13.058789][ T234] do_exit.cold+0x82/0x9c [ 13.058792][ T234] ? exit_notify+0x890/0x890 [ 13.058794][ T234] ? __lock_release.isra.0+0x69/0x1a0 [ 13.058797][ T234] ? rcu_is_watching+0x16/0xd0 [ 13.058800][ T234] do_group_exit+0xb8/0x370 [ 13.058803][ T234] __x64_sys_exit_group+0x3c/0x50 [ 13.058806][ T234] x64_sys_call+0x1567/0x1570 [ 13.058808][ T234] do_syscall_64+0xff/0x530 [ 13.058812][ T234] ? irq_exit_rcu+0x1a/0x30 [ 13.058815][ T234] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.058817][ T234] RIP: 0033:0x479678 [ 13.058819][ T234] Code: Unable to access opcode bytes at 0x47964e. [ 13.058820][ T234] RSP: 002b:00007ffcac5c29c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.058823][ T234] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 13.058825][ T234] RDX: 000000000eaf4708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 13.058825][ T234] RBP: 00007ffcac5c2a20 R08: 0000000000000000 R09: 000000000eaf53e0 [ 13.058826][ T234] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffcac5c2b58 [ 13.058827][ T234] R13: 00007ffcac5c2be0 R14: 0000000000000000 R15: 000000000054d560 [ 13.058834][ T234]