[ 12.912021][ T110] su (110) used greatest stack depth: 23568 bytes left [ 12.912041][ T110] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.912043][ T110] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 110, name: su [ 12.912045][ T110] preempt_count: 2, expected: 0 [ 12.912046][ T110] RCU nest depth: 0, expected: 0 [ 12.912047][ T110] locks held by su/110: 5, last CPU#0: [ 12.912049][ T110] #0: ffffffff85a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.912062][ T110] #1: ffffffff85b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.912068][ T110] #2: ffffffff85b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.912071][ T110] #3: ffffffff85a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.912075][ T110] #4: ffffffff85a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.912079][ T110] irq event stamp: 167694 [ 12.912080][ T110] hardirqs last enabled at (167693): [] __down_trylock_console_sem+0x86/0xa0 [ 12.912083][ T110] hardirqs last disabled at (167694): [] console_emit_nex