[ 59.293432][ T118] su (118) used greatest stack depth: 23936 bytes left [ 59.293454][ T118] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 59.293457][ T118] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 118, name: su [ 59.293459][ T118] preempt_count: 2, expected: 0 [ 59.293461][ T118] RCU nest depth: 0, expected: 0 [ 59.293462][ T118] locks held by su/118: 5, last CPU#0: [ 59.293465][ T118] #0: ffffffff8fa167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 59.293479][ T118] #1: ffffffff8fb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 59.293486][ T118] #2: ffffffff8fb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 59.293492][ T118] #3: ffffffff8fa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 59.293497][ T118] #4: ffffffff8fa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 59.293503][ T118] irq event stamp: 167074 [ 59.293504][ T118] hardirqs last enabled at (167073): [] __down_trylock_console_sem+0x86/0xa0 [ 59.293508][ T118] hardirqs last disabled at (167074): [] console_emit_next_record+0x3d4/0x4c0 [ 59.293511][ T118] softirqs last enabled at (166866): [] handle_softirqs+0x67c/0x900 [ 59.293514][ T118] softirqs last disabled at (165249): [] __irq_exit_rcu+0x145/0x1c0 [ 59.293517][ T118] Preemption disabled at: [ 59.293518][ T118] [<0000000000000000>] 0x0 [ 59.293526][ T118] CPU: 0 UID: 0 PID: 118 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 59.293531][ T118] Tainted: [W]=WARN [ 59.293532][ T118] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 59.293535][ T118] Call Trace: [ 59.293537][ T118] [ 59.293539][ T118] dump_stack_lvl+0x6f/0xa0