[ 9.068024][ T133] openvswitch: Open vSwitch switching datapath [ 9.068045][ T133] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.068047][ T133] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 133, name: modprobe [ 9.068050][ T133] preempt_count: 1, expected: 0 [ 9.068051][ T133] RCU nest depth: 0, expected: 0 [ 9.068052][ T133] locks held by modprobe/133: 4, last CPU#3: [ 9.068056][ T133] #0: ffffffffb1569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.068069][ T133] #1: ffffffffb1569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.068073][ T133] #2: ffffffffb1489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.068076][ T133] #3: ffffffffb1489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.068080][ T133] irq event stamp: 46650 [ 9.068081][ T133] hardirqs last enabled at (46649): [] __down_trylock_console_sem+0x86/0xa0 [ 9.068083][ T133] hardirqs last disabled at (46650): [] console_emit_next_record+0x3d4/0x4c0 [ 9.068085][ T133] softirqs last enabled at (37930): [] handle_softirqs+0x67c/0x900 [ 9.068089][ T133] softirqs last disabled at (37873): [] __irq_exit_rcu+0x145/0x1c0 [ 9.068091][ T133] Preemption disabled at: [ 9.068092][ T133] [] vprintk_emit+0x31b/0x3e0 [ 9.068098][ T133] CPU: 3 UID: 0 PID: 133 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.068101][ T133] Tainted: [W]=WARN [ 9.068102][ T133] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.068104][ T133] Call Trace: [ 9.068106][ T133] [ 9.068107][ T133] dump_stack_lvl+0x6f/0xa0 [ 9.068113][ T133] ? vprintk_emit+0x31b/0x3e0 [ 9.068116][ T133] __might_resched.cold+0x1fe/0x2c1 [ 9.068122][ T133] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.068126][ T133] ? __kmalloc_noprof+0xdb/0x760 [ 9.068130][ T133] __kmalloc_noprof+0x443/0x760 [ 9.068132][ T133] ? alloc_buf.isra.0+0x4b/0x260 [ 9.068139][ T133] ? do_raw_spin_unlock+0x59/0x250 [ 9.068141][ T133] alloc_buf.isra.0+0x4b/0x260 [ 9.068145][ T133] put_chars+0x1e1/0x2f0 [ 9.068148][ T133] ? __send_to_port+0x420/0x420 [ 9.068151][ T133] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.068155][ T133] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.068158][ T133] ? validate_chain+0x38b/0xc20 [ 9.068165][ T133] hvc_console_print+0x292/0x780 [ 9.068170][ T133] ? mark_usage+0x61/0x170 [ 9.068172][ T133] ? __lock_acquire+0x518/0xc20 [ 9.068173][ T133] ? __lock_acquire+0x518/0xc20 [ 9.068177][ T133] ? hvc_write+0x3a0/0x3a0 [ 9.068179][ T133] ? lock_acquire.part.0+0xd4/0x280 [ 9.068183][ T133] ? lock_acquire+0x13c/0x160 [ 9.068187][ T133] console_emit_next_record+0x22f/0x4c0 [ 9.068190][ T133] ? devkmsg_read+0x4b0/0x4b0 [ 9.068192][ T133] ? console_flush_one_record+0x106/0x710 [ 9.068195][ T133] ? rcu_is_watching+0x16/0xd0 [ 9.068197][ T133] ? lock_acquire+0x13c/0x160 [ 9.068201][ T133] console_flush_one_record+0x46f/0x710 [ 9.068205][ T133] ? console_emit_next_record+0x4c0/0x4c0 [ 9.068206][ T133] ? __lock_acquire+0x518/0xc20 [ 9.068211][ T133] console_unlock+0xee/0x1f0 [ 9.068214][ T133] ? console_flush_one_record+0x710/0x710 [ 9.068217][ T133] ? rcu_is_watching+0x16/0xd0 [ 9.068220][ T133] ? lock_acquire+0x60/0x160 [ 9.068224][ T133] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.068226][ T133] ? vprintk_emit+0x320/0x3e0 [ 9.068229][ T133] vprintk_emit+0x37c/0x3e0 [ 9.068233][ T133] ? wake_up_klogd_work_func+0x90/0x90 [ 9.068238][ T133] ? __SCT__tp_func_ovs_dp_upcall+0x958/0x958 [openvswitch] [ 9.068244][ T133] _printk+0xc7/0x100 [ 9.068248][ T133] ? snapshot_read.cold+0x21/0x21 [ 9.068255][ T133] ? do_one_initcall+0x113/0x4f0 [ 9.068258][ T133] dp_init+0x1f/0x330 [openvswitch] [ 9.068264][ T133] ? __SCT__tp_func_ovs_dp_upcall+0x958/0x958 [openvswitch] [ 9.068268][ T133] do_one_initcall+0x124/0x4f0 [ 9.068271][ T133] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.068277][ T133] ? do_init_module+0xae/0x8a0 [ 9.068280][ T133] ? kasan_unpoison+0x44/0x70 [ 9.068288][ T133] do_init_module+0x2ad/0x8a0 [ 9.068291][ T133] ? lockdep_hardirqs_on+0x91/0x130 [ 9.068295][ T133] ? free_module+0x470/0x470 [ 9.068298][ T133] ? kfree+0x123/0x590 [ 9.068302][ T133] load_module+0x1424/0x1bb0 [ 9.068309][ T133] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.068313][ T133] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.068316][ T133] ? ovl_real_file+0x172/0x1e0 [ 9.068320][ T133] ? backing_file_read_iter+0x541/0x790 [ 9.068324][ T133] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.068327][ T133] init_module_from_file+0x11f/0x1a0 [ 9.068330][ T133] ? __do_sys_init_module+0x220/0x220 [ 9.068338][ T133] ? __rwlock_init+0x150/0x150 [ 9.068342][ T133] ? do_raw_spin_unlock+0x59/0x250 [ 9.068344][ T133] idempotent_init_module+0x37b/0x7c0 [ 9.068348][ T133] ? init_module_from_file+0x1a0/0x1a0 [ 9.068354][ T133] ? rcu_is_watching+0x16/0xd0 [ 9.068356][ T133] ? cap_capable+0x1d7/0x3d0 [ 9.068362][ T133] __x64_sys_finit_module+0xdf/0x190 [ 9.068364][ T133] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.068368][ T133] do_syscall_64+0xff/0x530 [ 9.068371][ T133] ? exc_page_fault+0xee/0x100 [ 9.068373][ T133] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.068376][ T133] RIP: 0033:0x7f3ee0aca37d [ 9.068379][ T133] 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.068381][ T133] RSP: 002b:00007ffd0e250cf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.068384][ T133] RAX: ffffffffffffffda RBX: 0000556ccb7f3810 RCX: 00007f3ee0aca37d [ 9.068385][ T133] RDX: 0000000000000000 RSI: 0000556cb5b5bffd RDI: 0000000000000001 [ 9.068386][ T133] RBP: 00007ffd0e250d90 R08: 0000000000000000 R09: 0000000000000000 [ 9.068387][ T133] R10: 0000000000000000 R11: 0000000000000246 R12: 0000556cb5b5bffd [ 9.068388][ T133] R13: 0000556ccb7f39c0 R14: 0000000000040000 R15: 0000000000000000 [ 9.068395][ T133] [ 9.118903][ T132] ynl-test: entered promiscuous mode [ 9.122641][ T132] ynl-test: left promiscuous mode