[ 11.038725][ T168] packetdrill (168) used greatest stack depth: 24408 bytes left [ 11.038746][ T168] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.038748][ T168] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 168, name: packetdrill [ 11.038751][ T168] preempt_count: 2, expected: 0 [ 11.038752][ T168] RCU nest depth: 0, expected: 0 [ 11.038753][ T168] locks held by packetdrill/168: 5, last CPU#2: [ 11.038756][ T168] #0: ffffffffb9c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.038770][ T168] #1: ffffffffb9d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.038778][ T168] #2: ffffffffb9d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.038783][ T168] #3: ffffffffb9c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.038788][ T168] #4: ffffffffb9c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.038793][ T168] irq event stamp: 3865926 [ 11.038795][ T168] hardirqs last enabled at (3865925): [] __down_trylock_console_sem+0x86/0xa0 [ 11.038799][ T168] hardirqs last disabled at (3865926): [] console_emit_next_record+0x3d4/0x4c0 [ 11.038802][ T168] softirqs last enabled at (3865680): [] tcp_close+0x2b/0xb0 [ 11.038807][ T168] softirqs last disabled at (3865678): [] release_sock+0x21/0x240 [ 11.038812][ T168] Preemption disabled at: [ 11.038813][ T168] [<0000000000000000>] 0x0 [ 11.038821][ T168] CPU: 2 UID: 0 PID: 168 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.038826][ T168] Tainted: [W]=WARN [ 11.038827][ T168] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.038829][ T168] Call Trace: [ 11.038831][ T168] [ 11.038833][ T168] dump_stack_lvl+0x6f/0xa0 [ 11.038840][ T168] __might_resched.cold+0x1fe/0x2c1 [ 11.038846][ T168] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.038851][ T168] ? __kmalloc_noprof+0xdb/0x760 [ 11.038858][ T168] __kmalloc_noprof+0x443/0x760 [ 11.038862][ T168] ? alloc_buf.isra.0+0x4b/0x260 [ 11.038870][ T168] ? do_raw_spin_unlock+0x59/0x250 [ 11.038874][ T168] alloc_buf.isra.0+0x4b/0x260 [ 11.038880][ T168] put_chars+0x1e1/0x2f0 [ 11.038884][ T168] ? __send_to_port+0x420/0x420 [ 11.038886][ T168] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.038892][ T168] ? validate_chain+0x38b/0xc20 [ 11.038901][ T168] hvc_console_print+0x292/0x780 [ 11.038916][ T168] ? hvc_write+0x3a0/0x3a0 [ 11.038919][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.038922][ T168] ? lock_acquire+0x13c/0x160 [ 11.038929][ T168] console_emit_next_record+0x22f/0x4c0 [ 11.038935][ T168] ? devkmsg_read+0x4b0/0x4b0 [ 11.038937][ T168] ? console_flush_one_record+0x106/0x710 [ 11.038942][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.038945][ T168] ? lock_acquire+0x13c/0x160 [ 11.038952][ T168] console_flush_one_record+0x46f/0x710 [ 11.038958][ T168] ? console_emit_next_record+0x4c0/0x4c0 [ 11.038960][ T168] ? __lock_acquire+0x518/0xc20 [ 11.038969][ T168] console_unlock+0xee/0x1f0 [ 11.038973][ T168] ? console_flush_one_record+0x710/0x710 [ 11.038975][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.038978][ T168] ? lock_acquire+0x60/0x160 [ 11.038984][ T168] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.038987][ T168] ? vprintk_emit+0x320/0x3e0 [ 11.038992][ T168] vprintk_emit+0x37c/0x3e0 [ 11.038997][ T168] ? wake_up_klogd_work_func+0x90/0x90 [ 11.038999][ T168] ? do_raw_spin_unlock+0x59/0x250 [ 11.039004][ T168] ? __lock_acquire+0x518/0xc20 [ 11.039010][ T168] _printk+0xc7/0x100 [ 11.039018][ T168] ? snapshot_read.cold+0x21/0x21 [ 11.039023][ T168] ? do_raw_spin_lock+0x131/0x280 [ 11.039027][ T168] ? __rwlock_init+0x150/0x150 [ 11.039033][ T168] ? do_raw_spin_lock+0x131/0x280 [ 11.039038][ T168] do_exit.cold+0x82/0x9c [ 11.039044][ T168] ? exit_notify+0x890/0x890 [ 11.039046][ T168] ? __lock_release.isra.0+0x69/0x1a0 [ 11.039051][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.039057][ T168] do_group_exit+0xb8/0x370 [ 11.039063][ T168] __x64_sys_exit_group+0x3c/0x50 [ 11.039066][ T168] x64_sys_call+0x1567/0x1570 [ 11.039070][ T168] do_syscall_64+0xff/0x530 [ 11.039074][ T168] ? irq_exit_rcu+0x1a/0x30 [ 11.039078][ T168] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.039082][ T168] RIP: 0033:0x479678 [ 11.039085][ T168] Code: Unable to access opcode bytes at 0x47964e. [ 11.039086][ T168] RSP: 002b:00007fff13c879a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.039089][ T168] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 11.039091][ T168] RDX: 00000000009ca708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 11.039093][ T168] RBP: 00007fff13c87a00 R08: 0000000000000000 R09: 00000000009cb3e0 [ 11.039094][ T168] R10: 0000000000000110 R11: 0000000000000246 R12: 00007fff13c87b38 [ 11.039096][ T168] R13: 00007fff13c87bc0 R14: 0000000000000000 R15: 000000000054d560 [ 11.039108][ T168] [ 12.186783][ T201] packetdrill (201) used greatest stack depth: 23928 bytes left [ 12.186799][ T201] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.186801][ T201] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 201, name: packetdrill [ 12.186802][ T201] preempt_count: 2, expected: 0 [ 12.186803][ T201] RCU nest depth: 0, expected: 0 [ 12.186804][ T201] locks held by packetdrill/201: 5, last CPU#3: [ 12.186807][ T201] #0: ffffffffb9c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.186819][ T201] #1: ffffffffb9d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.186824][ T201] #2: ffffffffb9d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.186828][ T201] #3: ffffffffb9c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.186831][ T201] #4: ffffffffb9c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.186834][ T201] irq event stamp: 4186564 [ 12.186835][ T201] hardirqs last enabled at (4186563): [] __down_trylock_console_sem+0x86/0xa0 [ 12.186839][ T201] hardirqs last disabled at (4186564): [] console_emit_next_record+0x3d4/0x4c0 [ 12.186840][ T201] softirqs last enabled at (4186026): [] handle_softirqs+0x67c/0x900 [ 12.186842][ T201] softirqs last disabled at (4186021): [] __irq_exit_rcu+0x145/0x1c0 [ 12.186844][ T201] Preemption disabled at: [ 12.186845][ T201] [<0000000000000000>] 0x0 [ 12.186852][ T201] CPU: 3 UID: 0 PID: 201 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.186855][ T201] Tainted: [W]=WARN [ 12.186856][ T201] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.186857][ T201] Call Trace: [ 12.186859][ T201] [ 12.186860][ T201] dump_stack_lvl+0x6f/0xa0 [ 12.186866][ T201] __might_resched.cold+0x1fe/0x2c1 [ 12.186871][ T201] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.186874][ T201] ? __kmalloc_noprof+0xdb/0x760 [ 12.186879][ T201] __kmalloc_noprof+0x443/0x760 [ 12.186882][ T201] ? alloc_buf.isra.0+0x4b/0x260 [ 12.186888][ T201] ? do_raw_spin_unlock+0x59/0x250 [ 12.186891][ T201] alloc_buf.isra.0+0x4b/0x260 [ 12.186894][ T201] put_chars+0x1e1/0x2f0 [ 12.186897][ T201] ? __send_to_port+0x420/0x420 [ 12.186899][ T201] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.186903][ T201] ? validate_chain+0x38b/0xc20 [ 12.186909][ T201] hvc_console_print+0x292/0x780 [ 12.186920][ T201] ? hvc_write+0x3a0/0x3a0 [ 12.186923][ T201] ? rcu_is_watching+0x16/0xd0 [ 12.186925][ T201] ? lock_acquire+0x13c/0x160 [ 12.186929][ T201] console_emit_next_record+0x22f/0x4c0 [ 12.186933][ T201] ? devkmsg_read+0x4b0/0x4b0 [ 12.186934][ T201] ? console_flush_one_record+0x106/0x710 [ 12.186937][ T201] ? rcu_is_watching+0x16/0xd0 [ 12.186938][ T201] ? lock_acquire+0x13c/0x160 [ 12.186943][ T201] console_flush_one_record+0x46f/0x710 [ 12.186946][ T201] ? console_emit_next_record+0x4c0/0x4c0 [ 12.186947][ T201] ? __lock_acquire+0x518/0xc20 [ 12.186953][ T201] console_unlock+0xee/0x1f0 [ 12.186955][ T201] ? console_flush_one_record+0x710/0x710 [ 12.186957][ T201] ? rcu_is_watching+0x16/0xd0 [ 12.186958][ T201] ? lock_acquire+0x60/0x160 [ 12.186962][ T201] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.186964][ T201] ? vprintk_emit+0x320/0x3e0 [ 12.186967][ T201] vprintk_emit+0x37c/0x3e0 [ 12.186970][ T201] ? wake_up_klogd_work_func+0x90/0x90 [ 12.186972][ T201] ? do_raw_spin_unlock+0x59/0x250 [ 12.186975][ T201] ? __lock_acquire+0x518/0xc20 [ 12.186979][ T201] _printk+0xc7/0x100 [ 12.186983][ T201] ? snapshot_read.cold+0x21/0x21 [ 12.186985][ T201] ? do_raw_spin_lock+0x131/0x280 [ 12.186988][ T201] ? __rwlock_init+0x150/0x150 [ 12.186992][ T201] ? do_raw_spin_lock+0x131/0x280 [ 12.186995][ T201] do_exit.cold+0x82/0x9c [ 12.186999][ T201] ? exit_notify+0x890/0x890 [ 12.187001][ T201] ? __lock_release.isra.0+0x69/0x1a0 [ 12.187003][ T201] ? rcu_is_watching+0x16/0xd0 [ 12.187007][ T201] do_group_exit+0xb8/0x370 [ 12.187010][ T201] __x64_sys_exit_group+0x3c/0x50 [ 12.187012][ T201] x64_sys_call+0x1567/0x1570 [ 12.187017][ T201] do_syscall_64+0xff/0x530 [ 12.187021][ T201] ? irq_exit_rcu+0x1a/0x30 [ 12.187024][ T201] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.187026][ T201] RIP: 0033:0x479678 [ 12.187028][ T201] Code: Unable to access opcode bytes at 0x47964e. [ 12.187030][ T201] RSP: 002b:00007ffcd8a6ffa8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.187032][ T201] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 12.187033][ T201] RDX: 00000000101d1708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 12.187034][ T201] RBP: 00007ffcd8a70000 R08: 0000000000000000 R09: 00000000101d23e0 [ 12.187035][ T201] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffcd8a70138 [ 12.187036][ T201] R13: 00007ffcd8a701c0 R14: 0000000000000000 R15: 000000000054d560 [ 12.187044][ T201]