[ 9.189378][ T132] openvswitch: Open vSwitch switching datapath [ 9.189393][ T132] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.189396][ T132] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 132, name: modprobe [ 9.189398][ T132] preempt_count: 1, expected: 0 [ 9.189399][ T132] RCU nest depth: 0, expected: 0 [ 9.189400][ T132] locks held by modprobe/132: 4, last CPU#3: [ 9.189402][ T132] #0: ffffffff9b169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.189414][ T132] #1: ffffffff9b169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.189418][ T132] #2: ffffffff9b089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.189422][ T132] #3: ffffffff9b089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.189426][ T132] irq event stamp: 41416 [ 9.189426][ T132] hardirqs last enabled at (41415): [] __down_trylock_console_sem+0x86/0xa0 [ 9.189429][ T132] hardirqs last disabled at (41416): [] console_emit_next_record+0x3d4/0x4c0 [ 9.189431][ T132] softirqs last enabled at (38226): [] handle_softirqs+0x67c/0x900 [ 9.189435][ T132] softirqs last disabled at (38219): [] __irq_exit_rcu+0x145/0x1c0 [ 9.189437][ T132] Preemption disabled at: [ 9.189438][ T132] [] vprintk_emit+0x31b/0x3e0 [ 9.189444][ T132] CPU: 3 UID: 0 PID: 132 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.189447][ T132] Tainted: [W]=WARN [ 9.189448][ T132] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.189450][ T132] Call Trace: [ 9.189451][ T132] [ 9.189453][ T132] dump_stack_lvl+0x6f/0xa0 [ 9.189458][ T132] ? vprintk_emit+0x31b/0x3e0 [ 9.189460][ T132] __might_resched.cold+0x1fe/0x2c1 [ 9.189465][ T132] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.189469][ T132] ? __kmalloc_noprof+0xdb/0x760 [ 9.189474][ T132] __kmalloc_noprof+0x443/0x760 [ 9.189476][ T132] ? alloc_buf.isra.0+0x4b/0x260 [ 9.189483][ T132] ? do_raw_spin_unlock+0x59/0x250 [ 9.189486][ T132] alloc_buf.isra.0+0x4b/0x260 [ 9.189489][ T132] put_chars+0x1e1/0x2f0 [ 9.189493][ T132] ? __send_to_port+0x420/0x420 [ 9.189496][ T132] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.189500][ T132] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.189502][ T132] ? validate_chain+0x38b/0xc20 [ 9.189506][ T132] hvc_console_print+0x292/0x780 [ 9.189510][ T132] ? mark_usage+0x61/0x170 [ 9.189511][ T132] ? __lock_acquire+0x518/0xc20 [ 9.189513][ T132] ? __lock_acquire+0x518/0xc20 [ 9.189517][ T132] ? hvc_write+0x3a0/0x3a0 [ 9.189519][ T132] ? lock_acquire.part.0+0xd4/0x280 [ 9.189523][ T132] ? lock_acquire+0x13c/0x160 [ 9.189527][ T132] console_emit_next_record+0x22f/0x4c0 [ 9.189530][ T132] ? devkmsg_read+0x4b0/0x4b0 [ 9.189532][ T132] ? console_flush_one_record+0x106/0x710 [ 9.189535][ T132] ? rcu_is_watching+0x16/0xd0 [ 9.189538][ T132] ? lock_acquire+0x13c/0x160 [ 9.189541][ T132] console_flush_one_record+0x46f/0x710 [ 9.189545][ T132] ? console_emit_next_record+0x4c0/0x4c0 [ 9.189547][ T132] ? __lock_acquire+0x518/0xc20 [ 9.189552][ T132] console_unlock+0xee/0x1f0 [ 9.189555][ T132] ? console_flush_one_record+0x710/0x710 [ 9.189557][ T132] ? rcu_is_watching+0x16/0xd0 [ 9.189559][ T132] ? lock_acquire+0x60/0x160 [ 9.189562][ T132] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.189564][ T132] ? vprintk_emit+0x320/0x3e0 [ 9.189567][ T132] vprintk_emit+0x37c/0x3e0 [ 9.189571][ T132] ? wake_up_klogd_work_func+0x90/0x90 [ 9.189577][ T132] ? __SCT__tp_func_ovs_dp_upcall+0x958/0x958 [openvswitch] [ 9.189583][ T132] _printk+0xc7/0x100 [ 9.189587][ T132] ? snapshot_read.cold+0x21/0x21 [ 9.189594][ T132] ? do_one_initcall+0x113/0x4f0 [ 9.189598][ T132] dp_init+0x1f/0x330 [openvswitch] [ 9.189603][ T132] ? __SCT__tp_func_ovs_dp_upcall+0x958/0x958 [openvswitch] [ 9.189608][ T132] do_one_initcall+0x124/0x4f0 [ 9.189611][ T132] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.189616][ T132] ? do_init_module+0xae/0x8a0 [ 9.189619][ T132] ? kasan_unpoison+0x44/0x70 [ 9.189625][ T132] do_init_module+0x2ad/0x8a0 [ 9.189629][ T132] ? lockdep_hardirqs_on+0x91/0x130 [ 9.189633][ T132] ? free_module+0x470/0x470 [ 9.189636][ T132] ? kfree+0x123/0x590 [ 9.189640][ T132] load_module+0x1424/0x1bb0 [ 9.189647][ T132] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.189651][ T132] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.189655][ T132] ? ovl_real_file+0x172/0x1e0 [ 9.189659][ T132] ? backing_file_read_iter+0x541/0x790 [ 9.189668][ T132] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.189672][ T132] init_module_from_file+0x11f/0x1a0 [ 9.189675][ T132] ? __do_sys_init_module+0x220/0x220 [ 9.189684][ T132] ? __rwlock_init+0x150/0x150 [ 9.189687][ T132] ? do_raw_spin_unlock+0x59/0x250 [ 9.189690][ T132] idempotent_init_module+0x37b/0x7c0 [ 9.189693][ T132] ? init_module_from_file+0x1a0/0x1a0 [ 9.189700][ T132] ? rcu_is_watching+0x16/0xd0 [ 9.189702][ T132] ? cap_capable+0x1d7/0x3d0 [ 9.189708][ T132] __x64_sys_finit_module+0xdf/0x190 [ 9.189710][ T132] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.189714][ T132] do_syscall_64+0xff/0x530 [ 9.189717][ T132] ? exc_page_fault+0xee/0x100 [ 9.189720][ T132] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.189722][ T132] RIP: 0033:0x7f54b02d637d [ 9.189726][ T132] 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.189728][ T132] RSP: 002b:00007ffc33ece218 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.189731][ T132] RAX: ffffffffffffffda RBX: 0000558ec5169810 RCX: 00007f54b02d637d [ 9.189732][ T132] RDX: 0000000000000000 RSI: 0000558eac9f8ffd RDI: 0000000000000001 [ 9.189733][ T132] RBP: 00007ffc33ece2b0 R08: 0000000000000000 R09: 0000000000000000 [ 9.189734][ T132] R10: 0000000000000000 R11: 0000000000000246 R12: 0000558eac9f8ffd [ 9.189735][ T132] R13: 0000558ec51699c0 R14: 0000000000040000 R15: 0000000000000000 [ 9.189742][ T132] [ 9.240294][ T131] ynl-test: entered promiscuous mode [ 9.245041][ T131] ynl-test: left promiscuous mode