[ 11.643802][ T202] packetdrill (202) used greatest stack depth: 24120 bytes left [ 11.643819][ T202] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.643822][ T202] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 202, name: packetdrill [ 11.643823][ T202] preempt_count: 2, expected: 0 [ 11.643824][ T202] RCU nest depth: 0, expected: 0 [ 11.643825][ T202] locks held by packetdrill/202: 5, last CPU#2: [ 11.643827][ T202] #0: ffffffffa44027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.643840][ T202] #1: ffffffffa4569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.643845][ T202] #2: ffffffffa4569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.643848][ T202] #3: ffffffffa4489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.643851][ T202] #4: ffffffffa4489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.643855][ T202] irq event stamp: 4063168 [ 11.643856][ T202] hardirqs last enabled at (4063167): [] __down_trylock_console_sem+0x86/0xa0 [ 11.643859][ T202] hardirqs last disabled at (4063168): [] console_emit_next_record+0x3d4/0x4c0 [ 11.643860][ T202] softirqs last enabled at (4063114): [] handle_softirqs+0x67c/0x900 [ 11.643862][ T202] softirqs last disabled at (4063107): [] __irq_exit_rcu+0x145/0x1c0 [ 11.643865][ T202] Preemption disabled at: [ 11.643865][ T202] [<0000000000000000>] 0x0 [ 11.643872][ T202] CPU: 2 UID: 0 PID: 202 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.643876][ T202] Tainted: [W]=WARN [ 11.643877][ T202] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.643878][ T202] Call Trace: [ 11.643880][ T202] [ 11.643881][ T202] dump_stack_lvl+0x6f/0xa0 [ 11.643887][ T202] __might_resched.cold+0x1fe/0x2c1 [ 11.643892][ T202] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.643895][ T202] ? __kmalloc_noprof+0xdb/0x760 [ 11.643900][ T202] __kmalloc_noprof+0x443/0x760 [ 11.643903][ T202] ? alloc_buf.isra.0+0x4b/0x260 [ 11.643909][ T202] ? do_raw_spin_unlock+0x59/0x250 [ 11.643912][ T202] alloc_buf.isra.0+0x4b/0x260 [ 11.643915][ T202] put_chars+0x1e1/0x2f0 [ 11.643919][ T202] ? __send_to_port+0x420/0x420 [ 11.643920][ T202] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.643924][ T202] ? validate_chain+0x38b/0xc20 [ 11.643930][ T202] hvc_console_print+0x292/0x780 [ 11.643936][ T202] ? hvc_write+0x3a0/0x3a0 [ 11.643939][ T202] ? rcu_is_watching+0x16/0xd0 [ 11.643941][ T202] ? lock_acquire+0x13c/0x160 [ 11.643945][ T202] console_emit_next_record+0x22f/0x4c0 [ 11.643948][ T202] ? devkmsg_read+0x4b0/0x4b0 [ 11.643949][ T202] ? console_flush_one_record+0x106/0x710 [ 11.643952][ T202] ? rcu_is_watching+0x16/0xd0 [ 11.643954][ T202] ? lock_acquire+0x13c/0x160 [ 11.643958][ T202] console_flush_one_record+0x46f/0x710 [ 11.643961][ T202] ? console_emit_next_record+0x4c0/0x4c0 [ 11.643962][ T202] ? __lock_acquire+0x518/0xc20 [ 11.643968][ T202] console_unlock+0xee/0x1f0 [ 11.643970][ T202] ? console_flush_one_record+0x710/0x710 [ 11.643971][ T202] ? rcu_is_watching+0x16/0xd0 [ 11.643973][ T202] ? lock_acquire+0x60/0x160 [ 11.643977][ T202] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.643979][ T202] ? vprintk_emit+0x320/0x3e0 [ 11.643982][ T202] vprintk_emit+0x37c/0x3e0 [ 11.643985][ T202] ? wake_up_klogd_work_func+0x90/0x90 [ 11.643988][ T202] ? __lock_acquire+0x518/0xc20 [ 11.643991][ T202] _printk+0xc7/0x100 [ 11.643995][ T202] ? snapshot_read.cold+0x21/0x21 [ 11.643998][ T202] ? do_raw_spin_lock+0x131/0x280 [ 11.644001][ T202] ? __rwlock_init+0x150/0x150 [ 11.644005][ T202] ? do_raw_spin_lock+0x131/0x280 [ 11.644008][ T202] do_exit.cold+0x82/0x9c [ 11.644011][ T202] ? exit_notify+0x890/0x890 [ 11.644013][ T202] ? __lock_release.isra.0+0x69/0x1a0 [ 11.644015][ T202] ? rcu_is_watching+0x16/0xd0 [ 11.644019][ T202] do_group_exit+0xb8/0x370 [ 11.644022][ T202] __x64_sys_exit_group+0x3c/0x50 [ 11.644024][ T202] x64_sys_call+0x1567/0x1570 [ 11.644027][ T202] do_syscall_64+0xff/0x530 [ 11.644030][ T202] ? irq_exit_rcu+0x1a/0x30 [ 11.644033][ T202] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.644036][ T202] RIP: 0033:0x479678 [ 11.644038][ T202] Code: Unable to access opcode bytes at 0x47964e. [ 11.644039][ T202] RSP: 002b:00007fffcfced138 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.644041][ T202] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 11.644043][ T202] RDX: 0000000006ddb708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 11.644043][ T202] RBP: 00007fffcfced190 R08: 0000000000000000 R09: 0000000006ddc3e0 [ 11.644044][ T202] R10: 0000000000000110 R11: 0000000000000246 R12: 00007fffcfced2c8 [ 11.644045][ T202] R13: 00007fffcfced350 R14: 0000000000000000 R15: 000000000054d560 [ 11.644052][ T202]