[ 12.404172][ T109] su (109) used greatest stack depth: 24104 bytes left [ 12.404191][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.404193][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 12.404195][ T109] preempt_count: 2, expected: 0 [ 12.404196][ T109] RCU nest depth: 0, expected: 0 [ 12.404197][ T109] locks held by su/109: 5, last CPU#3: [ 12.404199][ T109] #0: ffffffff85e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.404210][ T109] #1: ffffffff85f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.404215][ T109] #2: ffffffff85f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.404218][ T109] #3: ffffffff85e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.404221][ T109] #4: ffffffff85e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.404225][ T109] irq event stamp: 166688 [ 12.404225][ T109] hardirqs