[ 9.252686][ T194] pktgen: Packet Generator for packet performance testing. Version: 2.75 [ 9.252704][ T194] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.252706][ T194] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 194, name: modprobe [ 9.252708][ T194] preempt_count: 1, expected: 0 [ 9.252709][ T194] RCU nest depth: 0, expected: 0 [ 9.252710][ T194] locks held by modprobe/194: 4, last CPU#0: [ 9.252712][ T194] #0: ffffffffb957ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.252723][ T194] #1: ffffffffb957de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.252728][ T194] #2: ffffffffb949d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.252732][ T194] #3: ffffffffb949d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.252740][ T194] irq event stamp: 46994 [ 9.252740][ T194] hardirqs last enabled at (46993): [] __down_trylock_console_sem+0x86/0xa0 [ 9.252743][ T194] hardirqs last disabled at (46994): [] console_emit_next_record+0x3d4/0x4c0 [ 9.252745][ T194] softirqs last enabled at (44488): [] handle_softirqs+0x67c/0x900 [ 9.252748][ T194] softirqs last disabled at (44479): [] __irq_exit_rcu+0x145/0x1c0 [ 9.252751][ T194] Preemption disabled at: [ 9.252752][ T194] [] vprintk_emit+0x31b/0x3e0 [ 9.252757][ T194] CPU: 0 UID: 0 PID: 194 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.252760][ T194] Tainted: [W]=WARN [ 9.252761][ T194] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.252763][ T194] Call Trace: [ 9.252764][ T194] [ 9.252766][ T194] dump_stack_lvl+0x6f/0xa0 [ 9.252771][ T194] ? vprintk_emit+0x31b/0x3e0 [ 9.252773][ T194] __might_resched.cold+0x1fe/0x2c1 [ 9.252777][ T194] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.252783][ T194] ? __kmalloc_noprof+0xdb/0x760 [ 9.252788][ T194] __kmalloc_noprof+0x443/0x760 [ 9.252790][ T194] ? alloc_buf.isra.0+0x4b/0x260 [ 9.252796][ T194] ? do_raw_spin_unlock+0x59/0x250 [ 9.252799][ T194] alloc_buf.isra.0+0x4b/0x260 [ 9.252802][ T194] put_chars+0x1e1/0x2f0 [ 9.252805][ T194] ? __send_to_port+0x420/0x420 [ 9.252806][ T194] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.252809][ T194] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.252812][ T194] ? validate_chain+0x38b/0xc20 [ 9.252817][ T194] hvc_console_print+0x292/0x780 [ 9.252821][ T194] ? __lock_acquire+0x518/0xc20 [ 9.252825][ T194] ? hvc_write+0x3a0/0x3a0 [ 9.252828][ T194] ? rcu_is_watching+0x16/0xd0 [ 9.252833][ T194] console_emit_next_record+0x22f/0x4c0 [ 9.252837][ T194] ? devkmsg_read+0x4b0/0x4b0 [ 9.252839][ T194] ? console_flush_one_record+0x106/0x710 [ 9.252842][ T194] ? rcu_is_watching+0x16/0xd0 [ 9.252844][ T194] ? lock_acquire+0x13c/0x160 [ 9.252847][ T194] console_flush_one_record+0x46f/0x710 [ 9.252851][ T194] ? console_emit_next_record+0x4c0/0x4c0 [ 9.252853][ T194] ? __lock_acquire+0x518/0xc20 [ 9.252858][ T194] console_unlock+0xee/0x1f0 [ 9.252861][ T194] ? console_flush_one_record+0x710/0x710 [ 9.252863][ T194] ? rcu_is_watching+0x16/0xd0 [ 9.252864][ T194] ? lock_acquire+0xe0/0x160 [ 9.252868][ T194] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.252870][ T194] ? vprintk_emit+0x320/0x3e0 [ 9.252872][ T194] vprintk_emit+0x37c/0x3e0 [ 9.252875][ T194] ? wake_up_klogd_work_func+0x90/0x90 [ 9.252880][ T194] ? pg_cleanup+0xb10/0xb10 [pktgen] [ 9.252883][ T194] _printk+0xc7/0x100 [ 9.252887][ T194] ? snapshot_read.cold+0x21/0x21 [ 9.252893][ T194] ? do_one_initcall+0x113/0x4f0 [ 9.252896][ T194] pg_init+0x1d/0x1000 [pktgen] [ 9.252899][ T194] do_one_initcall+0x124/0x4f0 [ 9.252902][ T194] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.252907][ T194] ? do_init_module+0xae/0x8a0 [ 9.252909][ T194] ? kasan_unpoison+0x44/0x70 [ 9.252915][ T194] do_init_module+0x2ad/0x8a0 [ 9.252918][ T194] ? lockdep_hardirqs_on+0x91/0x130 [ 9.252922][ T194] ? free_module+0x470/0x470 [ 9.252924][ T194] ? kfree+0x123/0x590 [ 9.252928][ T194] load_module+0x1424/0x1bb0 [ 9.252933][ T194] ? security_kernel_post_read_file+0x2f/0x60 [ 9.252937][ T194] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.252940][ T194] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.252943][ T194] ? add_chain_cache+0x12d/0x590 [ 9.252948][ T194] init_module_from_file+0x11f/0x1a0 [ 9.252951][ T194] ? __do_sys_init_module+0x270/0x270 [ 9.252958][ T194] ? __rwlock_init+0x150/0x150 [ 9.252961][ T194] ? do_raw_spin_unlock+0x59/0x250 [ 9.252965][ T194] idempotent_init_module+0x37b/0x7c0 [ 9.252967][ T194] ? init_module_from_file+0x1a0/0x1a0 [ 9.252973][ T194] ? cap_capable+0x1d7/0x3d0 [ 9.252975][ T194] ? __x64_sys_pread64+0x18d/0x250 [ 9.252980][ T194] __x64_sys_finit_module+0xdf/0x190 [ 9.252982][ T194] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.252985][ T194] do_syscall_64+0xff/0x530 [ 9.252988][ T194] ? exc_page_fault+0xee/0x100 [ 9.252991][ T194] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.252993][ T194] RIP: 0033:0x7f2d8e2f037d [ 9.252996][ T194] 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.252998][ T194] RSP: 002b:00007ffeb6a1e758 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.253000][ T194] RAX: ffffffffffffffda RBX: 00005577fbe21700 RCX: 00007f2d8e2f037d [ 9.253002][ T194] RDX: 0000000000000000 RSI: 00005577cb9f5ffd RDI: 0000000000000005 [ 9.253003][ T194] RBP: 00007ffeb6a1e7f0 R08: 0000000000000000 R09: 0000000000000000 [ 9.253003][ T194] R10: 0000000000000000 R11: 0000000000000246 R12: 00005577cb9f5ffd [ 9.253004][ T194] R13: 00005577fbe21820 R14: 0000000000040000 R15: 0000000000000000 [ 9.253011][ T194] [ 9.485795][ T195] pktgen: interface: lo@0 is already stopped [ 10.549091][ T210] pktgen: wrong command format [ 10.549202][ T210] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.549204][ T210] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 210, name: proc_net_pktgen [ 10.549206][ T210] preempt_count: 1, expected: 0 [ 10.549207][ T210] RCU nest depth: 0, expected: 0 [ 10.549208][ T210] locks held by proc_net_pktgen/210: 5, last CPU#0: [ 10.549210][ T210] #0: ff1100000a771438 (sb_writers#3){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 10.549222][ T210] #1: ffffffffb957ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.549227][ T210] #2: ffffffffb957de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.549231][ T210] #3: ffffffffb949d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.549235][ T210] #4: ffffffffb949d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.549239][ T210] irq event stamp: 1064 [ 10.549240][ T210] hardirqs last enabled at (1063): [] __down_trylock_console_sem+0x86/0xa0 [ 10.549243][ T210] hardirqs last disabled at (1064): [] console_emit_next_record+0x3d4/0x4c0 [ 10.549245][ T210] softirqs last enabled at (874): [] handle_softirqs+0x67c/0x900 [ 10.549248][ T210] softirqs last disabled at (869): [] __irq_exit_rcu+0x145/0x1c0 [ 10.549250][ T210] Preemption disabled at: [ 10.549251][ T210] [] vprintk_emit+0x31b/0x3e0 [ 10.549256][ T210] CPU: 0 UID: 0 PID: 210 Comm: proc_net_pktgen Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.549259][ T210] Tainted: [W]=WARN [ 10.549260][ T210] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.549262][ T210] Call Trace: [ 10.549263][ T210] [ 10.549265][ T210] dump_stack_lvl+0x6f/0xa0 [ 10.549270][ T210] ? vprintk_emit+0x31b/0x3e0 [ 10.549272][ T210] __might_resched.cold+0x1fe/0x2c1 [ 10.549276][ T210] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.549280][ T210] ? __kmalloc_noprof+0xdb/0x760 [ 10.549284][ T210] __kmalloc_noprof+0x443/0x760 [ 10.549286][ T210] ? alloc_buf.isra.0+0x4b/0x260 [ 10.549293][ T210] ? do_raw_spin_unlock+0x59/0x250 [ 10.549296][ T210] alloc_buf.isra.0+0x4b/0x260 [ 10.549300][ T210] put_chars+0x1e1/0x2f0 [ 10.549302][ T210] ? __send_to_port+0x420/0x420 [ 10.549306][ T210] ? validate_chain+0x34a/0xc20 [ 10.549310][ T210] hvc_console_print+0x292/0x780 [ 10.549314][ T210] ? __lock_acquire+0x518/0xc20 [ 10.549316][ T210] ? __lock_acquire+0x518/0xc20 [ 10.549320][ T210] ? hvc_write+0x3a0/0x3a0 [ 10.549322][ T210] ? console_emit_next_record+0x1df/0x4c0 [ 10.549325][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.549328][ T210] ? lock_acquire+0x13c/0x160 [ 10.549332][ T210] console_emit_next_record+0x22f/0x4c0 [ 10.549335][ T210] ? devkmsg_read+0x4b0/0x4b0 [ 10.549337][ T210] ? console_flush_one_record+0x106/0x710 [ 10.549340][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.549342][ T210] ? lock_acquire+0x13c/0x160 [ 10.549346][ T210] console_flush_one_record+0x46f/0x710 [ 10.549350][ T210] ? console_emit_next_record+0x4c0/0x4c0 [ 10.549352][ T210] ? __lock_acquire+0x518/0xc20 [ 10.549357][ T210] console_unlock+0xee/0x1f0 [ 10.549360][ T210] ? console_flush_one_record+0x710/0x710 [ 10.549362][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.549363][ T210] ? lock_acquire+0xe0/0x160 [ 10.549367][ T210] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.549369][ T210] ? vprintk_emit+0x320/0x3e0 [ 10.549371][ T210] vprintk_emit+0x37c/0x3e0 [ 10.549374][ T210] ? wake_up_klogd_work_func+0x90/0x90 [ 10.549376][ T210] ? __lock_acquire+0x518/0xc20 [ 10.549381][ T210] _printk+0xc7/0x100 [ 10.549384][ T210] ? snapshot_read.cold+0x21/0x21 [ 10.549387][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 10.549391][ T210] ? __lock_release.isra.0+0xb3/0x1a0 [ 10.549395][ T210] pktgen_if_write.cold+0xda/0xf3 [pktgen] [ 10.549399][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 10.549404][ T210] ? pktgen_thread_worker+0xd70/0xd70 [pktgen] [ 10.549407][ T210] ? file_update_time_flags+0x197/0x4a0 [ 10.549411][ T210] ? fault_dirty_shared_page+0x229/0x4b0 [ 10.549415][ T210] ? do_pte_missing+0x22c/0xcc0 [ 10.549420][ T210] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.549421][ T210] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.549424][ T210] ? validate_chain+0x38b/0xc20 [ 10.549427][ T210] ? mksaveddirty_shift+0x30/0x30 [ 10.549433][ T210] ? lock_acquire.part.0+0xd4/0x280 [ 10.549435][ T210] ? ksys_write+0x116/0x250 [ 10.549438][ T210] proc_reg_write+0x1bc/0x3b0 [ 10.549443][ T210] vfs_write+0x186/0x970 [ 10.549447][ T210] ksys_write+0x116/0x250 [ 10.549449][ T210] ? __ia32_sys_read+0xc0/0xc0 [ 10.549451][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.549453][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.549456][ T210] do_syscall_64+0xff/0x530 [ 10.549460][ T210] ? exc_page_fault+0xee/0x100 [ 10.549462][ T210] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.549465][ T210] RIP: 0033:0x7fcaa9cc754e [ 10.549468][ T210] 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 [ 10.549470][ T210] RSP: 002b:00007ffcadf59930 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 10.549472][ T210] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fcaa9cc754e [ 10.549473][ T210] RDX: 0000000000000000 RSI: 000000000040d760 RDI: 0000000000000007 [ 10.549474][ T210] RBP: 00007ffcadf59940 R08: 0000000000000000 R09: 0000000000000000 [ 10.549475][ T210] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffcadf59e30 [ 10.549476][ T210] R13: 0000000100000001 R14: 00007fcaa9c50000 R15: 00007fcaa9c50000 [ 10.549482][ T210]