[ 11.923555][ T168] packetdrill (168) used greatest stack depth: 24488 bytes left [ 11.923576][ T168] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.923579][ T168] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 168, name: packetdrill [ 11.923581][ T168] preempt_count: 2, expected: 0 [ 11.923582][ T168] RCU nest depth: 0, expected: 0 [ 11.923583][ T168] locks held by packetdrill/168: 5, last CPU#0: [ 11.923586][ T168] #0: ffffffffa7c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.923600][ T168] #1: ffffffffa7d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.923608][ T168] #2: ffffffffa7d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.923612][ T168] #3: ffffffffa7c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.923617][ T168] #4: ffffffffa7c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.923622][ T168] irq event stamp: 4095694 [ 11.923623][ T168] hardirqs last enabled at (4095693): [] __down_trylock_console_sem+0x86/0xa0 [ 11.923628][ T168] hardirqs last disabled at (4095694): [] console_emit_next_record+0x3d4/0x4c0 [ 11.923630][ T168] softirqs last enabled at (4095462): [] tcp_close+0x2b/0xb0 [ 11.923635][ T168] softirqs last disabled at (4095460): [] release_sock+0x21/0x240 [ 11.923640][ T168] Preemption disabled at: [ 11.923640][ T168] [<0000000000000000>] 0x0 [ 11.923649][ T168] CPU: 0 UID: 0 PID: 168 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.923654][ T168] Tainted: [W]=WARN [ 11.923656][ T168] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.923658][ T168] Call Trace: [ 11.923660][ T168] [ 11.923662][ T168] dump_stack_lvl+0x6f/0xa0 [ 11.923669][ T168] __might_resched.cold+0x1fe/0x2c1 [ 11.923675][ T168] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.923679][ T168] ? __kmalloc_noprof+0xdb/0x760 [ 11.923686][ T168] __kmalloc_noprof+0x443/0x760 [ 11.923690][ T168] ? alloc_buf.isra.0+0x4b/0x260 [ 11.923698][ T168] ? do_raw_spin_unlock+0x59/0x250 [ 11.923701][ T168] alloc_buf.isra.0+0x4b/0x260 [ 11.923707][ T168] put_chars+0x1e1/0x2f0 [ 11.923711][ T168] ? __send_to_port+0x420/0x420 [ 11.923713][ T168] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.923719][ T168] ? validate_chain+0x38b/0xc20 [ 11.923727][ T168] hvc_console_print+0x292/0x780 [ 11.923738][ T168] ? hvc_write+0x3a0/0x3a0 [ 11.923741][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.923744][ T168] ? lock_acquire+0x13c/0x160 [ 11.923751][ T168] console_emit_next_record+0x22f/0x4c0 [ 11.923756][ T168] ? devkmsg_read+0x4b0/0x4b0 [ 11.923758][ T168] ? console_flush_one_record+0x106/0x710 [ 11.923762][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.923765][ T168] ? lock_acquire+0x13c/0x160 [ 11.923771][ T168] console_flush_one_record+0x46f/0x710 [ 11.923777][ T168] ? console_emit_next_record+0x4c0/0x4c0 [ 11.923779][ T168] ? __lock_acquire+0x518/0xc20 [ 11.923787][ T168] console_unlock+0xee/0x1f0 [ 11.923791][ T168] ? console_flush_one_record+0x710/0x710 [ 11.923793][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.923796][ T168] ? lock_acquire+0x60/0x160 [ 11.923802][ T168] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.923804][ T168] ? vprintk_emit+0x320/0x3e0 [ 11.923809][ T168] vprintk_emit+0x37c/0x3e0 [ 11.923814][ T168] ? wake_up_klogd_work_func+0x90/0x90 [ 11.923819][ T168] ? __lock_acquire+0x518/0xc20 [ 11.923824][ T168] _printk+0xc7/0x100 [ 11.923829][ T168] ? snapshot_read.cold+0x21/0x21 [ 11.923833][ T168] ? do_raw_spin_lock+0x131/0x280 [ 11.923837][ T168] ? __rwlock_init+0x150/0x150 [ 11.923843][ T168] ? do_raw_spin_lock+0x131/0x280 [ 11.923848][ T168] do_exit.cold+0x82/0x9c [ 11.923852][ T168] ? exit_notify+0x890/0x890 [ 11.923854][ T168] ? __lock_release.isra.0+0x69/0x1a0 [ 11.923859][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.923865][ T168] do_group_exit+0xb8/0x370 [ 11.923870][ T168] __x64_sys_exit_group+0x3c/0x50 [ 11.923872][ T168] x64_sys_call+0x1567/0x1570 [ 11.923876][ T168] do_syscall_64+0xff/0x530 [ 11.923880][ T168] ? irq_exit_rcu+0x1a/0x30 [ 11.923884][ T168] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.923887][ T168] RIP: 0033:0x479678 [ 11.923890][ T168] Code: Unable to access opcode bytes at 0x47964e. [ 11.923891][ T168] RSP: 002b:00007ffd1fd6fa48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.923895][ T168] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 11.923897][ T168] RDX: 00000000176cf708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 11.923898][ T168] RBP: 00007ffd1fd6faa0 R08: 0000000000000000 R09: 00000000176d03e0 [ 11.923899][ T168] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffd1fd6fbd8 [ 11.923901][ T168] R13: 00007ffd1fd6fc60 R14: 0000000000000000 R15: 000000000054d560 [ 11.923912][ T168] [ 13.908483][ T204] packetdrill (204) used greatest stack depth: 24456 bytes left [ 13.908502][ T204] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.908505][ T204] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 204, name: packetdrill [ 13.908506][ T204] preempt_count: 2, expected: 0 [ 13.908507][ T204] RCU nest depth: 0, expected: 0 [ 13.908508][ T204] locks held by packetdrill/204: 5, last CPU#2: [ 13.908511][ T204] #0: ffffffffa7c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.908523][ T204] #1: ffffffffa7d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.908528][ T204] #2: ffffffffa7d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.908532][ T204] #3: ffffffffa7c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.908535][ T204] #4: ffffffffa7c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.908539][ T204] irq event stamp: 4176292 [ 13.908540][ T204] hardirqs last enabled at (4176291): [] __down_trylock_console_sem+0x86/0xa0 [ 13.908543][ T204] hardirqs last disabled at (4176292): [] console_emit_next_record+0x3d4/0x4c0 [ 13.908544][ T204] softirqs last enabled at (4176064): [] tcp_close+0x2b/0xb0 [ 13.908548][ T204] softirqs last disabled at (4176062): [] release_sock+0x21/0x240 [ 13.908552][ T204] Preemption disabled at: [ 13.908552][ T204] [<0000000000000000>] 0x0 [ 13.908559][ T204] CPU: 2 UID: 0 PID: 204 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.908563][ T204] Tainted: [W]=WARN [ 13.908564][ T204] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.908566][ T204] Call Trace: [ 13.908568][ T204] [ 13.908570][ T204] dump_stack_lvl+0x6f/0xa0 [ 13.908575][ T204] __might_resched.cold+0x1fe/0x2c1 [ 13.908580][ T204] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.908583][ T204] ? __kmalloc_noprof+0xdb/0x760 [ 13.908588][ T204] __kmalloc_noprof+0x443/0x760 [ 13.908591][ T204] ? alloc_buf.isra.0+0x4b/0x260 [ 13.908596][ T204] ? do_raw_spin_unlock+0x59/0x250 [ 13.908599][ T204] alloc_buf.isra.0+0x4b/0x260 [ 13.908602][ T204] put_chars+0x1e1/0x2f0 [ 13.908605][ T204] ? __send_to_port+0x420/0x420 [ 13.908607][ T204] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.908611][ T204] ? validate_chain+0x38b/0xc20 [ 13.908616][ T204] hvc_console_print+0x292/0x780 [ 13.908623][ T204] ? hvc_write+0x3a0/0x3a0 [ 13.908625][ T204] ? rcu_is_watching+0x16/0xd0 [ 13.908627][ T204] ? lock_acquire+0x13c/0x160 [ 13.908631][ T204] console_emit_next_record+0x22f/0x4c0 [ 13.908635][ T204] ? devkmsg_read+0x4b0/0x4b0 [ 13.908636][ T204] ? console_flush_one_record+0x106/0x710 [ 13.908639][ T204] ? rcu_is_watching+0x16/0xd0 [ 13.908641][ T204] ? lock_acquire+0x13c/0x160 [ 13.908644][ T204] console_flush_one_record+0x46f/0x710 [ 13.908648][ T204] ? console_emit_next_record+0x4c0/0x4c0 [ 13.908649][ T204] ? __lock_acquire+0x518/0xc20 [ 13.908654][ T204] console_unlock+0xee/0x1f0 [ 13.908657][ T204] ? console_flush_one_record+0x710/0x710 [ 13.908658][ T204] ? rcu_is_watching+0x16/0xd0 [ 13.908660][ T204] ? lock_acquire+0x60/0x160 [ 13.908664][ T204] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.908665][ T204] ? vprintk_emit+0x320/0x3e0 [ 13.908668][ T204] vprintk_emit+0x37c/0x3e0 [ 13.908671][ T204] ? wake_up_klogd_work_func+0x90/0x90 [ 13.908674][ T204] ? __lock_acquire+0x518/0xc20 [ 13.908678][ T204] _printk+0xc7/0x100 [ 13.908681][ T204] ? snapshot_read.cold+0x21/0x21 [ 13.908684][ T204] ? do_raw_spin_lock+0x131/0x280 [ 13.908687][ T204] ? __rwlock_init+0x150/0x150 [ 13.908691][ T204] ? do_raw_spin_lock+0x131/0x280 [ 13.908693][ T204] do_exit.cold+0x82/0x9c [ 13.908697][ T204] ? exit_notify+0x890/0x890 [ 13.908698][ T204] ? __lock_release.isra.0+0x69/0x1a0 [ 13.908701][ T204] ? rcu_is_watching+0x16/0xd0 [ 13.908705][ T204] do_group_exit+0xb8/0x370 [ 13.908708][ T204] __x64_sys_exit_group+0x3c/0x50 [ 13.908709][ T204] x64_sys_call+0x1567/0x1570 [ 13.908712][ T204] do_syscall_64+0xff/0x530 [ 13.908716][ T204] ? irq_exit_rcu+0x1a/0x30 [ 13.908719][ T204] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.908721][ T204] RIP: 0033:0x479678 [ 13.908723][ T204] Code: Unable to access opcode bytes at 0x47964e. [ 13.908724][ T204] RSP: 002b:00007ffc48001de8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.908727][ T204] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 13.908729][ T204] RDX: 000000001e5cb708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 13.908730][ T204] RBP: 00007ffc48001e40 R08: 0000000000000000 R09: 000000001e5cc3e0 [ 13.908731][ T204] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffc48001f78 [ 13.908731][ T204] R13: 00007ffc48002000 R14: 0000000000000000 R15: 000000000054d560 [ 13.908738][ T204]