[ 81.917748][ T109] su (109) used greatest stack depth: 24104 bytes left [ 81.917767][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 81.917770][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 81.917771][ T109] preempt_count: 2, expected: 0 [ 81.917772][ T109] RCU nest depth: 0, expected: 0 [ 81.917773][ T109] locks held by su/109: 5, last CPU#3: [ 81.917775][ T109] #0: ffffffff946027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 81.917788][ T109] #1: ffffffff94769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 81.917793][ T109] #2: ffffffff94769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 81.917797][ T109] #3: ffffffff94689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 81.917801][ T109] #4: ffffffff94689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 81.917805][ T109] irq event stamp: 164998 [ 81.917806][ T109] hardirqs last enabled at (164997): [] __down_trylock_console_sem+0x86/0xa0 [ 81.917808][ T109] hardirqs last disabled at (164998): [] console_emit_next_record+0x3d4/0x4c0 [ 81.917810][ T109] softirqs last enabled at (159748): [] handle_softirqs+0x67c/0x900 [ 81.917812][ T109] softirqs last disabled at (159577): [] __irq_exit_rcu+0x145/0x1c0 [ 81.917814][ T109] Preemption disabled at: [ 81.917815][ T109] [<0000000000000000>] 0x0 [ 81.917823][ T109] CPU: 3 UID: 0 PID: 109 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 81.917826][ T109] Tainted: [W]=WARN [ 81.917827][ T109] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 81.917829][ T109] Call Trace: [ 81.917830][ T109] [ 81.917832][ T109] dump_stack_lvl+0x6f/0xa0 [ 81.917838][ T109] __might_resched.cold+0x1fe/0x2c1 [ 81.917842][ T109] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 81.917846][ T109] ? __kmalloc_noprof+0xdb/0x760 [ 81.917852][ T109] __kmalloc_noprof+0x443/0x760 [ 81.917854][ T109] ? alloc_buf.isra.0+0x4b/0x260 [ 81.917860][ T109] ? do_raw_spin_unlock+0x59/0x250 [ 81.917863][ T109] alloc_buf.isra.0+0x4b/0x260 [ 81.917866][ T109] put_chars+0x1e1/0x2f0 [ 81.917869][ T109] ? __send_to_port+0x420/0x420 [ 81.917870][ T109] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 81.917875][ T109] ? validate_chain+0x38b/0xc20 [ 81.917880][ T109] hvc_console_print+0x292/0x780 [ 81.917886][ T109] ? hvc_write+0x3a0/0x3a0 [ 81.917888][ T109] ? rcu_is_watching+0x16/0xd0 [ 81.917890][ T109] ? lock_acquire+0x13c/0x160 [ 81.917894][ T109] console_