[ 54.428600][ T111] su (111) used greatest stack depth: 23552 bytes left [ 54.428625][ T111] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 54.428627][ T111] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 111, name: su [ 54.428629][ T111] preempt_count: 2, expected: 0 [ 54.428630][ T111] RCU nest depth: 0, expected: 0 [ 54.428631][ T111] locks held by su/111: 5, last CPU#3: [ 54.428633][ T111] #0: ffffffff9ee02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 54.428646][ T111] #1: ffffffff9ef6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 54.428652][ T111] #2: ffffffff9ef6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 54.428655][ T111] #3: ffffffff9ee89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 54.428658][ T111] #4: ffffffff9ee89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 54.428661][ T111] irq event stamp: 175926 [ 54.428662][ T111] hardirqs last enabled at (175925): [] __down_trylock_console_sem+0x86/0xa0 [ 54.428666][ T111] hardirqs last disabled at (175926): [] console_emit_next_record+0x3d4/0x4c0 [ 54.428667][ T111] softirqs last enabled at (173264): [] handle_softirqs+0x67c/0x900 [ 54.428669][ T111] softirqs last disabled at (173259): []