[ 54.238605][ T109] su (109) used greatest stack depth: 24104 bytes left [ 54.238625][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 54.238627][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 54.238629][ T109] preempt_count: 2, expected: 0 [ 54.238630][ T109] RCU nest depth: 0, expected: 0 [ 54.238631][ T109] locks held by su/109: 5, last CPU#0: [ 54.238633][ T109] #0: ffffffffbb2027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 54.238645][ T109] #1: ffffffffbb369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 54.238651][ T109] #2: ffffffffbb369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 54.238654][ T109] #3: ffffffffbb289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 54.238657][ T109] #4: ffffffffbb289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 54.238661][ T109] irq event stamp: 162074 [ 54.238662][ T109] hardirqs last enabled at (162073): [] __down_trylock_console_sem+0x86/0xa0 [ 54.238665][ T109] hardirqs last disabled at (162074): [] console_emit_next_record+0x3d4/0x4c0 [ 54.238666][ T109] softirqs last enabled at (160852): [] handle_softirqs+0x67c/0x900 [ 54.238668][ T109] softirqs last disabled at (160845): [] __irq_exit_rcu+0x145/0x1c0 [ 54.238671][ T109] Preemption disabled at: [ 54.238672][ T109] [<0000000000000000>] 0x0 [ 54.238679][ T109] CPU: 0 UID: 0 PID: 109 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 54.238682][ T109] Tainted: [W]=WARN [ 54.238683][ T109] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 54.238684][ T109] Call Trace: [ 54.238686][ T109] [ 54.238688][ T109] dump_stack_lvl+0x6f/0xa0 [ 54.238693][ T109] __might_resched.cold+0x1fe/0x2c1