[ 13.247527][ T168] packetdrill (168) used greatest stack depth: 24440 bytes left [ 13.247546][ T168] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.247549][ T168] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 168, name: packetdrill [ 13.247551][ T168] preempt_count: 2, expected: 0 [ 13.247553][ T168] RCU nest depth: 0, expected: 0 [ 13.247554][ T168] locks held by packetdrill/168: 5, last CPU#2: [ 13.247557][ T168] #0: ffffffff95e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.247572][ T168] #1: ffffffff95f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.247579][ T168] #2: ffffffff95f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.247585][ T168] #3: ffffffff95e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.247590][ T168] #4: ffffffff95e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.247596][ T168] irq event stamp: 4067974 [ 13.247598][ T168] hardirqs last enabled at (4067973): [] __down_trylock_console_sem+0x86/0xa0 [ 13.247602][ T168] hardirqs last disabled at (4067974): [] console_emit_next_record+0x3d4/0x4c0 [ 13.247605][ T168] softirqs last enabled at (4067744): [] tcp_close+0x2b/0xb0 [ 13.247610][ T168] softirqs last disabled at (4067742): [] release_sock+0x21/0x240 [ 13.247616][ T168] Preemption disabled at: [ 13.247617][ T168] [<0000000000000000>] 0x0 [ 13.247633][ T168] CPU: 2 UID: 0 PID: 168 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.247638][ T168] Tainted: [W]=WARN [ 13.247639][ T168] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.247641][ T168] Call Trace: [ 13.247643][ T168] [ 13.247645][ T168] dump_stack_lvl+0x6f/0xa0 [ 13.247653][ T168] __might_resched.cold+0x1fe/0x2c1 [ 13.247659][ T168] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.247664][ T168] ? __kmalloc_noprof+0xdb/0x760 [ 13.247672][ T168] __kmalloc_noprof+0x443/0x760 [ 13.247676][ T168] ? alloc_buf.isra.0+0x4b/0x260 [ 13.247685][ T168] ? do_raw_spin_unlock+0x59/0x250 [ 13.247689][ T168] alloc_buf.isra.0+0x4b/0x260 [ 13.247695][ T168] put_chars+0x1e1/0x2f0 [ 13.247699][ T168] ? __send_to_port+0x420/0x420 [ 13.247702][ T168] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.247708][ T168] ? validate_chain+0x38b/0xc20 [ 13.247718][ T168] hvc_console_print+0x292/0x780 [ 13.247729][ T168] ? hvc_write+0x3a0/0x3a0 [ 13.247733][ T168] ? rcu_is_watching+0x16/0xd0 [ 13.247737][ T168] ? lock_acquire+0x13c/0x160 [ 13.247744][ T168] console_emit_next_record+0x22f/0x4c0 [ 13.247750][ T168] ? devkmsg_read+0x4b0/0x4b0 [ 13.247752][ T168] ? console_flush_one_record+0x106/0x710 [ 13.247757][ T168] ? rcu_is_watching+0x16/0xd0 [ 13.247760][ T168] ? lock_acquire+0x13c/0x160 [ 13.247768][ T168] console_flush_one_record+0x46f/0x710 [ 13.247775][ T168] ? console_emit_next_record+0x4c0/0x4c0 [ 13.247777][ T168] ? __lock_acquire+0x518/0xc20 [ 13.247787][ T168] console_unlock+0xee/0x1f0 [ 13.247791][ T168] ? console_flush_one_record+0x710/0x710 [ 13.247793][ T168] ? rcu_is_watching+0x16/0xd0 [ 13.247796][ T168] ? lock_acquire+0x60/0x160 [ 13.247803][ T168] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.247806][ T168] ? vprintk_emit+0x320/0x3e0 [ 13.247811][ T168] vprintk_emit+0x37c/0x3e0 [ 13.247817][ T168] ? wake_up_klogd_work_func+0x90/0x90 [ 13.247822][ T168] ? __lock_acquire+0x518/0xc20 [ 13.247829][ T168] _printk+0xc7/0x100 [ 13.247834][ T168] ? snapshot_read.cold+0x21/0x21 [ 13.247839][ T168] ? do_raw_spin_lock+0x131/0x280 [ 13.247843][ T168] ? __rwlock_init+0x150/0x150 [ 13.247850][ T168] ? do_raw_spin_lock+0x131/0x280 [ 13.247855][ T168] do_exit.cold+0x82/0x9c [ 13.247860][ T168] ? exit_notify+0x890/0x890 [ 13.247863][ T168] ? __lock_release.isra.0+0x69/0x1a0 [ 13.247868][ T168] ? rcu_is_watching+0x16/0xd0 [ 13.247875][ T168] do_group_exit+0xb8/0x370 [ 13.247883][ T168] __x64_sys_exit_group+0x3c/0x50 [ 13.247886][ T168] x64_sys_call+0x1567/0x1570 [ 13.247890][ T168] do_syscall_64+0xff/0x530 [ 13.247895][ T168] ? irq_exit_rcu+0x1a/0x30 [ 13.247900][ T168] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.247903][ T168] RIP: 0033:0x479678 [ 13.247906][ T168] Code: Unable to access opcode bytes at 0x47964e. [ 13.247908][ T168] RSP: 002b:00007ffe8ce7e298 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.247912][ T168] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 13.247914][ T168] RDX: 000000001c7a2708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 13.247915][ T168] RBP: 00007ffe8ce7e2f0 R08: 0000000000000000 R09: 000000001c7a33e0 [ 13.247917][ T168] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffe8ce7e428 [ 13.247919][ T168] R13: 00007ffe8ce7e4b0 R14: 0000000000000000 R15: 000000000054d560 [ 13.247932][ T168] [ 16.188954][ T200] packetdrill (200) used greatest stack depth: 23824 bytes left [ 16.188974][ T200] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.188977][ T200] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 200, name: packetdrill [ 16.188979][ T200] preempt_count: 2, expected: 0 [ 16.188981][ T200] RCU nest depth: 0, expected: 0 [ 16.188982][ T200] locks held by packetdrill/200: 5, last CPU#1: [ 16.188985][ T200] #0: ffffffff95e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.189001][ T200] #1: ffffffff95f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.189008][ T200] #2: ffffffff95f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.189014][ T200] #3: ffffffff95e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.189020][ T200] #4: ffffffff95e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.189026][ T200] irq event stamp: 2310058 [ 16.189027][ T200] hardirqs last enabled at (2310057): [] __down_trylock_console_sem+0x86/0xa0 [ 16.189031][ T200] hardirqs last disabled at (2310058): [] console_emit_next_record+0x3d4/0x4c0 [ 16.189034][ T200] softirqs last enabled at (2310048): [] handle_softirqs+0x67c/0x900 [ 16.189037][ T200] softirqs last disabled at (2310031): [] __irq_exit_rcu+0x145/0x1c0 [ 16.189040][ T200] Preemption disabled at: [ 16.189041][ T200] [<0000000000000000>] 0x0 [ 16.189049][ T200] CPU: 1 UID: 0 PID: 200 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.189053][ T200] Tainted: [W]=WARN [ 16.189054][ T200] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.189056][ T200] Call Trace: [ 16.189059][ T200] [ 16.189062][ T200] dump_stack_lvl+0x6f/0xa0 [ 16.189069][ T200] __might_resched.cold+0x1fe/0x2c1 [ 16.189075][ T200] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.189080][ T200] ? __kmalloc_noprof+0xdb/0x760 [ 16.189087][ T200] __kmalloc_noprof+0x443/0x760 [ 16.189091][ T200] ? alloc_buf.isra.0+0x4b/0x260 [ 16.189099][ T200] ? do_raw_spin_unlock+0x59/0x250 [ 16.189103][ T200] alloc_buf.isra.0+0x4b/0x260 [ 16.189108][ T200] put_chars+0x1e1/0x2f0 [ 16.189112][ T200] ? __send_to_port+0x420/0x420 [ 16.189115][ T200] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.189120][ T200] ? validate_chain+0x38b/0xc20 [ 16.189125][ T200] hvc_console_print+0x292/0x780 [ 16.189132][ T200] ? hvc_write+0x3a0/0x3a0 [ 16.189135][ T200] ? rcu_is_watching+0x16/0xd0 [ 16.189137][ T200] ? lock_acquire+0x13c/0x160 [ 16.189141][ T200] console_emit_next_record+0x22f/0x4c0 [ 16.189144][ T200] ? devkmsg_read+0x4b0/0x4b0 [ 16.189146][ T200] ? console_flush_one_record+0x106/0x710 [ 16.189148][ T200] ? rcu_is_watching+0x16/0xd0 [ 16.189150][ T200] ? lock_acquire+0x13c/0x160 [ 16.189154][ T200] console_flush_one_record+0x46f/0x710 [ 16.189158][ T200] ? console_emit_next_record+0x4c0/0x4c0 [ 16.189159][ T200] ? __lock_acquire+0x518/0xc20 [ 16.189164][ T200] console_unlock+0xee/0x1f0 [ 16.189166][ T200] ? console_flush_one_record+0x710/0x710 [ 16.189168][ T200] ? rcu_is_watching+0x16/0xd0 [ 16.189169][ T200] ? lock_acquire+0x60/0x160 [ 16.189173][ T200] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.189175][ T200] ? vprintk_emit+0x320/0x3e0 [ 16.189178][ T200] vprintk_emit+0x37c/0x3e0 [ 16.189181][ T200] ? wake_up_klogd_work_func+0x90/0x90 [ 16.189184][ T200] ? __lock_acquire+0x518/0xc20 [ 16.189188][ T200] _printk+0xc7/0x100 [ 16.189192][ T200] ? snapshot_read.cold+0x21/0x21 [ 16.189194][ T200] ? do_raw_spin_lock+0x131/0x280 [ 16.189197][ T200] ? __rwlock_init+0x150/0x150 [ 16.189201][ T200] ? do_raw_spin_lock+0x131/0x280 [ 16.189204][ T200] do_exit.cold+0x82/0x9c [ 16.189207][ T200] ? exit_notify+0x890/0x890 [ 16.189209][ T200] ? __lock_release.isra.0+0x69/0x1a0 [ 16.189212][ T200] ? rcu_is_watching+0x16/0xd0 [ 16.189215][ T200] do_group_exit+0xb8/0x370 [ 16.189218][ T200] __x64_sys_exit_group+0x3c/0x50 [ 16.189220][ T200] x64_sys_call+0x1567/0x1570 [ 16.189223][ T200] do_syscall_64+0xff/0x530 [ 16.189227][ T200] ? irq_exit_rcu+0x1a/0x30 [ 16.189230][ T200] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.189232][ T200] RIP: 0033:0x479678 [ 16.189235][ T200] Code: Unable to access opcode bytes at 0x47964e. [ 16.189235][ T200] RSP: 002b:00007ffef55a0c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.189238][ T200] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 16.189239][ T200] RDX: 000000000ed94708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 16.189240][ T200] RBP: 00007ffef55a0cd0 R08: 0000000000000000 R09: 000000000ed953e0 [ 16.189241][ T200] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffef55a0e08 [ 16.189242][ T200] R13: 00007ffef55a0e90 R14: 0000000000000000 R15: 000000000054d560 [ 16.189249][ T200]