[ 12.205458][ T224] 8021q: 802.1Q VLAN Support v1.8 [ 12.205473][ T224] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.205475][ T224] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 224, name: modprobe [ 12.205476][ T224] preempt_count: 1, expected: 0 [ 12.205477][ T224] RCU nest depth: 0, expected: 0 [ 12.205478][ T224] locks held by modprobe/224: 4, last CPU#0: [ 12.205480][ T224] #0: ffffffffa9d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.205492][ T224] #1: ffffffffa9d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.205496][ T224] #2: ffffffffa9c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.205500][ T224] #3: ffffffffa9c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.205504][ T224] irq event stamp: 25968 [ 12.205505][ T224] hardirqs last enabled at (25967): [] __down_trylock_console_sem+0x86/0xa0 [ 12.205508][ T224] hardirqs last disabled at (25968): [] console_emit_next_record+0x3f8/0x4f0 [ 12.205509][ T224] softirqs last enabled at (23214): [] handle_softirqs+0x67c/0x900 [ 12.205513][ T224] softirqs last disabled at (22763): [] __irq_exit_rcu+0x145/0x1c0 [ 12.205515][ T224] Preemption disabled at: [ 12.205516][ T224] [] vprintk_emit+0x31b/0x3e0 [ 12.205521][ T224] CPU: 0 UID: 0 PID: 224 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.205525][ T224] Tainted: [W]=WARN [ 12.205525][ T224] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.205527][ T224] Call Trace: [ 12.205529][ T224] [ 12.205530][ T224] dump_stack_lvl+0x6f/0xa0 [ 12.205535][ T224] ? vprintk_emit+0x31b/0x3e0 [ 12.205538][ T224] __might_resched.cold+0x1fe/0x2c1 [ 12.205542][ T224] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.205546][ T224] ? __kmalloc_noprof+0xdb/0x760 [ 12.205551][ T224] __kmalloc_noprof+0x443/0x760 [ 12.205554][ T224] ? alloc_buf.isra.0+0x4b/0x260 [ 12.205560][ T224] ? do_raw_spin_unlock+0x59/0x250 [ 12.205562][ T224] alloc_buf.isra.0+0x4b/0x260 [ 12.205566][ T224] put_chars+0x1e1/0x2f0 [ 12.205569][ T224] ? __send_to_port+0x420/0x420 [ 12.205573][ T224] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.205577][ T224] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.205579][ T224] ? validate_chain+0x38b/0xc20 [ 12.205583][ T224] hvc_console_print+0x292/0x780 [ 12.205586][ T224] ? mark_usage+0x61/0x170 [ 12.205588][ T224] ? __lock_acquire+0x518/0xc20 [ 12.205590][ T224] ? __lock_acquire+0x518/0xc20 [ 12.205593][ T224] ? hvc_write+0x3a0/0x3a0 [ 12.205596][ T224] ? console_emit_next_record+0x202/0x4f0 [ 12.205599][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.205601][ T224] ? lock_acquire+0x13c/0x160 [ 12.205605][ T224] console_emit_next_record+0x252/0x4f0 [ 12.205609][ T224] ? devkmsg_read+0x4e0/0x4e0 [ 12.205613][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.205615][ T224] ? lock_acquire+0x13c/0x160 [ 12.205619][ T224] console_flush_one_record+0x46f/0x710 [ 12.205623][ T224] ? console_emit_next_record+0x4f0/0x4f0 [ 12.205625][ T224] ? __lock_acquire+0x518/0xc20 [ 12.205630][ T224] console_unlock+0xee/0x1f0 [ 12.205633][ T224] ? console_flush_one_record+0x710/0x710 [ 12.205634][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.205637][ T224] ? lock_acquire+0xa0/0x160 [ 12.205640][ T224] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.205642][ T224] ? vprintk_emit+0x320/0x3e0 [ 12.205645][ T224] vprintk_emit+0x37c/0x3e0 [ 12.205649][ T224] ? wake_up_klogd_work_func+0x90/0x90 [ 12.205654][ T224] ? vlan_netlink_fini+0xf0/0xf0 [8021q] [ 12.205657][ T224] _printk+0xc7/0x100 [ 12.205661][ T224] ? snapshot_read.cold+0x21/0x21 [ 12.205667][ T224] ? do_one_initcall+0x113/0x4f0 [ 12.205670][ T224] vlan_proto_init+0x24/0x90 [8021q] [ 12.205673][ T224] do_one_initcall+0x124/0x4f0 [ 12.205675][ T224] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.205680][ T224] ? do_init_module+0xae/0x8a0 [ 12.205683][ T224] ? kasan_unpoison+0x44/0x70 [ 12.205687][ T224] do_init_module+0x2ad/0x8a0 [ 12.205691][ T224] ? lockdep_hardirqs_on+0x91/0x130 [ 12.205695][ T224] ? free_module+0x470/0x470 [ 12.205698][ T224] ? kfree+0x123/0x590 [ 12.205702][ T224] load_module+0x1424/0x1bb0 [ 12.205709][ T224] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.205713][ T224] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.205716][ T224] ? add_chain_cache+0x12d/0x590 [ 12.205721][ T224] init_module_from_file+0x11f/0x1a0 [ 12.205724][ T224] ? __ia32_sys_init_module+0xc0/0xc0 [ 12.205731][ T224] ? __rwlock_init+0x150/0x150 [ 12.205735][ T224] ? do_raw_spin_unlock+0x59/0x250 [ 12.205738][ T224] idempotent_init_module+0x37b/0x7c0 [ 12.205745][ T224] ? init_module_from_file+0x1a0/0x1a0 [ 12.205751][ T224] ? rcu_is_watching+0x16/0xd0 [ 12.205753][ T224] ? cap_capable+0x1d7/0x3d0 [ 12.205759][ T224] __x64_sys_finit_module+0xdf/0x190 [ 12.205761][ T224] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.205765][ T224] do_syscall_64+0xff/0x530 [ 12.205767][ T224] ? exc_page_fault+0xee/0x100 [ 12.205770][ T224] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.205772][ T224] RIP: 0033:0x7f6c4d82237d [ 12.205775][ T224] 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 [ 12.205777][ T224] RSP: 002b:00007fff5e767418 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.205779][ T224] RAX: ffffffffffffffda RBX: 0000561aa70af810 RCX: 00007f6c4d82237d [ 12.205781][ T224] RDX: 0000000000000000 RSI: 0000561a6b986ffd RDI: 0000000000000000 [ 12.205781][ T224] RBP: 00007fff5e7674b0 R08: 0000000000000000 R09: 0000000000000000 [ 12.205782][ T224] R10: 0000000000000000 R11: 0000000000000246 R12: 0000561a6b986ffd [ 12.205783][ T224] R13: 0000561aa70af940 R14: 0000000000040000 R15: 0000000000000000 [ 12.205789][ T224] [ 12.225954][ T224] 8021q: adding VLAN 0 to HW filter on device enp0s1 [ 12.226501][ T224] 8021q: adding VLAN 0 to HW filter on device enp0s2