[ 11.780189][ T118] su (118) used greatest stack depth: 23976 bytes left [ 11.780205][ T118] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.780207][ T118] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 118, name: su [ 11.780209][ T118] preempt_count: 2, expected: 0 [ 11.780209][ T118] RCU nest depth: 0, expected: 0 [ 11.780210][ T118] locks held by su/118: 5, last CPU#1: [ 11.780212][ T118] #0: ffffffff946167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.780223][ T118] #1: ffffffff9477ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.780228][ T118] #2: ffffffff9477de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.780232][ T118] #3: ffffffff9469d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.780236][ T118] #4: ffffffff9469d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.780240][ T118] irq event stamp: 173970 [ 11.780241][ T118] hardirqs last enabled at (173969): [] __down_trylock_console_sem+0x86/0xa0 [ 11.780244][ T118] hardirqs last disabled at (173970): [] console_emit_next_record+0x3d4/0x4c0 [ 11.780246][ T118] softirqs last enabled at (173782): [] handle_softirqs+0x67c/0x900 [ 11.780248][ T118] softirqs last disabled at (173777): [] __irq_exit_rcu+0x145/0x1c0