[ 56.884468][ T118] su (118) used greatest stack depth: 24072 bytes left [ 56.884488][ T118] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 56.884490][ T118] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 118, name: su [ 56.884491][ T118] preempt_count: 2, expected: 0 [ 56.884492][ T118] RCU nest depth: 0, expected: 0 [ 56.884493][ T118] locks held by su/118: 5, last CPU#3: [ 56.884495][ T118] #0: ffffffffb2a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 56.884507][ T118] #1: ffffffffb2b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 56.884512][ T118] #2: ffffffffb2b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 56.884517][ T118] #3: ffffffffb2a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 56.884520][ T118] #4: ffffffffb2a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 56.884524][ T118] irq event stamp: 176754 [ 56.884525][ T118] hardirqs last enabled at (176753): [] __down_trylock_console_sem+0x86/0xa0 [ 56.884528][ T118] hardirqs last disabled at (176754): [] console_emit_next_record+0x3d4/0x4c0 [ 56.884530][ T118] softirqs last enabled at (175102): [] handle_softirqs+0x67c/0x900 [ 56.884533][ T118] softirqs last disabled at (175097): [] __irq_exit_rcu+0x145/0x1c0 [ 56.884535][ T118] Preemption disabled at: [ 56.884536][