[ 11.421672][ T168] packetdrill (168) used greatest stack depth: 24520 bytes left [ 11.421692][ T168] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.421694][ T168] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 168, name: packetdrill [ 11.421696][ T168] preempt_count: 2, expected: 0 [ 11.421696][ T168] RCU nest depth: 0, expected: 0 [ 11.421698][ T168] locks held by packetdrill/168: 5, last CPU#2: [ 11.421706][ T168] #0: ffffffffa42027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.421718][ T168] #1: ffffffffa4369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.421723][ T168] #2: ffffffffa4369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.421726][ T168] #3: ffffffffa4289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.421729][ T168] #4: ffffffffa4289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.421733][ T168] irq event stamp: 2336154 [ 11.421734][ T168] hardirqs last enabled at (2336153): [] __down_trylock_console_sem+0x86/0xa0 [ 11.421737][ T168] hardirqs last disabled at (2336154): [] console_emit_next_record+0x3d4/0x4c0 [ 11.421738][ T168] softirqs last enabled at (2336000): [] handle_softirqs+0x67c/0x900 [ 11.421741][ T168] softirqs last disabled at (2335589): [] __irq_exit_rcu+0x145/0x1c0 [ 11.421743][ T168] Preemption disabled at: [ 11.421744][ T168] [<0000000000000000>] 0x0 [ 11.421751][ T168] CPU: 2 UID: 0 PID: 168 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.421754][ T168] Tainted: [W]=WARN [ 11.421755][ T168] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.421757][ T168] Call Trace: [ 11.421759][ T168] [ 11.421760][ T168] dump_stack_lvl+0x6f/0xa0 [ 11.421766][ T168] __might_resched.cold+0x1fe/0x2c1 [ 11.421770][ T168] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.421774][ T168] ? __kmalloc_noprof+0xdb/0x760 [ 11.421779][ T168] __kmalloc_noprof+0x443/0x760 [ 11.421781][ T168] ? alloc_buf.isra.0+0x4b/0x260 [ 11.421788][ T168] ? do_raw_spin_unlock+0x59/0x250 [ 11.421790][ T168] alloc_buf.isra.0+0x4b/0x260 [ 11.421794][ T168] put_chars+0x1e1/0x2f0 [ 11.421797][ T168] ? __send_to_port+0x420/0x420 [ 11.421798][ T168] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.421803][ T168] ? validate_chain+0x38b/0xc20 [ 11.421808][ T168] hvc_console_print+0x292/0x780 [ 11.421815][ T168] ? hvc_write+0x3a0/0x3a0 [ 11.421817][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.421819][ T168] ? lock_acquire+0x13c/0x160 [ 11.421823][ T168] console_emit_next_record+0x22f/0x4c0 [ 11.421826][ T168] ? devkmsg_read+0x4b0/0x4b0 [ 11.421828][ T168] ? console_flush_one_record+0x106/0x710 [ 11.421830][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.421832][ T168] ? lock_acquire+0x13c/0x160 [ 11.421836][ T168] console_flush_one_record+0x46f/0x710 [ 11.421840][ T168] ? console_emit_next_record+0x4c0/0x4c0 [ 11.421841][ T168] ? __lock_acquire+0x518/0xc20 [ 11.421846][ T168] console_unlock+0xee/0x1f0 [ 11.421848][ T168] ? console_flush_one_record+0x710/0x710 [ 11.421850][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.421851][ T168] ? lock_acquire+0x60/0x160 [ 11.421855][ T168] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.421857][ T168] ? vprintk_emit+0x320/0x3e0 [ 11.421860][ T168] vprintk_emit+0x37c/0x3e0 [ 11.421863][ T168] ? wake_up_klogd_work_func+0x90/0x90 [ 11.421866][ T168] ? __lock_acquire+0x518/0xc20 [ 11.421869][ T168] _printk+0xc7/0x100 [ 11.421874][ T168] ? snapshot_read.cold+0x21/0x21 [ 11.421877][ T168] ? do_raw_spin_lock+0x131/0x280 [ 11.421879][ T168] ? __rwlock_init+0x150/0x150 [ 11.421883][ T168] ? do_raw_spin_lock+0x131/0x280 [ 11.421886][ T168] do_exit.cold+0x82/0x9c [ 11.421890][ T168] ? exit_notify+0x890/0x890 [ 11.421891][ T168] ? __lock_release.isra.0+0x69/0x1a0 [ 11.421894][ T168] ? rcu_is_watching+0x16/0xd0 [ 11.421897][ T168] do_group_exit+0xb8/0x370 [ 11.421900][ T168] __x64_sys_exit_group+0x3c/0x50 [ 11.421902][ T168] x64_sys_call+0x1567/0x1570 [ 11.421905][ T168] do_syscall_64+0xff/0x530 [ 11.421909][ T168] ? irq_exit_rcu+0x1a/0x30 [ 11.421912][ T168] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.421914][ T168] RIP: 0033:0x479678 [ 11.421917][ T168] Code: Unable to access opcode bytes at 0x47964e. [ 11.421918][ T168] RSP: 002b:00007fff76419ed8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.421920][ T168] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 11.421922][ T168] RDX: 0000000011058708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 11.421923][ T168] RBP: 00007fff76419f30 R08: 0000000000000000 R09: 00000000110593e0 [ 11.421924][ T168] R10: 0000000000000110 R11: 0000000000000246 R12: 00007fff7641a068 [ 11.421925][ T168] R13: 00007fff7641a0f0 R14: 0000000000000000 R15: 000000000054d560 [ 11.421931][ T168] [ 12.428363][ T201] packetdrill (201) used greatest stack depth: 24360 bytes left [ 12.428379][ T201] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.428382][ T201] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 201, name: packetdrill [ 12.428383][ T201] preempt_count: 2, expected: 0 [ 12.428384][ T201] RCU nest depth: 0, expected: 0 [ 12.428385][ T201] locks held by packetdrill/201: 5, last CPU#1: [ 12.428387][ T201] #0: ffffffffa42027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.428400][ T201] #1: ffffffffa4369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.428405][ T201] #2: ffffffffa4369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.428408][ T201] #3: ffffffffa4289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.428412][ T201] #4: ffffffffa4289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.428415][ T201] irq event stamp: 2231302 [ 12.428416][ T201] hardirqs last enabled at (2231301): [] __down_trylock_console_sem+0x86/0xa0 [ 12.428419][ T201] hardirqs last disabled at (2231302): [] console_emit_next_record+0x3d4/0x4c0 [ 12.428421][ T201] softirqs last enabled at (2231086): [] tcp_close+0x2b/0xb0 [ 12.428425][ T201] softirqs last disabled at (2231084): [] release_sock+0x21/0x240 [ 12.428429][ T201] Preemption disabled at: [ 12.428429][ T201] [<0000000000000000>] 0x0 [ 12.428437][ T201] CPU: 1 UID: 0 PID: 201 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.428440][ T201] Tainted: [W]=WARN [ 12.428441][ T201] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.428443][ T201] Call Trace: [ 12.428444][ T201] [ 12.428446][ T201] dump_stack_lvl+0x6f/0xa0 [ 12.428451][ T201] __might_resched.cold+0x1fe/0x2c1 [ 12.428456][ T201] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.428459][ T201] ? __kmalloc_noprof+0xdb/0x760 [ 12.428464][ T201] __kmalloc_noprof+0x443/0x760 [ 12.428467][ T201] ? alloc_buf.isra.0+0x4b/0x260 [ 12.428473][ T201] ? do_raw_spin_unlock+0x59/0x250 [ 12.428475][ T201] alloc_buf.isra.0+0x4b/0x260 [ 12.428479][ T201] put_chars+0x1e1/0x2f0 [ 12.428482][ T201] ? __send_to_port+0x420/0x420 [ 12.428484][ T201] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.428488][ T201] ? validate_chain+0x38b/0xc20 [ 12.428493][ T201] hvc_console_print+0x292/0x780 [ 12.428500][ T201] ? hvc_write+0x3a0/0x3a0 [ 12.428502][ T201] ? rcu_is_watching+0x16/0xd0 [ 12.428504][ T201] ? lock_acquire+0x13c/0x160 [ 12.428508][ T201] console_emit_next_record+0x22f/0x4c0 [ 12.428511][ T201] ? devkmsg_read+0x4b0/0x4b0 [ 12.428512][ T201] ? console_flush_one_record+0x106/0x710 [ 12.428515][ T201] ? rcu_is_watching+0x16/0xd0 [ 12.428517][ T201] ? lock_acquire+0x13c/0x160 [ 12.428521][ T201] console_flush_one_record+0x46f/0x710 [ 12.428524][ T201] ? console_emit_next_record+0x4c0/0x4c0 [ 12.428525][ T201] ? __lock_acquire+0x518/0xc20 [ 12.428530][ T201] console_unlock+0xee/0x1f0 [ 12.428533][ T201] ? console_flush_one_record+0x710/0x710 [ 12.428534][ T201] ? rcu_is_watching+0x16/0xd0 [ 12.428536][ T201] ? lock_acquire+0x60/0x160 [ 12.428539][ T201] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.428541][ T201] ? vprintk_emit+0x320/0x3e0 [ 12.428544][ T201] vprintk_emit+0x37c/0x3e0 [ 12.428547][ T201] ? wake_up_klogd_work_func+0x90/0x90 [ 12.428550][ T201] ? __lock_acquire+0x518/0xc20 [ 12.428553][ T201] _printk+0xc7/0x100 [ 12.428557][ T201] ? snapshot_read.cold+0x21/0x21 [ 12.428560][ T201] ? do_raw_spin_lock+0x131/0x280 [ 12.428563][ T201] ? __rwlock_init+0x150/0x150 [ 12.428567][ T201] ? do_raw_spin_lock+0x131/0x280 [ 12.428570][ T201] do_exit.cold+0x82/0x9c [ 12.428573][ T201] ? exit_notify+0x890/0x890 [ 12.428574][ T201] ? __lock_release.isra.0+0x69/0x1a0 [ 12.428577][ T201] ? rcu_is_watching+0x16/0xd0 [ 12.428581][ T201] do_group_exit+0xb8/0x370 [ 12.428583][ T201] __x64_sys_exit_group+0x3c/0x50 [ 12.428585][ T201] x64_sys_call+0x1567/0x1570 [ 12.428588][ T201] do_syscall_64+0xff/0x530 [ 12.428592][ T201] ? irq_exit_rcu+0x1a/0x30 [ 12.428595][ T201] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.428597][ T201] RIP: 0033:0x479678 [ 12.428599][ T201] Code: Unable to access opcode bytes at 0x47964e. [ 12.428600][ T201] RSP: 002b:00007ffc4353dd38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.428603][ T201] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 12.428604][ T201] RDX: 0000000027df9708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 12.428605][ T201] RBP: 00007ffc4353dd90 R08: 0000000000000000 R09: 0000000027dfa3e0 [ 12.428606][ T201] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffc4353dec8 [ 12.428607][ T201] R13: 00007ffc4353df50 R14: 0000000000000000 R15: 000000000054d560 [ 12.428613][ T201]