[ 9.205099][ T110] su (110) used greatest stack depth: 24104 bytes left [ 9.205115][ T110] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.205117][ T110] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 110, name: su [ 9.205118][ T110] preempt_count: 2, expected: 0 [ 9.205119][ T110] RCU nest depth: 0, expected: 0 [ 9.205120][ T110] locks held by su/110: 5, last CPU#3: [ 9.205122][ T110] #0: ffffffffa0a02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 9.205134][ T110] #1: ffffffffa0b6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.205138][ T110] #2: ffffffffa0b6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.205142][ T110] #3: ffffffffa0a89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.205145][ T110] #4: ffffffffa0a89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.205148][ T110] irq event stamp: 161178 [ 9.205149][ T110] hardirqs last enabled at (161177): [] __down_trylock_console_sem+0x86/0xa0