[ 8.606802][ T200] packetdrill (200) used greatest stack depth: 25040 bytes left [ 8.606816][ T200] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.606819][ T200] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 200, name: packetdrill [ 8.606820][ T200] preempt_count: 2, expected: 0 [ 8.606821][ T200] RCU nest depth: 0, expected: 0 [ 8.606822][ T200] INFO: lockdep is turned off. [ 8.606823][ T200] irq event stamp: 0 [ 8.606824][ T200] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 8.606829][ T200] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 8.606835][ T200] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 8.606837][ T200] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 8.606838][ T200] Preemption disabled at: [ 8.606839][ T200] [<0000000000000000>] 0x0 [ 8.606844][ T200] CPU: 2 UID: 0 PID: 200 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.606847][ T200] Tainted: [W]=WARN [ 8.606848][ T200] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.606850][ T200] Call Trace: [ 8.606852][ T200] [ 8.606853][ T200] dump_stack_lvl+0x6f/0xa0 [ 8.606858][ T200] __might_resched.cold+0x1fe/0x2c1 [ 8.606862][ T200] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.606864][ T200] ? __asan_memcpy+0x3c/0x60 [ 8.606867][ T200] ? rcu_is_watching+0x16/0xd0 [ 8.606871][ T200] __kmalloc_noprof+0x443/0x760 [ 8.606874][ T200] ? __rwlock_init+0x150/0x150 [ 8.606877][ T200] ? alloc_buf.isra.0+0x4b/0x260 [ 8.606881][ T200] ? do_raw_spin_unlock+0x59/0x250 [ 8.606883][ T200] alloc_buf.isra.0+0x4b/0x260 [ 8.606885][ T200] put_chars+0x1e1/0x2f0 [ 8.606887][ T200] ? __send_to_port+0x420/0x420 [ 8.606889][ T200] ? console_prepend_replay+0x20/0x20 [ 8.606892][ T200] hvc_console_print+0x292/0x780 [ 8.606895][ T200] ? hvc_write+0x3a0/0x3a0 [ 8.606897][ T200] ? rcu_is_watching+0x16/0xd0 [ 8.606898][ T200] ? lock_acquire+0x13c/0x160 [ 8.606901][ T200] console_emit_next_record+0x22f/0x4c0 [ 8.606903][ T200] ? devkmsg_read+0x4b0/0x4b0 [ 8.606904][ T200] ? rcu_is_watching+0x16/0xd0 [ 8.606905][ T200] ? rcu_is_watching+0x16/0xd0 [ 8.606906][ T200] ? rcu_is_watching+0x16/0xd0 [ 8.606907][ T200] ? lock_acquire+0x13c/0x160 [ 8.606909][ T200] ? console_flush_one_record+0x111/0x710 [ 8.606911][ T200] console_flush_one_record+0x46f/0x710 [ 8.606912][ T200] ? console_emit_next_record+0x4c0/0x4c0 [ 8.606914][ T200] console_unlock+0xee/0x1f0 [ 8.606915][ T200] ? lock_acquire+0x13c/0x160 [ 8.606917][ T200] ? console_flush_one_record+0x710/0x710 [ 8.606918][ T200] ? rcu_is_watching+0x16/0xd0 [ 8.606919][ T200] ? lock_release+0x184/0x1f0 [ 8.606921][ T200] ? lock_acquire+0x60/0x160 [ 8.606922][ T200] ? __rcu_read_lock+0x30/0x70 [ 8.606924][ T200] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.606926][ T200] ? vprintk_emit+0x320/0x3e0 [ 8.606928][ T200] vprintk_emit+0x37c/0x3e0 [ 8.606929][ T200] ? wake_up_klogd_work_func+0x90/0x90 [ 8.606931][ T200] ? do_raw_spin_unlock+0x59/0x250 [ 8.606932][ T200] ? _raw_spin_unlock+0x2d/0x50 [ 8.606936][ T200] ? __free_frozen_pages+0x6ab/0xfc0 [ 8.606939][ T200] _printk+0xc7/0x100 [ 8.606942][ T200] ? snapshot_read.cold+0x21/0x21 [ 8.606944][ T200] ? do_raw_spin_lock+0x131/0x280 [ 8.606946][ T200] ? __rwlock_init+0x150/0x150 [ 8.606948][ T200] ? do_raw_spin_lock+0x131/0x280 [ 8.606950][ T200] do_exit.cold+0x82/0x9c [ 8.606952][ T200] ? exit_notify+0x890/0x890 [ 8.606955][ T200] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 8.606957][ T200] ? rcu_is_watching+0x16/0xd0 [ 8.606959][ T200] do_group_exit+0xb8/0x370 [ 8.606961][ T200] __x64_sys_exit_group+0x3c/0x50 [ 8.606962][ T200] x64_sys_call+0x1567/0x1570 [ 8.606965][ T200] do_syscall_64+0xff/0x530 [ 8.606968][ T200] ? irq_exit_rcu+0x1a/0x30 [ 8.606970][ T200] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.606972][ T200] RIP: 0033:0x479678 [ 8.606975][ T200] Code: Unable to access opcode bytes at 0x47964e. [ 8.606976][ T200] RSP: 002b:00007fff93a611a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.606979][ T200] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 8.606981][ T200] RDX: 00000000138bc708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 8.606982][ T200] RBP: 00007fff93a61200 R08: 0000000000000000 R09: 00000000138bd3e0 [ 8.606982][ T200] R10: 0000000000000110 R11: 0000000000000246 R12: 00007fff93a61338 [ 8.606983][ T200] R13: 00007fff93a613c0 R14: 0000000000000000 R15: 000000000054d560 [ 8.606985][ T200]