[ 12.778958][ T167] packetdrill (167) used greatest stack depth: 24664 bytes left [ 12.778975][ T167] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.778977][ T167] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 167, name: packetdrill [ 12.778979][ T167] preempt_count: 2, expected: 0 [ 12.778980][ T167] RCU nest depth: 0, expected: 0 [ 12.778981][ T167] locks held by packetdrill/167: 5, last CPU#2: [ 12.778984][ T167] #0: ffffffffb98027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.778996][ T167] #1: ffffffffb9969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.779001][ T167] #2: ffffffffb9969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.779005][ T167] #3: ffffffffb9889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.779008][ T167] #4: ffffffffb9889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.779012][ T167] irq event stamp: 3957722 [ 12.779013][ T167] hardirqs last enabled at (3957721): [] __down_trylock_console_sem+0x86/0xa0 [ 12.779016][ T167] hardirqs last disabled at (3957722): [] console_emit_next_record+0x3d4/0x4c0 [ 12.779018][ T167] softirqs last enabled at (3957472): [] tcp_close+0x2b/0xb0 [ 12.779022][ T167] softirqs last disabled at (3957470): [] release_sock+0x21/0x240 [ 12.779026][ T167] Preemption disabled at: [ 12.779027][ T167] [<0000000000000000>] 0x0 [ 12.779034][ T167] CPU: 2 UID: 0 PID: 167 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.779038][ T167] Tainted: [W]=WARN [ 12.779039][ T167] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.779041][ T167] Call Trace: [ 12.779043][ T167] [ 12.779045][ T167] dump_stack_lvl+0x6f/0xa0 [ 12.779050][ T167] __might_resched.cold+0x1fe/0x2c1 [ 12.779055][ T167] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.779059][ T167] ? __kmalloc_noprof+0xdb/0x760 [ 12.779065][ T167] __kmalloc_noprof+0x443/0x760 [ 12.779067][ T167] ? alloc_buf.isra.0+0x4b/0x260 [ 12.779074][ T167] ? do_raw_spin_unlock+0x59/0x250 [ 12.779077][ T167] alloc_buf.isra.0+0x4b/0x260 [ 12.779080][ T167] put_chars+0x1e1/0x2f0 [ 12.779083][ T167] ? __send_to_port+0x420/0x420 [ 12.779085][ T167] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.779089][ T167] ? validate_chain+0x38b/0xc20 [ 12.779096][ T167] hvc_console_print+0x292/0x780 [ 12.779103][ T167] ? hvc_write+0x3a0/0x3a0 [ 12.779106][ T167] ? rcu_is_watching+0x16/0xd0 [ 12.779108][ T167] ? lock_acquire+0x13c/0x160 [ 12.779113][ T167] console_emit_next_record+0x22f/0x4c0 [ 12.779117][ T167] ? devkmsg_read+0x4b0/0x4b0 [ 12.779118][ T167] ? console_flush_one_record+0x106/0x710 [ 12.779121][ T167] ? rcu_is_watching+0x16/0xd0 [ 12.779123][ T167] ? lock_acquire+0x13c/0x160 [ 12.779128][ T167] console_flush_one_record+0x46f/0x710 [ 12.779132][ T167] ? console_emit_next_record+0x4c0/0x4c0 [ 12.779134][ T167] ? __lock_acquire+0x518/0xc20 [ 12.779140][ T167] console_unlock+0xee/0x1f0 [ 12.779142][ T167] ? console_flush_one_record+0x710/0x710 [ 12.779144][ T167] ? rcu_is_watching+0x16/0xd0 [ 12.779146][ T167] ? lock_acquire+0x60/0x160 [ 12.779150][ T167] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.779152][ T167] ? vprintk_emit+0x320/0x3e0 [ 12.779155][ T167] vprintk_emit+0x37c/0x3e0 [ 12.779159][ T167] ? wake_up_klogd_work_func+0x90/0x90 [ 12.779162][ T167] ? __lock_acquire+0x518/0xc20 [ 12.779167][ T167] _printk+0xc7/0x100 [ 12.779171][ T167] ? snapshot_read.cold+0x21/0x21 [ 12.779175][ T167] ? do_raw_spin_lock+0x131/0x280 [ 12.779178][ T167] ? __rwlock_init+0x150/0x150 [ 12.779182][ T167] ? do_raw_spin_lock+0x131/0x280 [ 12.779186][ T167] do_exit.cold+0x82/0x9c [ 12.779189][ T167] ? exit_notify+0x890/0x890 [ 12.779191][ T167] ? __lock_release.isra.0+0x69/0x1a0 [ 12.779195][ T167] ? rcu_is_watching+0x16/0xd0 [ 12.779199][ T167] do_group_exit+0xb8/0x370 [ 12.779202][ T167] __x64_sys_exit_group+0x3c/0x50 [ 12.779205][ T167] x64_sys_call+0x1567/0x1570 [ 12.779208][ T167] do_syscall_64+0xff/0x530 [ 12.779211][ T167] ? irq_exit_rcu+0x1a/0x30 [ 12.779214][ T167] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.779217][ T167] RIP: 0033:0x479678 [ 12.779219][ T167] Code: Unable to access opcode bytes at 0x47964e. [ 12.779220][ T167] RSP: 002b:00007ffce2f0be18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.779223][ T167] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 12.779224][ T167] RDX: 000000000ff7a708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 12.779225][ T167] RBP: 00007ffce2f0be70 R08: 0000000000000000 R09: 000000000ff7b3e0 [ 12.779226][ T167] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffce2f0bfa8 [ 12.779227][ T167] R13: 00007ffce2f0c030 R14: 0000000000000000 R15: 000000000054d560 [ 12.779234][ T167] [ 16.433896][ T198] packetdrill (198) used greatest stack depth: 24224 bytes left [ 16.433913][ T198] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.433915][ T198] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 198, name: packetdrill [ 16.433917][ T198] preempt_count: 2, expected: 0 [ 16.433918][ T198] RCU nest depth: 0, expected: 0 [ 16.433919][ T198] locks held by packetdrill/198: 5, last CPU#0: [ 16.433921][ T198] #0: ffffffffb98027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.433933][ T198] #1: ffffffffb9969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.433938][ T198] #2: ffffffffb9969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.433942][ T198] #3: ffffffffb9889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.433949][ T198] #4: ffffffffb9889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.433954][ T198] irq event stamp: 4170898 [ 16.433955][ T198] hardirqs last enabled at (4170897): [] __down_trylock_console_sem+0x86/0xa0 [ 16.433960][ T198] hardirqs last disabled at (4170898): [] console_emit_next_record+0x3d4/0x4c0 [ 16.433962][ T198] softirqs last enabled at (4170654): [] tcp_close+0x2b/0xb0 [ 16.433966][ T198] softirqs last disabled at (4170652): [] release_sock+0x21/0x240 [ 16.433971][ T198] Preemption disabled at: [ 16.433971][ T198] [<0000000000000000>] 0x0 [ 16.433979][ T198] CPU: 0 UID: 0 PID: 198 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.433982][ T198] Tainted: [W]=WARN [ 16.433983][ T198] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.433985][ T198] Call Trace: [ 16.433986][ T198] [ 16.433988][ T198] dump_stack_lvl+0x6f/0xa0 [ 16.433994][ T198] __might_resched.cold+0x1fe/0x2c1 [ 16.433998][ T198] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.434002][ T198] ? __kmalloc_noprof+0xdb/0x760 [ 16.434008][ T198] __kmalloc_noprof+0x443/0x760 [ 16.434010][ T198] ? alloc_buf.isra.0+0x4b/0x260 [ 16.434017][ T198] ? do_raw_spin_unlock+0x59/0x250 [ 16.434020][ T198] alloc_buf.isra.0+0x4b/0x260 [ 16.434024][ T198] put_chars+0x1e1/0x2f0 [ 16.434027][ T198] ? __send_to_port+0x420/0x420 [ 16.434029][ T198] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.434033][ T198] ? validate_chain+0x38b/0xc20 [ 16.434039][ T198] hvc_console_print+0x292/0x780 [ 16.434046][ T198] ? hvc_write+0x3a0/0x3a0 [ 16.434049][ T198] ? rcu_is_watching+0x16/0xd0 [ 16.434051][ T198] ? lock_acquire+0x13c/0x160 [ 16.434055][ T198] console_emit_next_record+0x22f/0x4c0 [ 16.434059][ T198] ? devkmsg_read+0x4b0/0x4b0 [ 16.434061][ T198] ? console_flush_one_record+0x106/0x710 [ 16.434064][ T198] ? rcu_is_watching+0x16/0xd0 [ 16.434066][ T198] ? lock_acquire+0x13c/0x160 [ 16.434071][ T198] console_flush_one_record+0x46f/0x710 [ 16.434075][ T198] ? console_emit_next_record+0x4c0/0x4c0 [ 16.434076][ T198] ? __lock_acquire+0x518/0xc20 [ 16.434082][ T198] console_unlock+0xee/0x1f0 [ 16.434085][ T198] ? console_flush_one_record+0x710/0x710 [ 16.434086][ T198] ? rcu_is_watching+0x16/0xd0 [ 16.434088][ T198] ? lock_acquire+0x60/0x160 [ 16.434093][ T198] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.434095][ T198] ? vprintk_emit+0x320/0x3e0 [ 16.434099][ T198] vprintk_emit+0x37c/0x3e0 [ 16.434102][ T198] ? wake_up_klogd_work_func+0x90/0x90 [ 16.434104][ T198] ? do_raw_spin_unlock+0x59/0x250 [ 16.434107][ T198] ? __lock_acquire+0x518/0xc20 [ 16.434112][ T198] _printk+0xc7/0x100 [ 16.434116][ T198] ? snapshot_read.cold+0x21/0x21 [ 16.434119][ T198] ? do_raw_spin_lock+0x131/0x280 [ 16.434122][ T198] ? __rwlock_init+0x150/0x150 [ 16.434127][ T198] ? do_raw_spin_lock+0x131/0x280 [ 16.434130][ T198] do_exit.cold+0x82/0x9c [ 16.434134][ T198] ? exit_notify+0x890/0x890 [ 16.434136][ T198] ? __lock_release.isra.0+0x69/0x1a0 [ 16.434140][ T198] ? rcu_is_watching+0x16/0xd0 [ 16.434144][ T198] do_group_exit+0xb8/0x370 [ 16.434148][ T198] __x64_sys_exit_group+0x3c/0x50 [ 16.434150][ T198] x64_sys_call+0x1567/0x1570 [ 16.434153][ T198] do_syscall_64+0xff/0x530 [ 16.434156][ T198] ? irq_exit_rcu+0x1a/0x30 [ 16.434160][ T198] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.434162][ T198] RIP: 0033:0x479678 [ 16.434165][ T198] Code: Unable to access opcode bytes at 0x47964e. [ 16.434166][ T198] RSP: 002b:00007fff6a0c40c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.434168][ T198] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 16.434170][ T198] RDX: 000000003dbb5708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 16.434171][ T198] RBP: 00007fff6a0c4120 R08: 0000000000000000 R09: 000000003dbb63e0 [ 16.434172][ T198] R10: 0000000000000110 R11: 0000000000000246 R12: 00007fff6a0c4258 [ 16.434173][ T198] R13: 00007fff6a0c42e0 R14: 0000000000000000 R15: 000000000054d560 [ 16.434181][ T198]