[ 9.554266][ T175] tun: Universal TUN/TAP device driver, 1.6 [ 9.554285][ T175] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.554287][ T175] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 175, name: modprobe [ 9.554289][ T175] preempt_count: 1, expected: 0 [ 9.554290][ T175] RCU nest depth: 0, expected: 0 [ 9.554291][ T175] locks held by modprobe/175: 4, last CPU#2: [ 9.554293][ T175] #0: ffffffff9156a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.554305][ T175] #1: ffffffff9156a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.554308][ T175] #2: ffffffff91489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.554312][ T175] #3: ffffffff91489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.554315][ T175] irq event stamp: 34836 [ 9.554316][ T175] hardirqs last enabled at (34835): [] __down_trylock_console_sem+0x86/0xa0 [ 9.554320][ T175] hardirqs last disabled at (34836): [] console_emit_next_record+0x3d4/0x4c0 [ 9.554321][ T175] softirqs last enabled at (32522): [] handle_softirqs+0x67c/0x900 [ 9.554324][ T175] softirqs last disabled at (32515): [] __irq_exit_rcu+0x145/0x1c0 [ 9.554327][ T175] Preemption disabled at: [ 9.554328][ T175] [] vprintk_emit+0x31b/0x3e0 [ 9.554333][ T175] CPU: 2 UID: 0 PID: 175 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.554337][ T175] Tainted: [W]=WARN [ 9.554337][ T175] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.554339][ T175] Call Trace: [ 9.554341][ T175] [ 9.554342][ T175] dump_stack_lvl+0x6f/0xa0 [ 9.554347][ T175] ? vprintk_emit+0x31b/0x3e0 [ 9.554349][ T175] __might_resched.cold+0x1fe/0x2c1 [ 9.554353][ T175] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.554356][ T175] ? __kmalloc_noprof+0xdb/0x760 [ 9.554362][ T175] __kmalloc_noprof+0x443/0x760 [ 9.554364][ T175] ? alloc_buf.isra.0+0x4b/0x260 [ 9.554373][ T175] ? do_raw_spin_unlock+0x59/0x250 [ 9.554383][ T175] alloc_buf.isra.0+0x4b/0x260 [ 9.554387][ T175] put_chars+0x1e1/0x2f0 [ 9.554391][ T175] ? __send_to_port+0x420/0x420 [ 9.554396][ T175] ? validate_chain+0x38b/0xc20 [ 9.554403][ T175] hvc_console_print+0x292/0x780 [ 9.554412][ T175] ? hvc_write+0x3a0/0x3a0 [ 9.554415][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.554419][ T175] ? lock_acquire+0x13c/0x160 [ 9.554425][ T175] console_emit_next_record+0x22f/0x4c0 [ 9.554429][ T175] ? devkmsg_read+0x4b0/0x4b0 [ 9.554431][ T175] ? console_flush_one_record+0x106/0x710 [ 9.554434][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.554437][ T175] ? lock_acquire+0x13c/0x160 [ 9.554442][ T175] console_flush_one_record+0x46f/0x710 [ 9.554445][ T175] ? console_emit_next_record+0x4c0/0x4c0 [ 9.554446][ T175] ? __lock_acquire+0x518/0xc20 [ 9.554452][ T175] console_unlock+0xee/0x1f0 [ 9.554454][ T175] ? console_flush_one_record+0x710/0x710 [ 9.554455][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.554457][ T175] ? lock_acquire+0x60/0x160 [ 9.554461][ T175] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.554463][ T175] ? vprintk_emit+0x320/0x3e0 [ 9.554465][ T175] vprintk_emit+0x37c/0x3e0 [ 9.554469][ T175] ? wake_up_klogd_work_func+0x90/0x90 [ 9.554473][ T175] ? tun_cleanup+0x630/0x630 [tun] [ 9.554477][ T175] _printk+0xc7/0x100 [ 9.554480][ T175] ? snapshot_read.cold+0x21/0x21 [ 9.554486][ T175] ? do_one_initcall+0x113/0x4f0 [ 9.554490][ T175] tun_init+0x24/0x1000 [tun] [ 9.554493][ T175] do_one_initcall+0x124/0x4f0 [ 9.554496][ T175] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.554501][ T175] ? do_init_module+0xae/0x8a0 [ 9.554503][ T175] ? kasan_unpoison+0x44/0x70 [ 9.554508][ T175] do_init_module+0x2ad/0x8a0 [ 9.554511][ T175] ? lockdep_hardirqs_on+0x91/0x130 [ 9.554516][ T175] ? free_module+0x470/0x470 [ 9.554518][ T175] ? kfree+0x123/0x590 [ 9.554522][ T175] load_module+0x154b/0x1d60 [ 9.554529][ T175] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.554536][ T175] init_module_from_file+0x11f/0x1a0 [ 9.554539][ T175] ? __ia32_sys_init_module+0xc0/0xc0 [ 9.554546][ T175] ? __rwlock_init+0x150/0x150 [ 9.554550][ T175] ? do_raw_spin_unlock+0x59/0x250 [ 9.554553][ T175] idempotent_init_module+0x37b/0x7c0 [ 9.554556][ T175] ? init_module_from_file+0x1a0/0x1a0 [ 9.554562][ T175] ? rcu_is_watching+0x16/0xd0 [ 9.554563][ T175] ? cap_capable+0x1d7/0x3d0 [ 9.554569][ T175] __x64_sys_finit_module+0xdf/0x190 [ 9.554570][ T175] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.554574][ T175] do_syscall_64+0x10e/0x570 [ 9.554576][ T175] ? exc_page_fault+0xee/0x100 [ 9.554579][ T175] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.554581][ T175] RIP: 0033:0x7fda03ba437d [ 9.554584][ T175] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 9.554586][ T175] RSP: 002b:00007ffd9672c218 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.554589][ T175] RAX: ffffffffffffffda RBX: 0000559c0f616980 RCX: 00007fda03ba437d [ 9.554590][ T175] RDX: 0000000000000000 RSI: 0000559c00514ffd RDI: 0000000000000005 [ 9.554591][ T175] RBP: 00007ffd9672c2b0 R08: 0000000000000000 R09: 0000000000000000 [ 9.554592][ T175] R10: 0000000000000000 R11: 0000000000000246 R12: 0000559c00514ffd [ 9.554592][ T175] R13: 0000559c0f616aa0 R14: 0000000000040000 R15: 0000000000000000 [ 9.554599][ T175] [ 11.276932][ T211] packetdrill (211) used greatest stack depth: 23568 bytes left [ 11.276948][ T211] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.276951][ T211] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 211, name: packetdrill [ 11.276952][ T211] preempt_count: 2, expected: 0 [ 11.276953][ T211] RCU nest depth: 0, expected: 0 [ 11.276954][ T211] locks held by packetdrill/211: 5, last CPU#3: [ 11.276956][ T211] #0: ffffffff91402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 11.276968][ T211] #1: ffffffff9156a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.276973][ T211] #2: ffffffff9156a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.276976][ T211] #3: ffffffff91489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.276979][ T211] #4: ffffffff91489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.276983][ T211] irq event stamp: 4127062 [ 11.276983][ T211] hardirqs last enabled at (4127061): [] __down_trylock_console_sem+0x86/0xa0 [ 11.276987][ T211] hardirqs last disabled at (4127062): [] console_emit_next_record+0x3d4/0x4c0 [ 11.276989][ T211] softirqs last enabled at (4126636): [] handle_softirqs+0x67c/0x900 [ 11.276991][ T211] softirqs last disabled at (4126631): [] __irq_exit_rcu+0x145/0x1c0 [ 11.276993][ T211] Preemption disabled at: [ 11.276994][ T211] [<0000000000000000>] 0x0 [ 11.277001][ T211] CPU: 3 UID: 0 PID: 211 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.277004][ T211] Tainted: [W]=WARN [ 11.277005][ T211] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.277007][ T211] Call Trace: [ 11.277009][ T211] [ 11.277010][ T211] dump_stack_lvl+0x6f/0xa0 [ 11.277016][ T211] __might_resched.cold+0x1fe/0x2c1 [ 11.277020][ T211] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.277023][ T211] ? __kmalloc_noprof+0xdb/0x760 [ 11.277028][ T211] __kmalloc_noprof+0x443/0x760 [ 11.277030][ T211] ? alloc_buf.isra.0+0x4b/0x260 [ 11.277036][ T211] ? do_raw_spin_unlock+0x59/0x250 [ 11.277039][ T211] alloc_buf.isra.0+0x4b/0x260 [ 11.277043][ T211] put_chars+0x1e1/0x2f0 [ 11.277046][ T211] ? __send_to_port+0x420/0x420 [ 11.277052][ T211] hvc_console_print+0x292/0x780 [ 11.277059][ T211] ? hvc_write+0x3a0/0x3a0 [ 11.277061][ T211] ? lock_acquire+0x13c/0x160 [ 11.277066][ T211] console_emit_next_record+0x22f/0x4c0 [ 11.277069][ T211] ? devkmsg_read+0x4b0/0x4b0 [ 11.277070][ T211] ? console_flush_one_record+0x106/0x710 [ 11.277073][ T211] ? rcu_is_watching+0x16/0xd0 [ 11.277076][ T211] ? lock_acquire+0x13c/0x160 [ 11.277081][ T211] console_flush_one_record+0x46f/0x710 [ 11.277084][ T211] ? console_emit_next_record+0x4c0/0x4c0 [ 11.277085][ T211] ? __lock_acquire+0x518/0xc20 [ 11.277091][ T211] console_unlock+0xee/0x1f0 [ 11.277093][ T211] ? console_flush_one_record+0x710/0x710 [ 11.277094][ T211] ? rcu_is_watching+0x16/0xd0 [ 11.277096][ T211] ? lock_acquire+0x60/0x160 [ 11.277100][ T211] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.277102][ T211] ? vprintk_emit+0x320/0x3e0 [ 11.277104][ T211] vprintk_emit+0x37c/0x3e0 [ 11.277108][ T211] ? wake_up_klogd_work_func+0x90/0x90 [ 11.277111][ T211] ? __lock_acquire+0x518/0xc20 [ 11.277114][ T211] _printk+0xc7/0x100 [ 11.277118][ T211] ? snapshot_read.cold+0x21/0x21 [ 11.277120][ T211] ? do_raw_spin_lock+0x131/0x280 [ 11.277123][ T211] ? __rwlock_init+0x150/0x150 [ 11.277127][ T211] ? do_raw_spin_lock+0x131/0x280 [ 11.277130][ T211] do_exit.cold+0x82/0x9c [ 11.277134][ T211] ? exit_notify+0x890/0x890 [ 11.277135][ T211] ? __lock_release.isra.0+0x69/0x1a0 [ 11.277138][ T211] ? rcu_is_watching+0x16/0xd0 [ 11.277142][ T211] do_group_exit+0xb8/0x370 [ 11.277145][ T211] __x64_sys_exit_group+0x3c/0x50 [ 11.277147][ T211] x64_sys_call+0x1567/0x1570 [ 11.277149][ T211] do_syscall_64+0x10e/0x570 [ 11.277153][ T211] ? irq_exit_rcu+0x1a/0x30 [ 11.277156][ T211] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.277158][ T211] RIP: 0033:0x479678 [ 11.277160][ T211] Code: Unable to access opcode bytes at 0x47964e. [ 11.277161][ T211] RSP: 002b:00007ffd6671d0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.277163][ T211] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 11.277164][ T211] RDX: 000000000788d708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 11.277166][ T211] RBP: 00007ffd6671d120 R08: 0000000000000000 R09: 000000000788e450 [ 11.277166][ T211] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffd6671d258 [ 11.277167][ T211] R13: 00007ffd6671d298 R14: 0000000000000000 R15: 000000000054d560 [ 11.277174][ T211] [ 26.054601][ T503] packetdrill (503) used greatest stack depth: 23552 bytes left [ 26.054618][ T503] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.054620][ T503] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 503, name: packetdrill [ 26.054622][ T503] preempt_count: 2, expected: 0 [ 26.054623][ T503] RCU nest depth: 0, expected: 0 [ 26.054624][ T503] locks held by packetdrill/503: 5, last CPU#2: [ 26.054626][ T503] #0: ffffffff91402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 26.054638][ T503] #1: ffffffff9156a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.054643][ T503] #2: ffffffff9156a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.054646][ T503] #3: ffffffff91489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.054650][ T503] #4: ffffffff91489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 26.054653][ T503] irq event stamp: 4190642 [ 26.054654][ T503] hardirqs last enabled at (4190641): [] __down_trylock_console_sem+0x86/0xa0 [ 26.054657][ T503] hardirqs last disabled at (4190642): [] console_emit_next_record+0x3d4/0x4c0 [ 26.054659][ T503] softirqs last enabled at (4190418): [] tcp_close+0x2b/0xb0 [ 26.054663][ T503] softirqs last disabled at (4190416): [] release_sock+0x21/0x240 [ 26.054666][ T503] Preemption disabled at: [ 26.054667][ T503] [<0000000000000000>] 0x0 [ 26.054674][ T503] CPU: 2 UID: 0 PID: 503 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.054677][ T503] Tainted: [W]=WARN [ 26.054678][ T503] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.054680][ T503] Call Trace: [ 26.054681][ T503] [ 26.054683][ T503] dump_stack_lvl+0x6f/0xa0 [ 26.054688][ T503] __might_resched.cold+0x1fe/0x2c1 [ 26.054693][ T503] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.054696][ T503] ? __kmalloc_noprof+0xdb/0x760 [ 26.054701][ T503] __kmalloc_noprof+0x443/0x760 [ 26.054703][ T503] ? alloc_buf.isra.0+0x4b/0x260 [ 26.054709][ T503] ? do_raw_spin_unlock+0x59/0x250 [ 26.054712][ T503] alloc_buf.isra.0+0x4b/0x260 [ 26.054715][ T503] put_chars+0x1e1/0x2f0 [ 26.054718][ T503] ? __send_to_port+0x420/0x420 [ 26.054725][ T503] hvc_console_print+0x292/0x780 [ 26.054732][ T503] ? hvc_write+0x3a0/0x3a0 [ 26.054735][ T503] ? lock_acquire+0x13c/0x160 [ 26.054739][ T503] console_emit_next_record+0x22f/0x4c0 [ 26.054743][ T503] ? devkmsg_read+0x4b0/0x4b0 [ 26.054744][ T503] ? console_flush_one_record+0x106/0x710 [ 26.054746][ T503] ? rcu_is_watching+0x16/0xd0 [ 26.054750][ T503] ? lock_acquire+0x13c/0x160 [ 26.054754][ T503] console_flush_one_record+0x46f/0x710 [ 26.054757][ T503] ? console_emit_next_record+0x4c0/0x4c0 [ 26.054759][ T503] ? __lock_acquire+0x518/0xc20 [ 26.054764][ T503] console_unlock+0xee/0x1f0 [ 26.054766][ T503] ? console_flush_one_record+0x710/0x710 [ 26.054768][ T503] ? rcu_is_watching+0x16/0xd0 [ 26.054769][ T503] ? lock_acquire+0x60/0x160 [ 26.054773][ T503] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.054775][ T503] ? vprintk_emit+0x320/0x3e0 [ 26.054778][ T503] vprintk_emit+0x37c/0x3e0 [ 26.054781][ T503] ? wake_up_klogd_work_func+0x90/0x90 [ 26.054784][ T503] ? __lock_acquire+0x518/0xc20 [ 26.054788][ T503] _printk+0xc7/0x100 [ 26.054792][ T503] ? snapshot_read.cold+0x21/0x21 [ 26.054794][ T503] ? do_raw_spin_lock+0x131/0x280 [ 26.054797][ T503] ? __rwlock_init+0x150/0x150 [ 26.054801][ T503] ? do_raw_spin_lock+0x131/0x280 [ 26.054804][ T503] do_exit.cold+0x82/0x9c [ 26.054808][ T503] ? exit_notify+0x890/0x890 [ 26.054809][ T503] ? __lock_release.isra.0+0x69/0x1a0 [ 26.054812][ T503] ? rcu_is_watching+0x16/0xd0 [ 26.054816][ T503] do_group_exit+0xb8/0x370 [ 26.054819][ T503] __x64_sys_exit_group+0x3c/0x50 [ 26.054821][ T503] x64_sys_call+0x1567/0x1570 [ 26.054823][ T503] do_syscall_64+0x10e/0x570 [ 26.054827][ T503] ? irq_exit_rcu+0x1a/0x30 [ 26.054830][ T503] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.054832][ T503] RIP: 0033:0x479678 [ 26.054835][ T503] Code: Unable to access opcode bytes at 0x47964e. [ 26.054836][ T503] RSP: 002b:00007ffc181df978 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 26.054838][ T503] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 26.054840][ T503] RDX: 000000001d064708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 26.054841][ T503] RBP: 00007ffc181df9d0 R08: 0000000000000000 R09: 000000001d065450 [ 26.054842][ T503] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffc181dfb08 [ 26.054843][ T503] R13: 00007ffc181dfb48 R14: 0000000000000000 R15: 000000000054d560 [ 26.054849][ T503]