[ 12.956792][ T182] as (182) used greatest stack depth: 24000 bytes left [ 12.956812][ T182] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.956815][ T182] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 182, name: as [ 12.956816][ T182] preempt_count: 2, expected: 0 [ 12.956817][ T182] RCU nest depth: 0, expected: 0 [ 12.956818][ T182] locks held by as/182: 5, last CPU#0: [ 12.956820][ T182] #0: ffffffff90c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.956832][ T182] #1: ffffffff90d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.956838][ T182] #2: ffffffff90d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.956842][ T182] #3: ffffffff90c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.956846][ T182] #4: ffffffff90c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.956850][ T182] irq event stamp: 9876 [ 12.956851][ T182] hardirqs last enabled at (9875): [] __down_trylock_console_sem+0x86/0xa0 [ 12.956854][ T182] hardirqs last disabled at (9876): [] console_emit_next_record+0x3f8/0x4f0 [ 12.956856][ T182] softirqs last enabled at (9506): [] handle_softirqs+0x67c/0x900 [ 12.956858][ T182] softirqs last disabled at (9501): [] __irq_exit_rcu+0x145/0x1c0 [ 12.956860][ T182] Preemption disabled at: [ 12.956861][ T182] [<0000000000000000>] 0x0 [ 12.956868][ T182] CPU: 0 UID: 0 PID: 182 Comm: as Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.956872][ T182] Tainted: [W]=WARN [ 12.956873][ T182] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.956874][ T182] Call Trace: [ 12.956876][ T182] [ 12.956877][ T182] dump_stack_lvl+0x6f/0xa0 [ 12.956883][ T182] __might_resched.cold+0x1fe/0x2c1 [ 12.956888][ T182] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.956892][ T182] ? __kmalloc_noprof+0xdb/0x760 [ 12.956897][ T182] __kmalloc_noprof+0x443/0x760 [ 12.956900][ T182] ? alloc_buf.isra.0+0x4b/0x260 [ 12.956906][ T182] ? do_raw_spin_unlock+0x59/0x250 [ 12.956909][ T182] alloc_buf.isra.0+0x4b/0x260 [ 12.956913][ T182] put_chars+0x1e1/0x2f0 [ 12.956916][ T182] ? __send_to_port+0x420/0x420 [ 12.956918][ T182] ? printk_get_next_message+0x2fe/0x7d0 [ 12.956922][ T182] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.956925][ T182] ? validate_chain+0x38b/0xc20 [ 12.956929][ T182] hvc_console_print+0x292/0x780 [ 12.956933][ T182] ? __lock_acquire+0x518/0xc20 [ 12.956935][ T182] ? __lock_acquire+0x518/0xc20 [ 12.956939][ T182] ? hvc_write+0x3a0/0x3a0 [ 12.956942][ T182] ? rcu_is_watching+0x16/0xd0 [ 12.956946][ T182] ? lock_acquire+0x13c/0x160 [ 12.956950][ T182] console_emit_next_record+0x252/0x4f0 [ 12.956953][ T182] ? devkmsg_read+0x4e0/0x4e0 [ 12.956958][ T182] ? rcu_is_watching+0x16/0xd0 [ 12.956960][ T182] ? lock_acquire+0x13c/0x160 [ 12.956964][ T182] console_flush_one_record+0x46f/0x710 [ 12.956968][ T182] ? console_emit_next_record+0x4f0/0x4f0 [ 12.956970][ T182] ? __lock_acquire+0x518/0xc20 [ 12.956975][ T182] console_unlock+0xee/0x1f0 [ 12.956977][ T182] ? console_flush_one_record+0x710/0x710 [ 12.956979][ T182] ? rcu_is_watching+0x16/0xd0 [ 12.956982][ T182] ? lock_acquire+0xa0/0x160 [ 12.956985][ T182] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.956987][ T182] ? vprintk_emit+0x320/0x3e0 [ 12.956990][ T182] vprintk_emit+0x37c/0x3e0 [ 12.956994][ T182] ? wake_up_klogd_work_func+0x90/0x90 [ 12.956997][ T182] ? __lock_acquire+0x518/0xc20 [ 12.957001][ T182] _printk+0xc7/0x100 [ 12.957004][ T182] ? snapshot_read.cold+0x21/0x21 [ 12.957007][ T182] ? do_raw_spin_lock+0x131/0x280 [ 12.957010][ T182] ? __rwlock_init+0x150/0x150 [ 12.957013][ T182] ? do_raw_spin_lock+0x131/0x280 [ 12.957016][ T182] do_exit.cold+0x82/0x9c [ 12.957020][ T182] ? exit_notify+0x890/0x890 [ 12.957021][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 12.957024][ T182] ? rcu_is_watching+0x16/0xd0 [ 12.957028][ T182] do_group_exit+0xb8/0x370 [ 12.957030][ T182] __x64_sys_exit_group+0x3c/0x50 [ 12.957032][ T182] x64_sys_call+0x1567/0x1570 [ 12.957034][ T182] do_syscall_64+0xff/0x530 [ 12.957038][ T182] ? exc_page_fault+0xee/0x100 [ 12.957041][ T182] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.957044][ T182] RIP: 0033:0x7fad91cd81b8 [ 12.957046][ T182] Code: Unable to access opcode bytes at 0x7fad91cd818e. [ 12.957047][ T182] RSP: 002b:00007ffc7503f2d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.957050][ T182] RAX: ffffffffffffffda RBX: 00007fad91e08f88 RCX: 00007fad91cd81b8 [ 12.957051][ T182] RDX: 00007fad91c08a88 RSI: ffffffffffffff98 RDI: 0000000000000000 [ 12.957052][ T182] RBP: 00007ffc7503f330 R08: 0000000000000000 R09: 0000000000000ff0 [ 12.957053][ T182] R10: 00007ffc7503f150 R11: 0000000000000246 R12: 0000000000000001 [ 12.957054][ T182] R13: 0000000000000000 R14: 00007fad91e07680 R15: 00007fad91e08fa0 [ 12.957061][ T182] [ 13.449494][ T86] (udev-worker) (86) used greatest stack depth: 22696 bytes left