[ 56.346944][ T110] su (110) used greatest stack depth: 23776 bytes left [ 56.346966][ T110] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 56.346968][ T110] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 110, name: su [ 56.346970][ T110] preempt_count: 2, expected: 0 [ 56.346971][ T110] RCU nest depth: 0, expected: 0 [ 56.346972][ T110] locks held by su/110: 5, last CPU#0: [ 56.346974][ T110] #0: ffffffffb04027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 56.346987][ T110] #1: ffffffffb0569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 56.346993][ T110] #2: ffffffffb0569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 56.346996][ T110] #3: ffffffffb0489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 56.347000][ T110] #4: ffffffffb0489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 56.347003][ T110] irq event stamp: 164818 [ 56.347004][ T110] hardirqs last enabled at (164817): [] __down_trylock_console_sem+0x86/0xa0 [ 56.347007][ T110] hardirqs last disabled at (164818): [] console_emit_next_record+0x3d4/0x4c0 [ 56.347009][ T110] softirqs last enabled at (163806): [] handle_softirqs+0x67c/0x900 [ 56.347011][ T110] softirqs last disabled at (162905): [] __irq_exit_rcu+0x145/0x1c0 [ 56.347014][ T110] Preemption disabled at: [ 56.347014][ T110] [<0000000000000000>] 0x0 [ 56.347022][ T110] CPU: 0 UID: 0 PID: 110 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 56.347025][ T110] Tainted: [W]=WARN [ 56.347026][ T110] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 56.347028][ T110] Call Trace: [ 56.347029][ T110] [ 56.347031][ T110] dump_stack_lvl+0x6f/0xa0 [ 56.347037][ T110] __might_resched.cold+0x1fe/0x2c1 [ 56.347042][ T110] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 56.347045][ T110] ? __kmalloc_noprof+0xdb/0x760 [ 56.347051][ T110] __kmalloc_noprof+0x443/0x760 [ 56.347053][ T110] ? alloc_buf.isra.0+0x4b/0x260 [ 56.347060][ T110] ? do_raw_spin_unlock+0x59/0x250 [ 56.347062][ T110] alloc_buf.isra.0+0x4b/0x260 [ 56.347066][ T110] put_chars+0x1e1/0x2f0 [ 56.347069][ T110] ? __send_to_port+0x420/0x420 [ 56.347071][ T110] ? rcu_lockdep_current_cp