[ 15.317603][ T110] su (110) used greatest stack depth: 24104 bytes left [ 15.317621][ T110] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.317623][ T110] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 110, name: su [ 15.317625][ T110] preempt_count: 2, expected: 0 [ 15.317626][ T110] RCU nest depth: 0, expected: 0 [ 15.317627][ T110] locks held by su/110: 5, last CPU#0: [ 15.317629][ T110] #0: ffffffffb88027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 15.317642][ T110] #1: ffffffffb8969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.317647][ T110] #2: ffffffffb8969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.317651][ T110] #3: ffffffffb8889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.317654][ T110] #4: ffffffffb8889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.317658][ T110] irq event stamp: 161368 [ 15.317659][ T110] hardirqs last enabled at (161367): [] __down_trylock_console_sem+0x86/0xa0 [ 15.317662][ T110] hardirqs last disabled at (161368): [] console_emit_next_record+0x3d4/0x4c0 [ 15.317664][ T110] softirqs last enabled at (160612): [] handle_softirqs+0x67c/0x900 [ 15.317666][ T110] softirqs last disabled at (160607): [] __irq_exit_rcu+0x145/0x1c0 [ 15.317669][ T110] Preemption disabled at: [ 15.317669][ T110] [<0000000000000000>] 0x0