[ 8.935012][ T145] sha1sum (145) used greatest stack depth: 23808 bytes left [ 8.935029][ T145] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.935032][ T145] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 145, name: sha1sum [ 8.935033][ T145] preempt_count: 2, expected: 0 [ 8.935034][ T145] RCU nest depth: 0, expected: 0 [ 8.935035][ T145] locks held by sha1sum/145: 5, last CPU#3: [ 8.935037][ T145] #0: ffffffffab4167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.935048][ T145] #1: ffffffffab57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.935053][ T145] #2: ffffffffab57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.935057][ T145] #3: ffffffffab49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.935061][ T145] #4: ffffffffab49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.935065][ T145] irq event stamp: 17506 [ 8.935066][ T145] hardirqs last enabled at (17505): [] __down_trylock_console_sem+0x86/0xa0 [ 8.935069][ T145] hardirqs last disabled at (17506): [] console_emit_next_record+0x3d4/0x4c0 [ 8.935071][ T145] softirqs last enabled at (17358): [] handle_softirqs+0x67c/0x900 [ 8.935073][ T145] softirqs last disabled at (17353): [] __irq_exit_rcu+0x145/0x1c0 [ 8.935076][ T145] Preemption disabled at: [ 8.935077][ T145] [<0000000000000000>] 0x0 [ 8.935083][ T145] CPU: 3 UID: 0 PID: 145 Comm: sha1sum Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.935086][ T145] Tainted: [W]=WARN [ 8.935087][ T145] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.935089][ T145] Call Trace: [ 8.935090][ T145] [ 8.935092][ T145] dump_stack_lvl+0x6f/0xa0 [ 8.935098][ T145] __might_resched.cold+0x1fe/0x2c1 [ 8.935103][ T145] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.935107][ T145] ? __kmalloc_noprof+0xdb/0x760 [ 8.935111][ T145] __kmalloc_noprof+0x443/0x760 [ 8.935113][ T145] ? alloc_buf.isra.0+0x4b/0x260 [ 8.935119][ T145] ? do_raw_spin_unlock+0x59/0x250 [ 8.935122][ T145] alloc_buf.isra.0+0x4b/0x260 [ 8.935126][ T145] put_chars+0x1e1/0x2f0 [ 8.935128][ T145] ? __send_to_port+0x420/0x420 [ 8.935129][ T145] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.935133][ T145] ? validate_chain+0x38b/0xc20 [ 8.935139][ T145] hvc_console_print+0x292/0x780 [ 8.935151][ T145] ? hvc_write+0x3a0/0x3a0 [ 8.935154][ T145] ? rcu_is_watching+0x16/0xd0 [ 8.935156][ T145] ? lock_acquire+0x13c/0x160 [ 8.935160][ T145] console_emit_next_record+0x22f/0x4c0 [ 8.935164][ T145] ? devkmsg_read+0x4b0/0x4b0 [ 8.935165][ T145] ? console_flush_one_record+0x106/0x710 [ 8.935169][ T145] ? rcu_is_watching+0x16/0xd0 [ 8.935170][ T145] ? lock_acquire+0x13c/0x160 [ 8.935174][ T145] console_flush_one_record+0x46f/0x710 [ 8.935178][ T145] ? console_emit_next_record+0x4c0/0x4c0 [ 8.935180][ T145] ? __lock_acquire+0x518/0xc20 [ 8.935185][ T145] console_unlock+0xee/0x1f0 [ 8.935188][ T145] ? console_flush_one_record+0x710/0x710 [ 8.935190][ T145] ? rcu_is_watching+0x16/0xd0 [ 8.935192][ T145] ? lock_acquire+0xe0/0x160 [ 8.935196][ T145] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.935197][ T145] ? vprintk_emit+0x320/0x3e0 [ 8.935200][ T145] vprintk_emit+0x37c/0x3e0 [ 8.935203][ T145] ? wake_up_klogd_work_func+0x90/0x90 [ 8.935206][ T145] ? __lock_acquire+0x518/0xc20 [ 8.935209][ T145] _printk+0xc7/0x100 [ 8.935213][ T145] ? snapshot_read.cold+0x21/0x21 [ 8.935216][ T145] ? do_raw_spin_lock+0x131/0x280 [ 8.935218][ T145] ? __rwlock_init+0x150/0x150 [ 8.935222][ T145] ? do_raw_spin_lock+0x131/0x280 [ 8.935225][ T145] do_exit.cold+0x82/0x9c [ 8.935229][ T145] ? exit_notify+0x890/0x890 [ 8.935230][ T145] ? __lock_release.isra.0+0x69/0x1a0 [ 8.935233][ T145] ? rcu_is_watching+0x16/0xd0 [ 8.935236][ T145] do_group_exit+0xb8/0x370 [ 8.935239][ T145] __x64_sys_exit_group+0x3c/0x50 [ 8.935241][ T145] x64_sys_call+0x1567/0x1570 [ 8.935243][ T145] do_syscall_64+0xff/0x530 [ 8.935247][ T145] ? exc_page_fault+0xee/0x100 [ 8.935250][ T145] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.935252][ T145] RIP: 0033:0x7fc55f0ff1b8 [ 8.935254][ T145] Code: Unable to access opcode bytes at 0x7fc55f0ff18e. [ 8.935255][ T145] RSP: 002b:00007ffec00aa668 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.935258][ T145] RAX: ffffffffffffffda RBX: 00007fc55f22ff88 RCX: 00007fc55f0ff1b8 [ 8.935259][ T145] RDX: 00007fc55f013e88 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 8.935260][ T145] RBP: 00007ffec00aa6c0 R08: 00007ffec00aa610 R09: 0000000000001010 [ 8.935261][ T145] R10: 00007ffec00aa500 R11: 0000000000000246 R12: 0000000000000002 [ 8.935262][ T145] R13: 0000000000000000 R14: 00007fc55f22e680 R15: 00007fc55f22ffa0 [ 8.935269][ T145]