[ 9.508231][ T131] openvswitch: Open vSwitch switching datapath [ 9.508249][ T131] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.508252][ T131] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 131, name: modprobe [ 9.508253][ T131] preempt_count: 1, expected: 0 [ 9.508254][ T131] RCU nest depth: 0, expected: 0 [ 9.508255][ T131] locks held by modprobe/131: 4, last CPU#3: [ 9.508258][ T131] #0: ffffffffabb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.508270][ T131] #1: ffffffffabb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.508275][ T131] #2: ffffffffaba89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.508278][ T131] #3: ffffffffaba89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.508282][ T131] irq event stamp: 41516 [ 9.508283][ T131] hardirqs last enabled at (41515): [] __down_trylock_console_sem+0x86/0xa0 [ 9.508285][ T131] hardirqs last disabled at (41516): [] console_emit_next_record+0x3d4/0x4c0 [ 9.508287][ T131] softirqs last enabled at (33308): [] handle_softirqs+0x67c/0x900 [ 9.508290][ T131] softirqs last disabled at (33251): [] __irq_exit_rcu+0x145/0x1c0 [ 9.508293][ T131] Preemption disabled at: [ 9.508294][ T131] [] vprintk_emit+0x31b/0x3e0 [ 9.508300][ T131] CPU: 3 UID: 0 PID: 131 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.508303][ T131] Tainted: [W]=WARN [ 9.508304][ T131] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.508306][ T131] Call Trace: [ 9.508308][ T131] [ 9.508309][ T131] dump_stack_lvl+0x6f/0xa0 [ 9.508315][ T131] ? vprintk_emit+0x31b/0x3e0 [ 9.508317][ T131] __might_resched.cold+0x1fe/0x2c1 [ 9.508321][ T131] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.508327][ T131] ? __kmalloc_noprof+0xdb/0x760 [ 9.508332][ T131] __kmalloc_noprof+0x443/0x760 [ 9.508334][ T131] ? alloc_buf.isra.0+0x4b/0x260 [ 9.508340][ T131] ? do_raw_spin_unlock+0x59/0x250 [ 9.508342][ T131] alloc_buf.isra.0+0x4b/0x260 [ 9.508346][ T131] put_chars+0x1e1/0x2f0 [ 9.508349][ T131] ? __send_to_port+0x420/0x420 [ 9.508352][ T131] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.508356][ T131] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.508359][ T131] ? validate_chain+0x38b/0xc20 [ 9.508362][ T131] hvc_console_print+0x292/0x780 [ 9.508366][ T131] ? mark_usage+0x61/0x170 [ 9.508368][ T131] ? __lock_acquire+0x518/0xc20 [ 9.508369][ T131] ? __lock_acquire+0x518/0xc20 [ 9.508373][ T131] ? hvc_write+0x3a0/0x3a0 [ 9.508375][ T131] ? lock_acquire.part.0+0xd4/0x280 [ 9.508379][ T131] ? lock_acquire+0x13c/0x160 [ 9.508382][ T131] console_emit_next_record+0x22f/0x4c0 [ 9.508386][ T131] ? devkmsg_read+0x4b0/0x4b0 [ 9.508387][ T131] ? console_flush_one_record+0x106/0x710 [ 9.508390][ T131] ? rcu_is_watching+0x16/0xd0 [ 9.508393][ T131] ? lock_acquire+0x13c/0x160 [ 9.508397][ T131] console_flush_one_record+0x46f/0x710 [ 9.508401][ T131] ? console_emit_next_record+0x4c0/0x4c0 [ 9.508402][ T131] ? __lock_acquire+0x518/0xc20 [ 9.508407][ T131] console_unlock+0xee/0x1f0 [ 9.508410][ T131] ? console_flush_one_record+0x710/0x710 [ 9.508411][ T131] ? rcu_is_watching+0x16/0xd0 [ 9.508413][ T131] ? lock_acquire+0x60/0x160 [ 9.508417][ T131] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.508418][ T131] ? vprintk_emit+0x320/0x3e0 [ 9.508421][ T131] vprintk_emit+0x37c/0x3e0 [ 9.508425][ T131] ? wake_up_klogd_work_func+0x90/0x90 [ 9.508430][ T131] ? __SCT__tp_func_ovs_dp_upcall+0x958/0x958 [openvswitch] [ 9.508437][ T131] _printk+0xc7/0x100 [ 9.508441][ T131] ? snapshot_read.cold+0x21/0x21 [ 9.508447][ T131] ? do_one_initcall+0x113/0x4f0 [ 9.508451][ T131] dp_init+0x1f/0x330 [openvswitch] [ 9.508457][ T131] ? __SCT__tp_func_ovs_dp_upcall+0x958/0x958 [openvswitch] [ 9.508461][ T131] do_one_initcall+0x124/0x4f0 [ 9.508464][ T131] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.508469][ T131] ? do_init_module+0xae/0x8a0 [ 9.508472][ T131] ? kasan_unpoison+0x44/0x70 [ 9.508477][ T131] do_init_module+0x2ad/0x8a0 [ 9.508481][ T131] ? lockdep_hardirqs_on+0x91/0x130 [ 9.508485][ T131] ? free_module+0x470/0x470 [ 9.508488][ T131] ? kfree+0x123/0x590 [ 9.508492][ T131] load_module+0x1424/0x1bb0 [ 9.508499][ T131] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.508502][ T131] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.508505][ T131] ? ovl_real_file+0x172/0x1e0 [ 9.508510][ T131] ? backing_file_read_iter+0x541/0x790 [ 9.508514][ T131] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.508517][ T131] init_module_from_file+0x11f/0x1a0 [ 9.508521][ T131] ? __do_sys_init_module+0x220/0x220 [ 9.508529][ T131] ? __rwlock_init+0x150/0x150 [ 9.508532][ T131] ? do_raw_spin_unlock+0x59/0x250 [ 9.508535][ T131] idempotent_init_module+0x37b/0x7c0 [ 9.508538][ T131] ? init_module_from_file+0x1a0/0x1a0 [ 9.508544][ T131] ? rcu_is_watching+0x16/0xd0 [ 9.508546][ T131] ? cap_capable+0x1d7/0x3d0 [ 9.508552][ T131] __x64_sys_finit_module+0xdf/0x190 [ 9.508554][ T131] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.508559][ T131] do_syscall_64+0xff/0x530 [ 9.508561][ T131] ? exc_page_fault+0xee/0x100 [ 9.508564][ T131] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.508566][ T131] RIP: 0033:0x7f718404e37d [ 9.508569][ T131] 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.508571][ T131] RSP: 002b:00007ffc00719658 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.508574][ T131] RAX: ffffffffffffffda RBX: 00005591ac62d810 RCX: 00007f718404e37d [ 9.508575][ T131] RDX: 0000000000000000 RSI: 00005591aaab1ffd RDI: 0000000000000001 [ 9.508576][ T131] RBP: 00007ffc007196f0 R08: 0000000000000000 R09: 0000000000000000 [ 9.508577][ T131] R10: 0000000000000000 R11: 0000000000000246 R12: 00005591aaab1ffd [ 9.508578][ T131] R13: 00005591ac62d9c0 R14: 0000000000040000 R15: 0000000000000000 [ 9.508585][ T131] [ 9.552063][ T130] ynl-test: entered promiscuous mode [ 9.556668][ T130] ynl-test: left promiscuous mode