[ 14.275303][ T109] su (109) used greatest stack depth: 24104 bytes left [ 14.275322][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.275324][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 14.275326][ T109] preempt_count: 2, expected: 0 [ 14.275327][ T109] RCU nest depth: 0, expected: 0 [ 14.275328][ T109] locks held by su/109: 5, last CPU#3: [ 14.275330][ T109] #0: ffffffffbba027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.275342][ T109] #1: ffffffffbbb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.275347][ T109] #2: ffffffffbbb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.275351][ T109] #3: ffffffffbba89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.275354][ T109] #4: ffffffffbba89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.275357][ T109] irq event stamp: 151430 [ 14.275358][ T109] hardirqs last enabled at (151429): [] __down_trylock_console_sem+0x86/0xa0 [ 14.275362][ T109] hardirqs last disabled at (151430): [] console_emit_next_record+0x3d4/0x4c0 [ 14.275363][ T109] softirqs last enabled at (151048): [] handle_softirqs+0x67c/0x900 [ 14.275365][ T109] softirqs