[ 7.617067][ T193] pktgen: Packet Generator for packet performance testing. Version: 2.75 [ 7.617081][ T193] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 7.617083][ T193] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 193, name: modprobe [ 7.617085][ T193] preempt_count: 1, expected: 0 [ 7.617086][ T193] RCU nest depth: 0, expected: 0 [ 7.617087][ T193] INFO: lockdep is turned off. [ 7.617088][ T193] irq event stamp: 0 [ 7.617089][ T193] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 7.617092][ T193] hardirqs last disabled at (0): [] copy_process+0x1d3b/0x62b0 [ 7.617098][ T193] softirqs last enabled at (0): [] copy_process+0x1d8f/0x62b0 [ 7.617100][ T193] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 7.617102][ T193] Preemption disabled at: [ 7.617102][ T193] [] vprintk_emit+0x31b/0x3e0 [ 7.617109][ T193] CPU: 3 UID: 0 PID: 193 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 7.617113][ T193] Tainted: [W]=WARN [ 7.617114][ T193] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 7.617115][ T193] Call Trace: [ 7.617116][ T193] [ 7.617117][ T193] dump_stack_lvl+0x6f/0xa0 [ 7.617123][ T193] ? vprintk_emit+0x31b/0x3e0 [ 7.617124][ T193] __might_resched.cold+0x1fe/0x2c1 [ 7.617127][ T193] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 7.617130][ T193] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 7.617133][ T193] ? rcu_is_watching+0x16/0xd0 [ 7.617135][ T193] __kmalloc_noprof+0x443/0x760 [ 7.617138][ T193] ? __rwlock_init+0x150/0x150 [ 7.617141][ T193] ? alloc_buf.isra.0+0x4b/0x260 [ 7.617146][ T193] ? do_raw_spin_unlock+0x59/0x250 [ 7.617148][ T193] alloc_buf.isra.0+0x4b/0x260 [ 7.617150][ T193] put_chars+0x1e1/0x2f0 [ 7.617151][ T193] ? __send_to_port+0x420/0x420 [ 7.617153][ T193] ? console_prepend_replay+0x20/0x20 [ 7.617155][ T193] hvc_console_print+0x292/0x780 [ 7.617160][ T193] ? hvc_write+0x3a0/0x3a0 [ 7.617162][ T193] ? vsnprintf+0x3ac/0x1700 [ 7.617165][ T193] ? __rwlock_init+0x150/0x150 [ 7.617166][ T193] ? rcu_is_watching+0x16/0xd0 [ 7.617167][ T193] ? rcu_is_watching+0x16/0xd0 [ 7.617169][ T193] console_emit_next_record+0x22f/0x4c0 [ 7.617172][ T193] ? devkmsg_read+0x4b0/0x4b0 [ 7.617174][ T193] ? rcu_is_watching+0x16/0xd0 [ 7.617174][ T193] ? rcu_is_watching+0x16/0xd0 [ 7.617175][ T193] ? rcu_is_watching+0x16/0xd0 [ 7.617176][ T193] ? lock_acquire+0x13c/0x160 [ 7.617178][ T193] ? console_flush_one_record+0x111/0x710 [ 7.617180][ T193] console_flush_one_record+0x46f/0x710 [ 7.617182][ T193] ? console_emit_next_record+0x4c0/0x4c0 [ 7.617185][ T193] console_unlock+0xee/0x1f0 [ 7.617187][ T193] ? lock_acquire+0x13c/0x160 [ 7.617188][ T193] ? console_flush_one_record+0x710/0x710 [ 7.617190][ T193] ? rcu_is_watching+0x16/0xd0 [ 7.617191][ T193] ? lock_release+0x184/0x1f0 [ 7.617192][ T193] ? lock_acquire+0xe0/0x160 [ 7.617194][ T193] ? __rcu_read_lock+0x70/0x70 [ 7.617195][ T193] ? __down_trylock_console_sem+0x5e/0xa0 [ 7.617197][ T193] ? vprintk_emit+0x320/0x3e0 [ 7.617198][ T193] vprintk_emit+0x37c/0x3e0 [ 7.617200][ T193] ? wake_up_klogd_work_func+0x90/0x90 [ 7.617202][ T193] ? pg_cleanup+0xb10/0xb10 [pktgen] [ 7.617205][ T193] _printk+0xc7/0x100 [ 7.617208][ T193] ? snapshot_read.cold+0x21/0x21 [ 7.617210][ T193] ? do_one_initcall+0x113/0x4f0 [ 7.617212][ T193] pg_init+0x1d/0x1000 [pktgen] [ 7.617215][ T193] do_one_initcall+0x124/0x4f0 [ 7.617217][ T193] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 7.617219][ T193] ? do_init_module+0xae/0x8a0 [ 7.617221][ T193] ? kasan_unpoison+0x44/0x70 [ 7.617225][ T193] do_init_module+0x2ad/0x8a0 [ 7.617226][ T193] ? free_module+0x470/0x470 [ 7.617228][ T193] ? kfree+0x123/0x590 [ 7.617229][ T193] load_module+0x1424/0x1bb0 [ 7.617232][ T193] ? security_kernel_post_read_file+0x2f/0x60 [ 7.617235][ T193] ? layout_and_allocate.isra.0+0x680/0x680 [ 7.617237][ T193] ? __ia32_sys_fsconfig+0x180/0x180 [ 7.617240][ T193] ? backing_file_read_iter+0x541/0x790 [ 7.617243][ T193] init_module_from_file+0x11f/0x1a0 [ 7.617245][ T193] ? __do_sys_init_module+0x270/0x270 [ 7.617246][ T193] ? ovl_mmap+0x270/0x270 [ 7.617249][ T193] ? __rwlock_init+0x150/0x150 [ 7.617251][ T193] ? rcu_is_watching+0x16/0xd0 [ 7.617252][ T193] ? lock_release+0x184/0x1f0 [ 7.617254][ T193] ? do_raw_spin_unlock+0x59/0x250 [ 7.617255][ T193] idempotent_init_module+0x37b/0x7c0 [ 7.617257][ T193] ? init_module_from_file+0x1a0/0x1a0 [ 7.617259][ T193] ? cap_capable+0x1d7/0x3d0 [ 7.617261][ T193] ? __x64_sys_pread64+0x18d/0x250 [ 7.617264][ T193] __x64_sys_finit_module+0xdf/0x190 [ 7.617265][ T193] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 7.617268][ T193] do_syscall_64+0xff/0x530 [ 7.617270][ T193] ? exc_page_fault+0xee/0x100 [ 7.617272][ T193] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 7.617274][ T193] RIP: 0033:0x7fc450ce237d [ 7.617276][ T193] 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 [ 7.617278][ T193] RSP: 002b:00007fffa864d678 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 7.617281][ T193] RAX: ffffffffffffffda RBX: 000055edf6a96700 RCX: 00007fc450ce237d [ 7.617283][ T193] RDX: 0000000000000000 RSI: 000055edb9399ffd RDI: 0000000000000005 [ 7.617283][ T193] RBP: 00007fffa864d710 R08: 0000000000000000 R09: 0000000000000000 [ 7.617284][ T193] R10: 0000000000000000 R11: 0000000000000246 R12: 000055edb9399ffd [ 7.617285][ T193] R13: 000055edf6a96820 R14: 0000000000040000 R15: 0000000000000000 [ 7.617287][ T193] [ 7.837505][ T194] pktgen: interface: lo@0 is already stopped [ 8.818263][ T208] pktgen: wrong command format [ 8.818274][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.818276][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: proc_net_pktgen [ 8.818278][ T208] preempt_count: 1, expected: 0 [ 8.818279][ T208] RCU nest depth: 0, expected: 0 [ 8.818280][ T208] INFO: lockdep is turned off. [ 8.818281][ T208] irq event stamp: 0 [ 8.818282][ T208] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 8.818286][ T208] hardirqs last disabled at (0): [] copy_process+0x1d3b/0x62b0 [ 8.818292][ T208] softirqs last enabled at (0): [] copy_process+0x1d8f/0x62b0 [ 8.818294][ T208] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 8.818296][ T208] Preemption disabled at: [ 8.818297][ T208] [] vprintk_emit+0x31b/0x3e0 [ 8.818303][ T208] CPU: 2 UID: 0 PID: 208 Comm: proc_net_pktgen Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.818307][ T208] Tainted: [W]=WARN [ 8.818308][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.818309][ T208] Call Trace: [ 8.818311][ T208] [ 8.818312][ T208] dump_stack_lvl+0x6f/0xa0 [ 8.818317][ T208] ? vprintk_emit+0x31b/0x3e0 [ 8.818319][ T208] __might_resched.cold+0x1fe/0x2c1 [ 8.818323][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.818326][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818328][ T208] __kmalloc_noprof+0x443/0x760 [ 8.818331][ T208] ? __rwlock_init+0x150/0x150 [ 8.818334][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 8.818339][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 8.818341][ T208] alloc_buf.isra.0+0x4b/0x260 [ 8.818343][ T208] put_chars+0x1e1/0x2f0 [ 8.818344][ T208] ? desc_read_finalized_seq+0x79/0x120 [ 8.818347][ T208] ? __send_to_port+0x420/0x420 [ 8.818348][ T208] ? console_prepend_replay+0x20/0x20 [ 8.818351][ T208] hvc_console_print+0x292/0x780 [ 8.818356][ T208] ? hvc_write+0x3a0/0x3a0 [ 8.818357][ T208] ? do_raw_spin_lock+0x131/0x280 [ 8.818359][ T208] ? __rwlock_init+0x150/0x150 [ 8.818361][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818362][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818363][ T208] ? lock_acquire+0x13c/0x160 [ 8.818365][ T208] console_emit_next_record+0x22f/0x4c0 [ 8.818368][ T208] ? devkmsg_read+0x4b0/0x4b0 [ 8.818370][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818371][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818372][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818373][ T208] ? lock_acquire+0x13c/0x160 [ 8.818375][ T208] ? console_flush_one_record+0x111/0x710 [ 8.818376][ T208] console_flush_one_record+0x46f/0x710 [ 8.818379][ T208] ? console_emit_next_record+0x4c0/0x4c0 [ 8.818382][ T208] console_unlock+0xee/0x1f0 [ 8.818383][ T208] ? lock_acquire+0x13c/0x160 [ 8.818385][ T208] ? console_flush_one_record+0x710/0x710 [ 8.818386][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818387][ T208] ? lock_release+0x184/0x1f0 [ 8.818389][ T208] ? lock_acquire+0xe0/0x160 [ 8.818390][ T208] ? __rcu_read_lock+0x70/0x70 [ 8.818392][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.818393][ T208] ? vprintk_emit+0x320/0x3e0 [ 8.818395][ T208] vprintk_emit+0x37c/0x3e0 [ 8.818396][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 8.818398][ T208] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.818401][ T208] _printk+0xc7/0x100 [ 8.818404][ T208] ? snapshot_read.cold+0x21/0x21 [ 8.818406][ T208] ? inode_set_ctime_current+0x1b6/0x3a0 [ 8.818408][ T208] ? trace_hardirqs_on+0x36/0x40 [ 8.818410][ T208] ? inode_maybe_inc_iversion+0xe1/0x180 [ 8.818413][ T208] ? simple_setattr+0x100/0x100 [ 8.818415][ T208] ? do_raw_spin_lock+0x131/0x280 [ 8.818417][ T208] pktgen_if_write.cold+0xda/0xf3 [pktgen] [ 8.818421][ T208] ? _raw_spin_unlock+0x2d/0x50 [ 8.818424][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818425][ T208] ? lock_release+0x184/0x1f0 [ 8.818427][ T208] ? pktgen_thread_worker+0xd70/0xd70 [pktgen] [ 8.818429][ T208] ? file_update_time_flags+0x197/0x4a0 [ 8.818431][ T208] ? fault_dirty_shared_page+0x229/0x4b0 [ 8.818434][ T208] ? do_pte_missing+0x22c/0xcc0 [ 8.818435][ T208] ? lock_release+0x184/0x1f0 [ 8.818437][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818439][ T208] ? do_numa_page.isra.0+0xa70/0xa70 [ 8.818440][ T208] ? mksaveddirty_shift+0x30/0x30 [ 8.818442][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818444][ T208] proc_reg_write+0x1bc/0x3b0 [ 8.818447][ T208] ? preempt_count_add+0x84/0x180 [ 8.818449][ T208] vfs_write+0x186/0x970 [ 8.818452][ T208] ksys_write+0x116/0x250 [ 8.818454][ T208] ? __ia32_sys_read+0xc0/0xc0 [ 8.818455][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818456][ T208] ? rcu_is_watching+0x16/0xd0 [ 8.818458][ T208] do_syscall_64+0xff/0x530 [ 8.818461][ T208] ? exc_page_fault+0xee/0x100 [ 8.818462][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.818464][ T208] RIP: 0033:0x7efca90b354e [ 8.818466][ T208] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 8.818468][ T208] RSP: 002b:00007ffc2999b780 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 8.818471][ T208] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007efca90b354e [ 8.818473][ T208] RDX: 0000000000000000 RSI: 000000000040d760 RDI: 0000000000000007 [ 8.818474][ T208] RBP: 00007ffc2999b790 R08: 0000000000000000 R09: 0000000000000000 [ 8.818474][ T208] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc2999bc80 [ 8.818475][ T208] R13: 0000000100000001 R14: 00007efca903c000 R15: 00007efca903c000 [ 8.818477][ T208]