[ 11.136462][ T109] su (109) used greatest stack depth: 24104 bytes left [ 11.136479][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.136481][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 11.136483][ T109] preempt_count: 2, expected: 0 [ 11.136484][ T109] RCU nest depth: 0, expected: 0 [ 11.136485][ T109] locks held by su/109: 5, last CPU#3: [ 11.136487][ T109] #0: ffffffff86a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.136498][ T109] #1: ffffffff86b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.136503][ T109] #2: ffffffff86b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.136507][ T109] #3: ffffffff86a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.136510][ T109] #4: ffffffff86a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.136513][ T109] irq event stamp: 152714 [ 11.136514][ T109] hardirqs last enabled at (152713): [] __down_trylock_console_sem+0x86/0xa0 [ 11.136518][ T109] hardirqs last disabled at (152714): [] console_emit_next_record+0x3d4/0x4c0 [ 11.136519][ T109] softirqs last enabled at (150648): [] handle_softirqs+0x67c/0x900 [ 11.136521][ T109] softirqs last disabled at (150643): [] __irq_exit_rcu+0x145/0x1c0 [ 11.136523][ T109] Preemption disabled at: [ 11.136524][ T109] [<0000000000000000>] 0x0