[ 13.185376][ T109] su (109) used greatest stack depth: 23776 bytes left [ 13.185395][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.185398][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 13.185399][ T109] preempt_count: 2, expected: 0 [ 13.185400][ T109] RCU nest depth: 0, expected: 0 [ 13.185401][ T109] locks held by su/109: 5, last CPU#0: [ 13.185403][ T109] #0: ffffffffa8e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.185415][ T109] #1: ffffffffa8f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.185421][ T109] #2: ffffffffa8f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.185424][ T109] #3: ffffffffa8e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.185428][ T109] #4: ffffffffa8e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.185432][ T109] irq event stamp: 159098 [ 13.185433][ T109] hardirqs last enabled at (159097): [] __down_trylock_console_sem+0x86/0xa0 [ 13.185436][ T109] hardirqs last disabled at (159098): [] console_emit_next_record+0x3d4/0x4c0 [ 13.185438][ T109] softirqs last enabled at (158708): [] handle_softirqs+0x67c/0x900