[ 70.236272][ T110] su (110) used greatest stack depth: 24104 bytes left [ 70.236293][ T110] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 70.236295][ T110] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 110, name: su [ 70.236297][ T110] preempt_count: 2, expected: 0 [ 70.236298][ T110] RCU nest depth: 0, expected: 0 [ 70.236299][ T110] locks held by su/110: 5, last CPU#0: [ 70.236302][ T110] #0: ffffffff938027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 70.236314][ T110] #1: ffffffff93969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 70.236320][ T110] #2: ffffffff93969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 70.236324][ T110] #3: ffffffff93889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 70.236329][ T110] #4: ffffffff93889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 70.236332][ T110] irq event stamp: 179110 [ 70.236333][ T110] hardirqs last enabled at (179109): [] __down_trylock_console_sem+0x86/0xa0 [ 70.236336][ T110] hardirqs last disabled at (179110): [] console_emit_next_record+0x3d4/0x4c0 [ 70.236338][ T110] softirqs last enabled at (177628): [] handle_softirqs+0x67c/0x900 [ 70.236340][ T110] softirqs last disabled at (176725): [] __irq_exit_rcu+0x145/0x1c0 [ 70.236342][ T110] Preemption disabled at: