[ 56.543845][ T109] su (109) used greatest stack depth: 24104 bytes left [ 56.543865][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 56.543868][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 56.543869][ T109] preempt_count: 2, expected: 0 [ 56.543870][ T109] RCU nest depth: 0, expected: 0 [ 56.543871][ T109] locks held by su/109: 5, last CPU#0: [ 56.543873][ T109] #0: ffffffffb12027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 56.543886][ T109] #1: ffffffffb1369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 56.543891][ T109] #2: ffffffffb1369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 56.543894][ T109] #3: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 56.543897][ T109] #4: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 56.543900][ T109] irq event stamp: 156102 [ 56.543901][ T109] hardirqs last enabled at (156101): [] __down_trylock_console_sem+0x86/0xa0 [ 56.543904][ T109] hardirqs last disabled at (156102): [] console_emit_next_record+0x3d4/0x4c0 [ 56.543906][ T109] softirqs last enabled at (155272): [] handle_softirqs+0x67c/0x900 [ 56.543908][ T109] softirqs last disabled at (155267): [] __irq_exit_rcu+0x145/0x1c0 [ 56.543910][ T109] Preemption disabled at: [ 56.543911][ T109] [<0000000000000000>] 0x0 [ 56.543917][ T109] CPU: 0 UID: 0 PID: 109 Comm: su Tainted: