[ 10.030699][ T169] packetdrill (169) used greatest stack depth: 24600 bytes left [ 10.030714][ T169] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.030716][ T169] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 169, name: packetdrill [ 10.030718][ T169] preempt_count: 2, expected: 0 [ 10.030719][ T169] RCU nest depth: 0, expected: 0 [ 10.030720][ T169] locks held by packetdrill/169: 5, last CPU#2: [ 10.030722][ T169] #0: ffffffff996027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.030734][ T169] #1: ffffffff99769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.030740][ T169] #2: ffffffff99769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.030743][ T169] #3: ffffffff99689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.030747][ T169] #4: ffffffff99689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.030750][ T169] irq event stamp: 4343684 [ 10.030751][ T169] hardirqs last enabled at (4343683): [] __down_trylock_console_sem+0x86/0xa0 [ 10.030755][ T169] hardirqs last disabled at (4343684): [] console_emit_next_record+0x3d4/0x4c0 [ 10.030756][ T169] softirqs last enabled at (4342836): [] handle_softirqs+0x67c/0x900 [ 10.030759][ T169] softirqs last disabled at (4342829): [] __irq_exit_rcu+0x145/0x1c0 [ 10.030761][ T169] Preemption disabled at: [ 10.030762][ T169] [<0000000000000000>] 0x0 [ 10.030769][ T169] CPU: 2 UID: 0 PID: 169 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.030772][ T169] Tainted: [W]=WARN [ 10.030773][ T169] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.030775][ T169] Call Trace: [ 10.030777][ T169] [ 10.030778][ T169] dump_stack_lvl+0x6f/0xa0 [ 10.030784][ T169] __might_resched.cold+0x1fe/0x2c1 [ 10.030789][ T169] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.030792][ T169] ? __kmalloc_noprof+0xdb/0x760 [ 10.030802][ T169] __kmalloc_noprof+0x443/0x760 [ 10.030805][ T169] ? alloc_buf.isra.0+0x4b/0x260 [ 10.030812][ T169] ? do_raw_spin_unlock+0x59/0x250 [ 10.030815][ T169] alloc_buf.isra.0+0x4b/0x260 [ 10.030818][ T169] put_chars+0x1e1/0x2f0 [ 10.030821][ T169] ? __send_to_port+0x420/0x420 [ 10.030823][ T169] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.030828][ T169] ? validate_chain+0x38b/0xc20 [ 10.030833][ T169] hvc_console_print+0x292/0x780 [ 10.030841][ T169] ? hvc_write+0x3a0/0x3a0 [ 10.030843][ T169] ? rcu_is_watching+0x16/0xd0 [ 10.030845][ T169] ? lock_acquire+0x13c/0x160 [ 10.030849][ T169] console_emit_next_record+0x22f/0x4c0 [ 10.030853][ T169] ? devkmsg_read+0x4b0/0x4b0 [ 10.030854][ T169] ? console_flush_one_record+0x106/0x710 [ 10.030857][ T169] ? rcu_is_watching+0x16/0xd0 [ 10.030859][ T169] ? lock_acquire+0x13c/0x160 [ 10.030863][ T169] console_flush_one_record+0x46f/0x710 [ 10.030867][ T169] ? console_emit_next_record+0x4c0/0x4c0 [ 10.030868][ T169] ? __lock_acquire+0x518/0xc20 [ 10.030874][ T169] console_unlock+0xee/0x1f0 [ 10.030876][ T169] ? console_flush_one_record+0x710/0x710 [ 10.030877][ T169] ? rcu_is_watching+0x16/0xd0 [ 10.030879][ T169] ? lock_acquire+0x60/0x160 [ 10.030883][ T169] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.030885][ T169] ? vprintk_emit+0x320/0x3e0 [ 10.030888][ T169] vprintk_emit+0x37c/0x3e0 [ 10.030891][ T169] ? wake_up_klogd_work_func+0x90/0x90 [ 10.030893][ T169] ? do_raw_spin_unlock+0x59/0x250 [ 10.030896][ T169] ? __lock_acquire+0x518/0xc20 [ 10.030900][ T169] _printk+0xc7/0x100 [ 10.030904][ T169] ? snapshot_read.cold+0x21/0x21 [ 10.030907][ T169] ? do_raw_spin_lock+0x131/0x280 [ 10.030910][ T169] ? __rwlock_init+0x150/0x150 [ 10.030914][ T169] ? do_raw_spin_lock+0x131/0x280 [ 10.030917][ T169] do_exit.cold+0x82/0x9c [ 10.030920][ T169] ? exit_notify+0x890/0x890 [ 10.030922][ T169] ? __lock_release.isra.0+0x69/0x1a0 [ 10.030925][ T169] ? rcu_is_watching+0x16/0xd0 [ 10.030929][ T169] do_group_exit+0xb8/0x370 [ 10.030932][ T169] __x64_sys_exit_group+0x3c/0x50 [ 10.030934][ T169] x64_sys_call+0x1567/0x1570 [ 10.030937][ T169] do_syscall_64+0xff/0x530 [ 10.030941][ T169] ? irq_exit_rcu+0x1a/0x30 [ 10.030944][ T169] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.030946][ T169] RIP: 0033:0x479678 [ 10.030949][ T169] Code: Unable to access opcode bytes at 0x47964e. [ 10.030950][ T169] RSP: 002b:00007ffe93e1ce38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.030952][ T169] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 10.030954][ T169] RDX: 0000000029c83708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 10.030955][ T169] RBP: 00007ffe93e1ce90 R08: 0000000000000000 R09: 0000000029c843e0 [ 10.030956][ T169] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffe93e1cfc8 [ 10.030957][ T169] R13: 00007ffe93e1d050 R14: 0000000000000000 R15: 000000000054d560 [ 10.030966][ T169] [ 11.174861][ T200] packetdrill (200) used greatest stack depth: 23968 bytes left [ 11.174877][ T200] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.174879][ T200] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 200, name: packetdrill [ 11.174880][ T200] preempt_count: 2, expected: 0 [ 11.174881][ T200] RCU nest depth: 0, expected: 0 [ 11.174882][ T200] locks held by packetdrill/200: 5, last CPU#3: [ 11.174884][ T200] #0: ffffffff996027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.174896][ T200] #1: ffffffff99769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.174901][ T200] #2: ffffffff99769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.174905][ T200] #3: ffffffff99689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.174908][ T200] #4: ffffffff99689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.174911][ T200] irq event stamp: 4034786 [ 11.174912][ T200] hardirqs last enabled at (4034785): [] __down_trylock_console_sem+0x86/0xa0 [ 11.174916][ T200] hardirqs last disabled at (4034786): [] console_emit_next_record+0x3d4/0x4c0 [ 11.174917][ T200] softirqs last enabled at (4034536): [] tcp_close+0x2b/0xb0 [ 11.174922][ T200] softirqs last disabled at (4034534): [] release_sock+0x21/0x240 [ 11.174925][ T200] Preemption disabled at: [ 11.174926][ T200] [<0000000000000000>] 0x0 [ 11.174933][ T200] CPU: 3 UID: 0 PID: 200 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.174936][ T200] Tainted: [W]=WARN [ 11.174937][ T200] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.174939][ T200] Call Trace: [ 11.174940][ T200] [ 11.174942][ T200] dump_stack_lvl+0x6f/0xa0 [ 11.174948][ T200] __might_resched.cold+0x1fe/0x2c1 [ 11.174952][ T200] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.174956][ T200] ? __kmalloc_noprof+0xdb/0x760 [ 11.174961][ T200] __kmalloc_noprof+0x443/0x760 [ 11.174964][ T200] ? alloc_buf.isra.0+0x4b/0x260 [ 11.174970][ T200] ? do_raw_spin_unlock+0x59/0x250 [ 11.174972][ T200] alloc_buf.isra.0+0x4b/0x260 [ 11.174976][ T200] put_chars+0x1e1/0x2f0 [ 11.174979][ T200] ? __send_to_port+0x420/0x420 [ 11.174980][ T200] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.174984][ T200] ? validate_chain+0x38b/0xc20 [ 11.174989][ T200] hvc_console_print+0x292/0x780 [ 11.174996][ T200] ? hvc_write+0x3a0/0x3a0 [ 11.174998][ T200] ? rcu_is_watching+0x16/0xd0 [ 11.175000][ T200] ? lock_acquire+0x13c/0x160 [ 11.175004][ T200] console_emit_next_record+0x22f/0x4c0 [ 11.175007][ T200] ? devkmsg_read+0x4b0/0x4b0 [ 11.175008][ T200] ? console_flush_one_record+0x106/0x710 [ 11.175011][ T200] ? rcu_is_watching+0x16/0xd0 [ 11.175013][ T200] ? lock_acquire+0x13c/0x160 [ 11.175017][ T200] console_flush_one_record+0x46f/0x710 [ 11.175020][ T200] ? console_emit_next_record+0x4c0/0x4c0 [ 11.175022][ T200] ? __lock_acquire+0x518/0xc20 [ 11.175027][ T200] console_unlock+0xee/0x1f0 [ 11.175029][ T200] ? console_flush_one_record+0x710/0x710 [ 11.175030][ T200] ? rcu_is_watching+0x16/0xd0 [ 11.175032][ T200] ? lock_acquire+0x60/0x160 [ 11.175036][ T200] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.175038][ T200] ? vprintk_emit+0x320/0x3e0 [ 11.175040][ T200] vprintk_emit+0x37c/0x3e0 [ 11.175044][ T200] ? wake_up_klogd_work_func+0x90/0x90 [ 11.175045][ T200] ? do_raw_spin_unlock+0x59/0x250 [ 11.175048][ T200] ? __lock_acquire+0x518/0xc20 [ 11.175052][ T200] _printk+0xc7/0x100 [ 11.175056][ T200] ? snapshot_read.cold+0x21/0x21 [ 11.175058][ T200] ? do_raw_spin_lock+0x131/0x280 [ 11.175061][ T200] ? __rwlock_init+0x150/0x150 [ 11.175065][ T200] ? do_raw_spin_lock+0x131/0x280 [ 11.175068][ T200] do_exit.cold+0x82/0x9c [ 11.175071][ T200] ? exit_notify+0x890/0x890 [ 11.175073][ T200] ? __lock_release.isra.0+0x69/0x1a0 [ 11.175075][ T200] ? rcu_is_watching+0x16/0xd0 [ 11.175079][ T200] do_group_exit+0xb8/0x370 [ 11.175082][ T200] __x64_sys_exit_group+0x3c/0x50 [ 11.175084][ T200] x64_sys_call+0x1567/0x1570 [ 11.175087][ T200] do_syscall_64+0xff/0x530 [ 11.175090][ T200] ? irq_exit_rcu+0x1a/0x30 [ 11.175093][ T200] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.175095][ T200] RIP: 0033:0x479678 [ 11.175097][ T200] Code: Unable to access opcode bytes at 0x47964e. [ 11.175098][ T200] RSP: 002b:00007fff288a80d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.175101][ T200] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 11.175102][ T200] RDX: 0000000038a57708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 11.175103][ T200] RBP: 00007fff288a8130 R08: 0000000000000000 R09: 0000000038a583e0 [ 11.175104][ T200] R10: 0000000000000110 R11: 0000000000000246 R12: 00007fff288a8268 [ 11.175105][ T200] R13: 00007fff288a82f0 R14: 0000000000000000 R15: 000000000054d560 [ 11.175111][ T200]