[ 137.921758][ T118] su (118) used greatest stack depth: 23376 bytes left [ 137.921774][ T118] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 137.921776][ T118] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 118, name: su [ 137.921777][ T118] preempt_count: 2, expected: 0 [ 137.921778][ T118] RCU nest depth: 0, expected: 0 [ 137.921779][ T118] locks held by su/118: 5, last CPU#1: [ 137.921781][ T118] #0: ffffffff9aa167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 137.921792][ T118] #1: ffffffff9ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 137.921797][ T118] #2: ffffffff9ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 137.921801][ T118] #3: ffffffff9aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 137.921805][ T118] #4: ffffffff9aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 137.921809][ T118] irq event stamp: 188910 [ 137.921809][ T118] hardirqs last enabled at (188909): [] __down_trylock_console_sem+0x86/0xa0 [ 137.921813][ T118] hardirqs last disabled at (188910): [] console_emit_next_record+0x3d4/0x4c0 [ 137.921814][ T118] softirqs last enabled at (186958): [] handle_softirqs+0x67c/0x900 [ 137.921816][ T118] softirqs last disabled at (186953): [] __irq_exit_rcu+0x145/0x1c0 [ 137.921819][ T118] Preemption disabled at: