[ 160.377566][ T110] su (110) used greatest stack depth: 24104 bytes left [ 160.377584][ T110] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 160.377586][ T110] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 110, name: su [ 160.377588][ T110] preempt_count: 2, expected: 0 [ 160.377589][ T110] RCU nest depth: 0, expected: 0 [ 160.377590][ T110] locks held by su/110: 5, last CPU#1: [ 160.377592][ T110] #0: ffffffff8ce027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 160.377604][ T110] #1: ffffffff8cf69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 160.377609][ T110] #2: ffffffff8cf69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 160.377613][ T110] #3: ffffffff8ce89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 160.377617][ T110] #4: ffffffff8ce89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 160.377620][ T110] irq event stamp: 157820 [ 160.377621][ T110] hardirqs last enabled at (157819): [] __down_trylock_console_sem+0x86/0xa0 [ 160.377624][ T110] hardirqs last disabled at (157820): [] console_emit_next_record+0x3d4/0x4c0 [ 160.377626][ T110] softirqs last enabled at (157476): [] handle_softirqs+0x67c/0x900 [ 160.377627][ T110] softirqs last disabled at (156415): [] __irq_exit_rcu+0x145/0x1c0 [ 160.377630][ T110] Preemption disabled at: [ 160.377630][ T110] [<0000000000000000>] 0x0 [ 160.377638][ T110] CPU: 1 UID: 0 PID: 110 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 160.377641][ T110] Tainted: [W]=WARN [ 160.377642][ T110] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 160.377643][ T110] Call Trace: [ 160.377645][ T110] [ 160.377646][ T110] dump_stack_lvl+0x6f/0xa0 [ 160.377653][ T110] __might_resched.cold+0x1