[ 11.409530][ T117] su (117) used greatest stack depth: 24072 bytes left [ 11.409550][ T117] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.409552][ T117] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 117, name: su [ 11.409554][ T117] preempt_count: 2, expected: 0 [ 11.409555][ T117] RCU nest depth: 0, expected: 0 [ 11.409556][ T117] locks held by su/117: 5, last CPU#3: [ 11.409557][ T117] #0: ffffffff8a4167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.409569][ T117] #1: ffffffff8a57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.409574][ T117] #2: ffffffff8a57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.409579][ T117] #3: ffffffff8a49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.409582][ T117] #4: ffffffff8a49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.409587][ T117] irq event stamp: 162914 [ 11.409588][ T117] hardirqs last enabled at (162913): [] __down_trylock_console_sem+0x86/0xa0 [ 11.409591][ T117] hardirqs last disabled at (162914): [] console_emit_next_record+0x3d4/0x4c0 [ 11.409593][ T117] softirqs last enabled at (162170): [] handle_softirqs+0x67c/0x900 [ 11.409595][ T117] softirqs last disabled at (162165): [] __irq_exit_rcu+0x145/0x1c0 [ 11.409598][ T117] Preemption disabled at: [ 11.409598][ T117] [<0000000000000000>] 0x0