[ 8.941256][ T180] PPP generic driver version 2.4.2 [ 8.941275][ T180] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.941277][ T180] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 180, name: modprobe [ 8.941279][ T180] preempt_count: 1, expected: 0 [ 8.941279][ T180] RCU nest depth: 0, expected: 0 [ 8.941280][ T180] locks held by modprobe/180: 4, last CPU#0: [ 8.941282][ T180] #0: ffffffff95379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.941294][ T180] #1: ffffffff95379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.941298][ T180] #2: ffffffff95299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.941302][ T180] #3: ffffffff95299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.941306][ T180] irq event stamp: 34512 [ 8.941307][ T180] hardirqs last enabled at (34511): [] __down_trylock_console_sem+0x86/0xa0 [ 8.941310][ T180] hardirqs last disabled at (34512): [] console_emit_next_record+0x3d4/0x4c0 [ 8.941312][ T180] softirqs last enabled at (32808): [] handle_softirqs+0x67c/0x900 [ 8.941315][ T180] softirqs last disabled at (31569): [] __irq_exit_rcu+0x145/0x1c0 [ 8.941317][ T180] Preemption disabled at: [ 8.941318][ T180] [] vprintk_emit+0x31b/0x3e0 [ 8.941323][ T180] CPU: 0 UID: 0 PID: 180 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.941327][ T180] Tainted: [W]=WARN [ 8.941328][ T180] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.941330][ T180] Call Trace: [ 8.941331][ T180] [ 8.941333][ T180] dump_stack_lvl+0x6f/0xa0 [ 8.941339][ T180] ? vprintk_emit+0x31b/0x3e0 [ 8.941341][ T180] __might_resched.cold+0x1fe/0x2c1 [ 8.941345][ T180] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.941350][ T180] ? __kmalloc_noprof+0xdb/0x760 [ 8.941354][ T180] __kmalloc_noprof+0x443/0x760 [ 8.941357][ T180] ? alloc_buf.isra.0+0x4b/0x260 [ 8.941363][ T180] ? do_raw_spin_unlock+0x59/0x250 [ 8.941366][ T180] alloc_buf.isra.0+0x4b/0x260 [ 8.941369][ T180] put_chars+0x1e1/0x2f0 [ 8.941372][ T180] ? __send_to_port+0x420/0x420 [ 8.941374][ T180] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.941379][ T180] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.941381][ T180] ? validate_chain+0x38b/0xc20 [ 8.941386][ T180] hvc_console_print+0x292/0x780 [ 8.941389][ T180] ? __lock_acquire+0x518/0xc20 [ 8.941394][ T180] ? hvc_write+0x3a0/0x3a0 [ 8.941396][ T180] ? rcu_is_watching+0x16/0xd0 [ 8.941401][ T180] console_emit_next_record+0x22f/0x4c0 [ 8.941405][ T180] ? devkmsg_read+0x4b0/0x4b0 [ 8.941407][ T180] ? console_flush_one_record+0x106/0x710 [ 8.941410][ T180] ? rcu_is_watching+0x16/0xd0 [ 8.941413][ T180] ? lock_acquire+0x13c/0x160 [ 8.941416][ T180] console_flush_one_record+0x46f/0x710 [ 8.941421][ T180] ? console_emit_next_record+0x4c0/0x4c0 [ 8.941422][ T180] ? __lock_acquire+0x518/0xc20 [ 8.941427][ T180] console_unlock+0xee/0x1f0 [ 8.941430][ T180] ? console_flush_one_record+0x710/0x710 [ 8.941432][ T180] ? rcu_is_watching+0x16/0xd0 [ 8.941434][ T180] ? lock_acquire+0x60/0x160 [ 8.941438][ T180] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.941440][ T180] ? vprintk_emit+0x320/0x3e0 [ 8.941443][ T180] vprintk_emit+0x37c/0x3e0 [ 8.941447][ T180] ? wake_up_klogd_work_func+0x90/0x90 [ 8.941453][ T180] ? ppp_cleanup+0x920/0x920 [ppp_generic] [ 8.941458][ T180] _printk+0xc7/0x100 [ 8.941461][ T180] ? snapshot_read.cold+0x21/0x21 [ 8.941467][ T180] ? do_one_initcall+0x113/0x4f0 [ 8.941471][ T180] ppp_init+0x16/0x1000 [ppp_generic] [ 8.941474][ T180] do_one_initcall+0x124/0x4f0 [ 8.941477][ T180] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 8.941481][ T180] ? do_init_module+0xae/0x8a0 [ 8.941484][ T180] ? kasan_unpoison+0x44/0x70 [ 8.941489][ T180] do_init_module+0x2ad/0x8a0 [ 8.941493][ T180] ? lockdep_hardirqs_on+0x91/0x130 [ 8.941497][ T180] ? free_module+0x470/0x470 [ 8.941503][ T180] ? kfree+0x123/0x590 [ 8.941507][ T180] load_module+0x1424/0x1bb0 [ 8.941515][ T180] ? layout_and_allocate.isra.0+0x680/0x680 [ 8.941520][ T180] ? backing_file_read_iter+0x541/0x790 [ 8.941523][ T180] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.941527][ T180] init_module_from_file+0x11f/0x1a0 [ 8.941531][ T180] ? __do_sys_init_module+0x220/0x220 [ 8.941539][ T180] ? __rwlock_init+0x150/0x150 [ 8.941543][ T180] ? do_raw_spin_unlock+0x59/0x250 [ 8.941547][ T180] idempotent_init_module+0x37b/0x7c0 [ 8.941550][ T180] ? init_module_from_file+0x1a0/0x1a0 [ 8.941556][ T180] ? rcu_is_watching+0x16/0xd0 [ 8.941559][ T180] ? cap_capable+0x1d7/0x3d0 [ 8.941565][ T180] __x64_sys_finit_module+0xdf/0x190 [ 8.941567][ T180] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.941571][ T180] do_syscall_64+0xff/0x530 [ 8.941574][ T180] ? exc_page_fault+0xee/0x100 [ 8.941576][ T180] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.941578][ T180] RIP: 0033:0x7ff4a7d8f37d [ 8.941582][ T180] 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 [ 8.941584][ T180] RSP: 002b:00007ffceb923a28 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 8.941587][ T180] RAX: ffffffffffffffda RBX: 0000557c94f83d10 RCX: 00007ff4a7d8f37d [ 8.941588][ T180] RDX: 0000000000000000 RSI: 0000557c70e6dffd RDI: 0000000000000006 [ 8.941589][ T180] RBP: 00007ffceb923ac0 R08: 0000000000000000 R09: 0000000000000000 [ 8.941590][ T180] R10: 0000000000000000 R11: 0000000000000246 R12: 0000557c70e6dffd [ 8.941591][ T180] R13: 0000557c94f83cc0 R14: 0000000000040000 R15: 0000000000000000 [ 8.941597][ T180] [ 8.985418][ T180] NET: Registered PF_PPPOX protocol family