[ 10.992911][ T215] 8021q: 802.1Q VLAN Support v1.8 [ 10.992933][ T215] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.992936][ T215] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 215, name: modprobe [ 10.992939][ T215] preempt_count: 1, expected: 0 [ 10.992940][ T215] RCU nest depth: 0, expected: 0 [ 10.992942][ T215] locks held by modprobe/215: 4, last CPU#3: [ 10.992945][ T215] #0: ffffffffb9b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.992960][ T215] #1: ffffffffb9b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.992966][ T215] #2: ffffffffb9a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.992972][ T215] #3: ffffffffb9a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.992978][ T215] irq event stamp: 29066 [ 10.992979][ T215] hardirqs last enabled at (29065): [] __down_trylock_console_sem+0x86/0xa0 [ 10.992983][ T215] hardirqs last disabled at (29066): [] console_emit_next_record+0x3d4/0x4c0 [ 10.992986][ T215] softirqs last enabled at (26340): [] handle_softirqs+0x67c/0x900 [ 10.992990][ T215] softirqs last disabled at (25907): [] __irq_exit_rcu+0x145/0x1c0 [ 10.992993][ T215] Preemption disabled at: [ 10.992994][ T215] [] vprintk_emit+0x31b/0x3e0 [ 10.993001][ T215] CPU: 3 UID: 0 PID: 215 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.993005][ T215] Tainted: [W]=WARN [ 10.993006][ T215] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.993009][ T215] Call Trace: [ 10.993011][ T215] [ 10.993013][ T215] dump_stack_lvl+0x6f/0xa0 [ 10.993020][ T215] ? vprintk_emit+0x31b/0x3e0 [ 10.993023][ T215] __might_resched.cold+0x1fe/0x2c1 [ 10.993029][ T215] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.993035][ T215] ? __kmalloc_noprof+0xdb/0x760 [ 10.993041][ T215] __kmalloc_noprof+0x443/0x760 [ 10.993045][ T215] ? alloc_buf.isra.0+0x4b/0x260 [ 10.993054][ T215] ? do_raw_spin_unlock+0x59/0x250 [ 10.993057][ T215] alloc_buf.isra.0+0x4b/0x260 [ 10.993062][ T215] put_chars+0x1e1/0x2f0 [ 10.993067][ T215] ? __send_to_port+0x420/0x420 [ 10.993069][ T215] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.993075][ T215] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.993079][ T215] ? validate_chain+0x38b/0xc20 [ 10.993087][ T215] hvc_console_print+0x292/0x780 [ 10.993090][ T215] ? __lock_acquire+0x518/0xc20 [ 10.993099][ T215] ? hvc_write+0x3a0/0x3a0 [ 10.993103][ T215] ? rcu_is_watching+0x16/0xd0 [ 10.993111][ T215] console_emit_next_record+0x22f/0x4c0 [ 10.993117][ T215] ? devkmsg_read+0x4b0/0x4b0 [ 10.993120][ T215] ? console_flush_one_record+0x106/0x710 [ 10.993125][ T215] ? rcu_is_watching+0x16/0xd0 [ 10.993128][ T215] ? lock_acquire+0x13c/0x160 [ 10.993135][ T215] console_flush_one_record+0x46f/0x710 [ 10.993142][ T215] ? console_emit_next_record+0x4c0/0x4c0 [ 10.993144][ T215] ? __lock_acquire+0x518/0xc20 [ 10.993153][ T215] console_unlock+0xee/0x1f0 [ 10.993158][ T215] ? console_flush_one_record+0x710/0x710 [ 10.993160][ T215] ? rcu_is_watching+0x16/0xd0 [ 10.993164][ T215] ? lock_acquire+0x60/0x160 [ 10.993170][ T215] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.993172][ T215] ? vprintk_emit+0x320/0x3e0 [ 10.993178][ T215] vprintk_emit+0x37c/0x3e0 [ 10.993184][ T215] ? wake_up_klogd_work_func+0x90/0x90 [ 10.993193][ T215] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 10.993199][ T215] _printk+0xc7/0x100 [ 10.993203][ T215] ? snapshot_read.cold+0x21/0x21 [ 10.993214][ T215] ? do_one_initcall+0x113/0x4f0 [ 10.993219][ T215] vlan_proto_init+0x24/0x90 [8021q] [ 10.993224][ T215] do_one_initcall+0x124/0x4f0 [ 10.993228][ T215] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.993236][ T215] ? do_init_module+0xae/0x8a0 [ 10.993239][ T215] ? kasan_unpoison+0x44/0x70 [ 10.993247][ T215] do_init_module+0x2ad/0x8a0 [ 10.993253][ T215] ? lockdep_hardirqs_on+0x91/0x130 [ 10.993258][ T215] ? free_module+0x470/0x470 [ 10.993263][ T215] ? kfree+0x123/0x590 [ 10.993270][ T215] load_module+0x1424/0x1bb0 [ 10.993282][ T215] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.993288][ T215] ? __ia32_sys_fsconfig+0x180/0x180 [ 10.993292][ T215] ? ovl_real_file+0x172/0x1e0 [ 10.993297][ T215] ? backing_file_read_iter+0x541/0x790 [ 10.993301][ T215] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.993307][ T215] init_module_from_file+0x11f/0x1a0 [ 10.993312][ T215] ? __do_sys_init_module+0x220/0x220 [ 10.993326][ T215] ? __rwlock_init+0x150/0x150 [ 10.993332][ T215] ? do_raw_spin_unlock+0x59/0x250 [ 10.993337][ T215] idempotent_init_module+0x37b/0x7c0 [ 10.993343][ T215] ? init_module_from_file+0x1a0/0x1a0 [ 10.993354][ T215] ? rcu_is_watching+0x16/0xd0 [ 10.993357][ T215] ? cap_capable+0x1d7/0x3d0 [ 10.993366][ T215] __x64_sys_finit_module+0xdf/0x190 [ 10.993369][ T215] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.993375][ T215] do_syscall_64+0xff/0x530 [ 10.993377][ T215] ? exc_page_fault+0xee/0x100 [ 10.993382][ T215] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.993385][ T215] RIP: 0033:0x7fdc45f2f37d [ 10.993390][ T215] 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 [ 10.993392][ T215] RSP: 002b:00007ffd94558da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.993399][ T215] RAX: ffffffffffffffda RBX: 000055cbeb84e810 RCX: 00007fdc45f2f37d [ 10.993401][ T215] RDX: 0000000000000000 RSI: 000055cbc247dffd RDI: 0000000000000000 [ 10.993403][ T215] RBP: 00007ffd94558e40 R08: 0000000000000000 R09: 0000000000000000 [ 10.993404][ T215] R10: 0000000000000000 R11: 0000000000000246 R12: 000055cbc247dffd [ 10.993406][ T215] R13: 000055cbeb84e960 R14: 0000000000040000 R15: 0000000000000000 [ 10.993418][ T215]