[ 148.704687][ T112] su (112) used greatest stack depth: 22976 bytes left [ 148.704707][ T112] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 148.704709][ T112] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 112, name: su [ 148.704710][ T112] preempt_count: 2, expected: 0 [ 148.704711][ T112] RCU nest depth: 0, expected: 0 [ 148.704712][ T112] locks held by su/112: 5, last CPU#1: [ 148.704714][ T112] #0: ffffffff900127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 148.704726][ T112] #1: ffffffff90179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 148.704732][ T112] #2: ffffffff90179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 148.704735][ T112] #3: ffffffff90099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 148.704739][ T112] #4: ffffffff90099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 148.704743][ T112] irq event stamp: 156778 [ 148.704744][ T112] hardirqs last enabled at (156777): [] __down_trylock_console_sem+0x86/0xa0 [ 148.704746][ T112] hardirqs last disabled at (156778): [] console_emit_next_record+0x3d4/0x4c0 [ 148.704748][ T112] softirqs last enabled at (154620): [] handle_softirqs+0x67c/0x900 [ 148.704750][ T112] softirqs last disabled at (154497): [] __irq_exit_rcu+0x145/0x1c0 [ 148.704752][ T112] Preemption disabled at: [ 148.704753][ T112] [<0000000000000000>] 0x0 [ 148.704760][ T112] CPU: 1 UID: 0 PID: 112 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 148.704763][ T112] Tainted: [W]=WARN [ 148.704764][ T112] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 148.704766][ T112] Call Trace: [ 148.704768][ T112] [ 148.704769][