[ 251.740767][ T113] su (113) used greatest stack depth: 23568 bytes left [ 251.740788][ T113] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 251.740791][ T113] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 113, name: su [ 251.740793][ T113] preempt_count: 2, expected: 0 [ 251.740794][ T113] RCU nest depth: 0, expected: 0 [ 251.740794][ T113] locks held by su/113: 5, last CPU#3: [ 251.740797][ T113] #0: ffffffffa84027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 251.740809][ T113] #1: ffffffffa8599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 251.740814][ T113] #2: ffffffffa8599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 251.740817][ T113] #3: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 251.740821][ T113] #4: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 251.740824][ T113] irq event stamp: 155144 [ 251.740825][ T113] hardirqs last enabled at (155143): [] __down_trylock_console_sem+0x86/0xa0 [ 251.740829][ T113] hardirqs last disabled at (155144): [] console_emit_next_record+0x3f8/0x4f0 [ 251.740830][ T113] softirqs last enabled at (154398): [] handle_softirqs+0x67c/0x900 [ 251.740832][ T113] softirqs last disabled at