[ 17.214746][ T118] su (118) used greatest stack depth: 24104 bytes left [ 17.214764][ T118] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.214766][ T118] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 118, name: su [ 17.214768][ T118] preempt_count: 2, expected: 0 [ 17.214769][ T118] RCU nest depth: 0, expected: 0 [ 17.214770][ T118] locks held by su/118: 5, last CPU#0: [ 17.214772][ T118] #0: ffffffffa92027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 17.214784][ T118] #1: ffffffffa9399dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.214790][ T118] #2: ffffffffa9399e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.214794][ T118] #3: ffffffffa9289760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.214798][ T118] #4: ffffffffa9289660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 17.214802][ T118] irq event stamp: 152886 [ 17.214803][ T118] hardirqs last enabled at (152885): [] __down_trylock_console_sem+0x86/0xa0 [ 17.214805][ T118] hardirqs last disabled at (152886): [] console_emit_next_record+0x3f8/0x4f0 [ 17.214807][ T118] softirqs last enabled at (150886): [] handle_softirqs+0x67c/0x900 [ 17.214809][ T118] softirqs last disabled at (149455): [] __irq_exit_rcu+0x145/0x1c0 [ 17.214812][ T118] Preemption disabled at: [ 17.214812][ T118] [<0000000000000000>] 0x0 [ 17.214820][