[ 17.214351][ T109] su (109) used greatest stack depth: 24104 bytes left [ 17.214369][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.214371][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 17.214373][ T109] preempt_count: 2, expected: 0 [ 17.214374][ T109] RCU nest depth: 0, expected: 0 [ 17.214375][ T109] locks held by su/109: 5, last CPU#0: [ 17.214377][ T109] #0: ffffffff9ea027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 17.214388][ T109] #1: ffffffff9eb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.214393][ T109] #2: ffffffff9eb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.214397][ T109] #3: ffffffff9ea89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.214400][ T109] #4: ffffffff9ea89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.214403][ T109] irq event stamp: 153570 [ 17.214404][ T109] hardirqs last enabled at (153569): [] __down_trylock_console_sem+0x86/0xa0 [ 17.214407][ T109] hardirqs last disabled at (153570): [] console_emit_next_record+0x3d4/0x4c0 [ 17.214408][ T109] softirqs last enabled at (151640): [] handle_softirqs+0x67c/0x900 [ 17.214410][ T109] softirqs last disabled at (151635): [] __irq_exit_rcu+0x145/0x1c0 [ 17.214413][ T109] Preemption disabled at: [ 17.214414][ T109] [<0000000000000000>] 0x0 [ 17.214420][ T109] CPU: 0 UI