[ 16.399696][ T208] packetdrill (208) used greatest stack depth: 23968 bytes left [ 16.399716][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.399718][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: packetdrill [ 16.399720][ T208] preempt_count: 2, expected: 0 [ 16.399721][ T208] RCU nest depth: 0, expected: 0 [ 16.399722][ T208] locks held by packetdrill/208: 5, last CPU#2: [ 16.399724][ T208] #0: ffffffff8e8027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.399738][ T208] #1: ffffffff8e969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.399743][ T208] #2: ffffffff8e969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.399747][ T208] #3: ffffffff8e889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.399751][ T208] #4: ffffffff8e889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.399755][ T208] irq event stamp: 2390152 [ 16.399756][ T208] hardirqs last enabled at (2390151): [] __down_trylock_console_sem+0x86/0xa0 [ 16.399759][ T208] hardirqs last disabled at (2390152): [] console_emit_next_record+0x3d4/0x4c0 [ 16.399761][ T208] softirqs last enabled at (2390060): [] handle_softirqs+0x67c/0x900 [ 16.399763][ T208] softirqs last disabled at (2390055): [] __irq_exit_rcu+0x145/0x1c0 [ 16.399766][ T208] Preemption disabled at: [ 16.399766][ T208] [<0000000000000000>] 0x0 [ 16.399773][ T208] CPU: 2 UID: 0 PID: 208 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.399777][ T208] Tainted: [W]=WARN [ 16.399778][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.399780][ T208] Call Trace: [ 16.399781][ T208] [ 16.399783][ T208] dump_stack_lvl+0x6f/0xa0 [ 16.399788][ T208] __might_resched.cold+0x1fe/0x2c1 [ 16.399793][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.399796][ T208] ? __kmalloc_noprof+0xdb/0x760 [ 16.399802][ T208] __kmalloc_noprof+0x443/0x760 [ 16.399805][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 16.399812][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 16.399815][ T208] alloc_buf.isra.0+0x4b/0x260 [ 16.399819][ T208] put_chars+0x1e1/0x2f0 [ 16.399822][ T208] ? __send_to_port+0x420/0x420 [ 16.399824][ T208] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.399828][ T208] ? validate_chain+0x38b/0xc20 [ 16.399835][ T208] hvc_console_print+0x292/0x780 [ 16.399843][ T208] ? hvc_write+0x3a0/0x3a0 [ 16.399846][ T208] ? rcu_is_watching+0x16/0xd0 [ 16.399848][ T208] ? lock_acquire+0x13c/0x160 [ 16.399854][ T208] console_emit_next_record+0x22f/0x4c0 [ 16.399858][ T208] ? devkmsg_read+0x4b0/0x4b0 [ 16.399860][ T208] ? console_flush_one_record+0x106/0x710 [ 16.399863][ T208] ? rcu_is_watching+0x16/0xd0 [ 16.399865][ T208] ? lock_acquire+0x13c/0x160 [ 16.399870][ T208] console_flush_one_record+0x46f/0x710 [ 16.399875][ T208] ? console_emit_next_record+0x4c0/0x4c0 [ 16.399876][ T208] ? __lock_acquire+0x518/0xc20 [ 16.399884][ T208] console_unlock+0xee/0x1f0 [ 16.399886][ T208] ? console_flush_one_record+0x710/0x710 [ 16.399888][ T208] ? rcu_is_watching+0x16/0xd0 [ 16.399890][ T208] ? lock_acquire+0x60/0x160 [ 16.399894][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.399896][ T208] ? vprintk_emit+0x320/0x3e0 [ 16.399899][ T208] vprintk_emit+0x37c/0x3e0 [ 16.399903][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 16.399906][ T208] ? __lock_acquire+0x518/0xc20 [ 16.399910][ T208] _printk+0xc7/0x100 [ 16.399914][ T208] ? snapshot_read.cold+0x21/0x21 [ 16.399917][ T208] ? do_raw_spin_lock+0x131/0x280 [ 16.399920][ T208] ? __rwlock_init+0x150/0x150 [ 16.399925][ T208] ? do_raw_spin_lock+0x131/0x280 [ 16.399928][ T208] do_exit.cold+0x82/0x9c [ 16.399932][ T208] ? exit_notify+0x890/0x890 [ 16.399933][ T208] ? __lock_release.isra.0+0x69/0x1a0 [ 16.399937][ T208] ? rcu_is_watching+0x16/0xd0 [ 16.399941][ T208] do_group_exit+0xb8/0x370 [ 16.399945][ T208] __x64_sys_exit_group+0x3c/0x50 [ 16.399947][ T208] x64_sys_call+0x1567/0x1570 [ 16.399950][ T208] do_syscall_64+0xff/0x530 [ 16.399954][ T208] ? irq_exit_rcu+0x1a/0x30 [ 16.399957][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.399959][ T208] RIP: 0033:0x479678 [ 16.399962][ T208] Code: Unable to access opcode bytes at 0x47964e. [ 16.399963][ T208] RSP: 002b:00007ffea6debde8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.399966][ T208] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 16.399967][ T208] RDX: 0000000012ae9708 RSI: fffffffffffffff0 RDI: 0000000000000001 [ 16.399968][ T208] RBP: 00007ffea6debe40 R08: 0000000000000000 R09: 0000000012aea3e0 [ 16.399969][ T208] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffea6dec3e8 [ 16.399970][ T208] R13: 00007ffea6dec470 R14: 0000000000000001 R15: 000000000054d560 [ 16.399978][ T208]