[ 15.138511][ T118] su (118) used greatest stack depth: 22864 bytes left [ 15.138531][ T118] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.138533][ T118] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 118, name: su [ 15.138534][ T118] preempt_count: 2, expected: 0 [ 15.138535][ T118] RCU nest depth: 0, expected: 0 [ 15.138536][ T118] locks held by su/118: 5, last CPU#3: [ 15.138538][ T118] #0: ffffffffb2a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 15.138550][ T118] #1: ffffffffb2b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.138555][ T118] #2: ffffffffb2b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.138560][ T118] #3: ffffffffb2a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.138564][ T118] #4: ffffffffb2a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.138568][ T118] irq event stamp: 189030 [ 15.138569][ T118] hardirqs last enabled at (189029): [] __down_trylock_console_sem+0x86/0xa0 [ 15.138572][ T118] hardirqs last disabled at (189030): [] console_emit_next_record+0x3d4/0x4c0 [ 15.138574][ T118] softirqs last enabled at (187174): [] handle_softirqs+0x67c/0x900