[ 9.907624][ T167] packetdrill (167) used greatest stack depth: 24392 bytes left [ 9.907640][ T167] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.907642][ T167] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 167, name: packetdrill [ 9.907643][ T167] preempt_count: 2, expected: 0 [ 9.907644][ T167] RCU nest depth: 0, expected: 0 [ 9.907645][ T167] locks held by packetdrill/167: 5, last CPU#0: [ 9.907647][ T167] #0: ffffffff936027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.907659][ T167] #1: ffffffff93769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.907664][ T167] #2: ffffffff93769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.907668][ T167] #3: ffffffff93689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.907671][ T167] #4: ffffffff93689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.907674][ T167] irq event stamp: 4095528 [ 9.907674][ T167] hardirqs last enabled at (4095527): [] __down_trylock_console_sem+0x86/0xa0 [ 9.907678][ T167] hardirqs last disabled at (4095528): [] console_emit_next_record+0x3d4/0x4c0 [ 9.907679][ T167] softirqs last enabled at (4095282): [] tcp_close+0x2b/0xb0 [ 9.907683][ T167] softirqs last disabled at (4095280): [] release_sock+0x21/0x240 [ 9.907687][ T167] Preemption disabled at: [ 9.907688][ T167] [<0000000000000000>] 0x0 [ 9.907695][ T167] CPU: 0 UID: 0 PID: 167 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.907698][ T167] Tainted: [W]=WARN [ 9.907699][ T167] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.907700][ T167] Call Trace: [ 9.907702][ T167] [ 9.907703][ T167] dump_stack_lvl+0x6f/0xa0 [ 9.907709][ T167] __might_resched.cold+0x1fe/0x2c1 [ 9.907713][ T167] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.907716][ T167] ? __kmalloc_noprof+0xdb/0x760 [ 9.907721][ T167] __kmalloc_noprof+0x443/0x760 [ 9.907724][ T167] ? alloc_buf.isra.0+0x4b/0x260 [ 9.907730][ T167] ? do_raw_spin_unlock+0x59/0x250 [ 9.907733][ T167] alloc_buf.isra.0+0x4b/0x260 [ 9.907736][ T167] put_chars+0x1e1/0x2f0 [ 9.907739][ T167] ? __send_to_port+0x420/0x420 [ 9.907741][ T167] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.907745][ T167] ? validate_chain+0x38b/0xc20 [ 9.907750][ T167] hvc_console_print+0x292/0x780 [ 9.907757][ T167] ? hvc_write+0x3a0/0x3a0 [ 9.907759][ T167] ? rcu_is_watching+0x16/0xd0 [ 9.907761][ T167] ? lock_acquire+0x13c/0x160 [ 9.907765][ T167] console_emit_next_record+0x22f/0x4c0 [ 9.907769][ T167] ? devkmsg_read+0x4b0/0x4b0 [ 9.907770][ T167] ? console_flush_one_record+0x106/0x710 [ 9.907773][ T167] ? rcu_is_watching+0x16/0xd0 [ 9.907775][ T167] ? lock_acquire+0x13c/0x160 [ 9.907779][ T167] console_flush_one_record+0x46f/0x710 [ 9.907782][ T167] ? console_emit_next_record+0x4c0/0x4c0 [ 9.907783][ T167] ? __lock_acquire+0x518/0xc20 [ 9.907789][ T167] console_unlock+0xee/0x1f0 [ 9.907791][ T167] ? console_flush_one_record+0x710/0x710 [ 9.907792][ T167] ? rcu_is_watching+0x16/0xd0 [ 9.907794][ T167] ? lock_acquire+0x60/0x160 [ 9.907798][ T167] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.907800][ T167] ? vprintk_emit+0x320/0x3e0 [ 9.907802][ T167] vprintk_emit+0x37c/0x3e0 [ 9.907806][ T167] ? wake_up_klogd_work_func+0x90/0x90 [ 9.907807][ T167] ? do_raw_spin_unlock+0x59/0x250 [ 9.907810][ T167] ? __lock_acquire+0x518/0xc20 [ 9.907814][ T167] _printk+0xc7/0x100 [ 9.907818][ T167] ? snapshot_read.cold+0x21/0x21 [ 9.907821][ T167] ? do_raw_spin_lock+0x131/0x280 [ 9.907823][ T167] ? __rwlock_init+0x150/0x150 [ 9.907827][ T167] ? do_raw_spin_lock+0x131/0x280 [ 9.907830][ T167] do_exit.cold+0x82/0x9c [ 9.907833][ T167] ? exit_notify+0x890/0x890 [ 9.907835][ T167] ? __lock_release.isra.0+0x69/0x1a0 [ 9.907838][ T167] ? rcu_is_watching+0x16/0xd0 [ 9.907841][ T167] do_group_exit+0xb8/0x370 [ 9.907844][ T167] __x64_sys_exit_group+0x3c/0x50 [ 9.907846][ T167] x64_sys_call+0x1567/0x1570 [ 9.907849][ T167] do_syscall_64+0xff/0x530 [ 9.907853][ T167] ? irq_exit_rcu+0x1a/0x30 [ 9.907856][ T167] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.907858][ T167] RIP: 0033:0x479678 [ 9.907860][ T167] Code: Unable to access opcode bytes at 0x47964e. [ 9.907862][ T167] RSP: 002b:00007ffd2da56bc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.907864][ T167] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 9.907865][ T167] RDX: 0000000031e30708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 9.907866][ T167] RBP: 00007ffd2da56c20 R08: 0000000000000000 R09: 0000000031e313e0 [ 9.907867][ T167] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffd2da56d58 [ 9.907868][ T167] R13: 00007ffd2da56de0 R14: 0000000000000000 R15: 000000000054d560 [ 9.907875][ T167] [ 11.277829][ T232] packetdrill (232) used greatest stack depth: 24328 bytes left [ 11.277847][ T232] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.277849][ T232] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 232, name: packetdrill [ 11.277850][ T232] preempt_count: 2, expected: 0 [ 11.277851][ T232] RCU nest depth: 0, expected: 0 [ 11.277852][ T232] locks held by packetdrill/232: 5, last CPU#1: [ 11.277855][ T232] #0: ffffffff936027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.277867][ T232] #1: ffffffff93769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.277872][ T232] #2: ffffffff93769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.277875][ T232] #3: ffffffff93689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.277879][ T232] #4: ffffffff93689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.277882][ T232] irq event stamp: 3977360 [ 11.277883][ T232] hardirqs last enabled at (3977359): [] __down_trylock_console_sem+0x86/0xa0 [ 11.277886][ T232] hardirqs last disabled at (3977360): [] console_emit_next_record+0x3d4/0x4c0 [ 11.277888][ T232] softirqs last enabled at (3977130): [] tcp_close+0x2b/0xb0 [ 11.277892][ T232] softirqs last disabled at (3977128): [] release_sock+0x21/0x240 [ 11.277896][ T232] Preemption disabled at: [ 11.277897][ T232] [<0000000000000000>] 0x0 [ 11.277904][ T232] CPU: 1 UID: 0 PID: 232 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.277907][ T232] Tainted: [W]=WARN [ 11.277908][ T232] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.277910][ T232] Call Trace: [ 11.277911][ T232] [ 11.277913][ T232] dump_stack_lvl+0x6f/0xa0 [ 11.277918][ T232] __might_resched.cold+0x1fe/0x2c1 [ 11.277923][ T232] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.277926][ T232] ? __kmalloc_noprof+0xdb/0x760 [ 11.277931][ T232] __kmalloc_noprof+0x443/0x760 [ 11.277934][ T232] ? alloc_buf.isra.0+0x4b/0x260 [ 11.277939][ T232] ? do_raw_spin_unlock+0x59/0x250 [ 11.277942][ T232] alloc_buf.isra.0+0x4b/0x260 [ 11.277946][ T232] put_chars+0x1e1/0x2f0 [ 11.277949][ T232] ? __send_to_port+0x420/0x420 [ 11.277950][ T232] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.277954][ T232] ? validate_chain+0x38b/0xc20 [ 11.277960][ T232] hvc_console_print+0x292/0x780 [ 11.277966][ T232] ? hvc_write+0x3a0/0x3a0 [ 11.277968][ T232] ? rcu_is_watching+0x16/0xd0 [ 11.277970][ T232] ? lock_acquire+0x13c/0x160 [ 11.277974][ T232] console_emit_next_record+0x22f/0x4c0 [ 11.277978][ T232] ? devkmsg_read+0x4b0/0x4b0 [ 11.277979][ T232] ? console_flush_one_record+0x106/0x710 [ 11.277982][ T232] ? rcu_is_watching+0x16/0xd0 [ 11.277984][ T232] ? lock_acquire+0x13c/0x160 [ 11.277988][ T232] console_flush_one_record+0x46f/0x710 [ 11.277992][ T232] ? console_emit_next_record+0x4c0/0x4c0 [ 11.277993][ T232] ? __lock_acquire+0x518/0xc20 [ 11.277998][ T232] console_unlock+0xee/0x1f0 [ 11.278000][ T232] ? console_flush_one_record+0x710/0x710 [ 11.278002][ T232] ? rcu_is_watching+0x16/0xd0 [ 11.278004][ T232] ? lock_acquire+0x60/0x160 [ 11.278007][ T232] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.278009][ T232] ? vprintk_emit+0x320/0x3e0 [ 11.278012][ T232] vprintk_emit+0x37c/0x3e0 [ 11.278015][ T232] ? wake_up_klogd_work_func+0x90/0x90 [ 11.278017][ T232] ? do_raw_spin_unlock+0x59/0x250 [ 11.278020][ T232] ? __lock_acquire+0x518/0xc20 [ 11.278024][ T232] _printk+0xc7/0x100 [ 11.278027][ T232] ? snapshot_read.cold+0x21/0x21 [ 11.278030][ T232] ? do_raw_spin_lock+0x131/0x280 [ 11.278033][ T232] ? __rwlock_init+0x150/0x150 [ 11.278040][ T232] ? do_raw_spin_lock+0x131/0x280 [ 11.278043][ T232] do_exit.cold+0x82/0x9c [ 11.278047][ T232] ? exit_notify+0x890/0x890 [ 11.278048][ T232] ? __lock_release.isra.0+0x69/0x1a0 [ 11.278051][ T232] ? rcu_is_watching+0x16/0xd0 [ 11.278055][ T232] do_group_exit+0xb8/0x370 [ 11.278058][ T232] __x64_sys_exit_group+0x3c/0x50 [ 11.278060][ T232] x64_sys_call+0x1567/0x1570 [ 11.278062][ T232] do_syscall_64+0xff/0x530 [ 11.278066][ T232] ? irq_exit_rcu+0x1a/0x30 [ 11.278069][ T232] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.278071][ T232] RIP: 0033:0x479678 [ 11.278074][ T232] Code: Unable to access opcode bytes at 0x47964e. [ 11.278075][ T232] RSP: 002b:00007fff60443488 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.278077][ T232] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 11.278079][ T232] RDX: 0000000024227708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 11.278079][ T232] RBP: 00007fff604434e0 R08: 0000000000000000 R09: 00000000242283e0 [ 11.278080][ T232] R10: 0000000000000110 R11: 0000000000000246 R12: 00007fff60443618 [ 11.278081][ T232] R13: 00007fff604436a0 R14: 0000000000000000 R15: 000000000054d560 [ 11.278088][ T232]