[ 13.049601][ T168] packetdrill (168) used greatest stack depth: 24752 bytes left [ 13.049617][ T168] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.049619][ T168] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 168, name: packetdrill [ 13.049621][ T168] preempt_count: 2, expected: 0 [ 13.049621][ T168] RCU nest depth: 0, expected: 0 [ 13.049622][ T168] locks held by packetdrill/168: 5, last CPU#3: [ 13.049624][ T168] #0: ffffffffa34027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.049636][ T168] #1: ffffffffa3569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.049642][ T168] #2: ffffffffa3569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.049645][ T168] #3: ffffffffa3489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.049649][ T168] #4: ffffffffa3489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.049652][ T168] irq event stamp: 4339076 [ 13.049653][ T168] hardirqs last enabled at (4339075): [] __down_trylock_console_sem+0x86/0xa0 [ 13.049657][ T168] hardirqs last disabled at (4339076): [] console_emit_next_record+0x3d4/0x4c0 [ 13.049658][ T168] softirqs last enabled at (4338828): [] tcp_close+0x2b/0xb0 [ 13.049663][ T168] softirqs last disabled at (4338826): [] release_sock+0x21/0x240 [ 13.049667][ T168] Preemption disabled at: [ 13.049667][ T168] [<0000000000000000>] 0x0 [ 13.049675][ T168] CPU: 3 UID: 0 PID: 168 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.049678][ T168] Tainted: [W]=WARN [ 13.049679][ T168] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.049681][ T168] Call Trace: [ 13.049682][ T168] [ 13.049684][ T168] dump_stack_lvl+0x6f/0xa0 [ 13.049690][ T168] __might_resched.cold+0x1fe/0x2c1 [ 13.049694][ T168] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.049698][ T168] ? __kmalloc_noprof+0xdb/0x760 [ 13.049703][ T168] __kmalloc_noprof+0x443/0x760 [ 13.049706][ T168] ? alloc_buf.isra.0+0x4b/0x260 [ 13.049712][ T168] ? do_raw_spin_unlock+0x59/0x250 [ 13.049715][ T168] alloc_buf.isra.0+0x4b/0x260 [ 13.049718][ T168] put_chars+0x1e1/0x2f0 [ 13.049721][ T168] ? __send_to_port+0x420/0x420 [ 13.049723][ T168] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.049727][ T168] ? validate_chain+0x38b/0xc20 [ 13.049732][ T168] hvc_console_print+0x292/0x780 [ 13.049739][ T168] ? hvc_write+0x3a0/0x3a0 [ 13.049742][ T168] ? rcu_is_watching+0x16/0xd0 [ 13.049744][ T168] ? lock_acquire+0x13c/0x160 [ 13.049748][ T168] console_emit_next_record+0x22f/0x4c0 [ 13.049752][ T168] ? devkmsg_read+0x4b0/0x4b0 [ 13.049754][ T168] ? console_flush_one_record+0x106/0x710 [ 13.049756][ T168] ? rcu_is_watching+0x16/0xd0 [ 13.049758][ T168] ? lock_acquire+0x13c/0x160 [ 13.049763][ T168] console_flush_one_record+0x46f/0x710 [ 13.049766][ T168] ? console_emit_next_record+0x4c0/0x4c0 [ 13.049768][ T168] ? __lock_acquire+0x518/0xc20 [ 13.049773][ T168] console_unlock+0xee/0x1f0 [ 13.049775][ T168] ? console_flush_one_record+0x710/0x710 [ 13.049777][ T168] ? rcu_is_watching+0x16/0xd0 [ 13.049778][ T168] ? lock_acquire+0x60/0x160 [ 13.049782][ T168] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.049784][ T168] ? vprintk_emit+0x320/0x3e0 [ 13.049787][ T168] vprintk_emit+0x37c/0x3e0 [ 13.049790][ T168] ? wake_up_klogd_work_func+0x90/0x90 [ 13.049791][ T168] ? do_raw_spin_unlock+0x59/0x250 [ 13.049794][ T168] ? __lock_acquire+0x518/0xc20 [ 13.049798][ T168] _printk+0xc7/0x100 [ 13.049802][ T168] ? snapshot_read.cold+0x21/0x21 [ 13.049804][ T168] ? do_raw_spin_lock+0x131/0x280 [ 13.049807][ T168] ? __rwlock_init+0x150/0x150 [ 13.049811][ T168] ? do_raw_spin_lock+0x131/0x280 [ 13.049814][ T168] do_exit.cold+0x82/0x9c [ 13.049817][ T168] ? exit_notify+0x890/0x890 [ 13.049819][ T168] ? __lock_release.isra.0+0x69/0x1a0 [ 13.049821][ T168] ? rcu_is_watching+0x16/0xd0 [ 13.049826][ T168] do_group_exit+0xb8/0x370 [ 13.049829][ T168] __x64_sys_exit_group+0x3c/0x50 [ 13.049830][ T168] x64_sys_call+0x1567/0x1570 [ 13.049833][ T168] do_syscall_64+0xff/0x530 [ 13.049837][ T168] ? irq_exit_rcu+0x1a/0x30 [ 13.049840][ T168] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.049842][ T168] RIP: 0033:0x479678 [ 13.049844][ T168] Code: Unable to access opcode bytes at 0x47964e. [ 13.049845][ T168] RSP: 002b:00007ffc82fdc508 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.049848][ T168] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 13.049849][ T168] RDX: 000000000df78708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 13.049850][ T168] RBP: 00007ffc82fdc560 R08: 0000000000000000 R09: 000000000df793e0 [ 13.049851][ T168] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffc82fdc698 [ 13.049852][ T168] R13: 00007ffc82fdc720 R14: 0000000000000000 R15: 000000000054d560 [ 13.049859][ T168] [ 16.433948][ T207] packetdrill (207) used greatest stack depth: 23616 bytes left [ 16.433971][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.433973][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: packetdrill [ 16.433975][ T207] preempt_count: 2, expected: 0 [ 16.433976][ T207] RCU nest depth: 0, expected: 0 [ 16.433977][ T207] locks held by packetdrill/207: 5, last CPU#1: [ 16.433979][ T207] #0: ffffffffa34027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.433990][ T207] #1: ffffffffa3569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.433996][ T207] #2: ffffffffa3569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.433999][ T207] #3: ffffffffa3489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.434002][ T207] #4: ffffffffa3489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.434005][ T207] irq event stamp: 3763718 [ 16.434006][ T207] hardirqs last enabled at (3763717): [] __down_trylock_console_sem+0x86/0xa0 [ 16.434010][ T207] hardirqs last disabled at (3763718): [] console_emit_next_record+0x3d4/0x4c0 [ 16.434011][ T207] softirqs last enabled at (3761454): [] handle_softirqs+0x67c/0x900 [ 16.434013][ T207] softirqs last disabled at (3760585): [] __irq_exit_rcu+0x145/0x1c0 [ 16.434016][ T207] Preemption disabled at: [ 16.434017][ T207] [<0000000000000000>] 0x0 [ 16.434024][ T207] CPU: 1 UID: 0 PID: 207 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.434027][ T207] Tainted: [W]=WARN [ 16.434028][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.434030][ T207] Call Trace: [ 16.434031][ T207] [ 16.434033][ T207] dump_stack_lvl+0x6f/0xa0 [ 16.434038][ T207] __might_resched.cold+0x1fe/0x2c1 [ 16.434042][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.434046][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 16.434051][ T207] __kmalloc_noprof+0x443/0x760 [ 16.434053][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 16.434059][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 16.434062][ T207] alloc_buf.isra.0+0x4b/0x260 [ 16.434066][ T207] put_chars+0x1e1/0x2f0 [ 16.434069][ T207] ? __send_to_port+0x420/0x420 [ 16.434070][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.434074][ T207] ? validate_chain+0x38b/0xc20 [ 16.434080][ T207] hvc_console_print+0x292/0x780 [ 16.434086][ T207] ? hvc_write+0x3a0/0x3a0 [ 16.434088][ T207] ? rcu_is_watching+0x16/0xd0 [ 16.434090][ T207] ? lock_acquire+0x13c/0x160 [ 16.434095][ T207] console_emit_next_record+0x22f/0x4c0 [ 16.434098][ T207] ? devkmsg_read+0x4b0/0x4b0 [ 16.434099][ T207] ? console_flush_one_record+0x106/0x710 [ 16.434102][ T207] ? rcu_is_watching+0x16/0xd0 [ 16.434103][ T207] ? lock_acquire+0x13c/0x160 [ 16.434107][ T207] console_flush_one_record+0x46f/0x710 [ 16.434111][ T207] ? console_emit_next_record+0x4c0/0x4c0 [ 16.434112][ T207] ? __lock_acquire+0x518/0xc20 [ 16.434117][ T207] console_unlock+0xee/0x1f0 [ 16.434120][ T207] ? console_flush_one_record+0x710/0x710 [ 16.434121][ T207] ? rcu_is_watching+0x16/0xd0 [ 16.434123][ T207] ? lock_acquire+0x60/0x160 [ 16.434126][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.434128][ T207] ? vprintk_emit+0x320/0x3e0 [ 16.434131][ T207] vprintk_emit+0x37c/0x3e0 [ 16.434134][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 16.434135][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 16.434139][ T207] ? __lock_acquire+0x518/0xc20 [ 16.434142][ T207] _printk+0xc7/0x100 [ 16.434146][ T207] ? snapshot_read.cold+0x21/0x21 [ 16.434149][ T207] ? do_raw_spin_lock+0x131/0x280 [ 16.434151][ T207] ? __rwlock_init+0x150/0x150 [ 16.434155][ T207] ? do_raw_spin_lock+0x131/0x280 [ 16.434158][ T207] do_exit.cold+0x82/0x9c [ 16.434161][ T207] ? exit_notify+0x890/0x890 [ 16.434163][ T207] ? __lock_release.isra.0+0x69/0x1a0 [ 16.434165][ T207] ? rcu_is_watching+0x16/0xd0 [ 16.434169][ T207] do_group_exit+0xb8/0x370 [ 16.434172][ T207] __x64_sys_exit_group+0x3c/0x50 [ 16.434174][ T207] x64_sys_call+0x1567/0x1570 [ 16.434177][ T207] do_syscall_64+0xff/0x530 [ 16.434181][ T207] ? irq_exit_rcu+0x1a/0x30 [ 16.434183][ T207] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.434185][ T207] RIP: 0033:0x479678 [ 16.434188][ T207] Code: Unable to access opcode bytes at 0x47964e. [ 16.434189][ T207] RSP: 002b:00007ffe5b4a3578 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.434191][ T207] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 16.434192][ T207] RDX: 0000000020b46708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 16.434193][ T207] RBP: 00007ffe5b4a35d0 R08: 0000000000000000 R09: 0000000020b473e0 [ 16.434194][ T207] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffe5b4a3708 [ 16.434195][ T207] R13: 00007ffe5b4a3790 R14: 0000000000000000 R15: 000000000054d560 [ 16.434201][ T207]