[ 8.523392][ T137] sh (137) used greatest stack depth: 24816 bytes left [ 8.523409][ T137] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.523411][ T137] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 137, name: sh [ 8.523412][ T137] preempt_count: 2, expected: 0 [ 8.523413][ T137] RCU nest depth: 0, expected: 0 [ 8.523414][ T137] locks held by sh/137: 5, last CPU#3: [ 8.523417][ T137] #0: ffffffff85c127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.523428][ T137] #1: ffffffff85d79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.523434][ T137] #2: ffffffff85d79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.523437][ T137] #3: ffffffff85c99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.523441][ T137] #4: ffffffff85c99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.523445][ T137] irq event stamp: 18398 [ 8.523446][ T137] hardirqs last enabled at (18397): [] __down_trylock_console_sem+0x86/0xa0 [ 8.523448][ T137] hardirqs last disabled at (18398): [] console_emit_next_record+0x3d4/0x4c0 [ 8.523450][ T137] softirqs last enabled at (17564): [] handle_softirqs+0x67c/0x900 [ 8.523453][ T137] softirqs last disabled at (17097): [] __irq_exit_rcu+0x145/0x1c0 [ 8.523455][ T137] Preemption disabled at: [ 8.523455][ T137] [<0000000000000000>] 0x0 [ 8.523462][ T137] CPU: 3 UID: 0 PID: 137 Comm: sh Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.523466][ T137] Tainted: [W]=WARN [ 8.523467][ T137] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.523468][ T137] Call Trace: [ 8.523470][ T137] [ 8.523472][ T137] dump_stack_lvl+0x6f/0xa0 [ 8.523478][ T137] __might_resched.cold+0x1fe/0x2c1 [ 8.523482][ T137] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.523486][ T137] ? __kmalloc_noprof+0xdb/0x760 [ 8.523491][ T137] __kmalloc_noprof+0x443/0x760 [ 8.523493][ T137] ? alloc_buf.isra.0+0x4b/0x260 [ 8.523499][ T137] ? do_raw_spin_unlock+0x59/0x250 [ 8.523505][ T137] alloc_buf.isra.0+0x4b/0x260 [ 8.523508][ T137] put_chars+0x1e1/0x2f0 [ 8.523512][ T137] ? __send_to_port+0x420/0x420 [ 8.523513][ T137] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.523518][ T137] ? validate_chain+0x38b/0xc20 [ 8.523523][ T137] hvc_console_print+0x292/0x780 [ 8.523529][ T137] ? hvc_write+0x3a0/0x3a0 [ 8.523531][ T137] ? rcu_is_watching+0x16/0xd0 [ 8.523534][ T137] ? lock_acquire+0x13c/0x160 [ 8.523538][ T137] console_emit_next_record+0x22f/0x4c0 [ 8.523541][ T137] ? devkmsg_read+0x4b0/0x4b0 [ 8.523543][ T137] ? console_flush_one_record+0x106/0x710 [ 8.523546][ T137] ? rcu_is_watching+0x16/0xd0 [ 8.523548][ T137] ? lock_acquire+0x13c/0x160 [ 8.523552][ T137] console_flush_one_record+0x46f/0x710 [ 8.523556][ T137] ? console_emit_next_record+0x4c0/0x4c0 [ 8.523558][ T137] ? __lock_acquire+0x518/0xc20 [ 8.523563][ T137] console_unlock+0xee/0x1f0 [ 8.523565][ T137] ? console_flush_one_record+0x710/0x710 [ 8.523567][ T137] ? rcu_is_watching+0x16/0xd0 [ 8.523569][ T137] ? lock_acquire+0x60/0x160 [ 8.523573][ T137] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.523574][ T137] ? vprintk_emit+0x320/0x3e0 [ 8.523578][ T137] vprintk_emit+0x37c/0x3e0 [ 8.523581][ T137] ? wake_up_klogd_work_func+0x90/0x90 [ 8.523585][ T137] ? __lock_acquire+0x518/0xc20 [ 8.523588][ T137] _printk+0xc7/0x100 [ 8.523591][ T137] ? snapshot_read.cold+0x21/0x21 [ 8.523594][ T137] ? do_raw_spin_lock+0x131/0x280 [ 8.523596][ T137] ? __rwlock_init+0x150/0x150 [ 8.523600][ T137] ? do_raw_spin_lock+0x131/0x280 [ 8.523603][ T137] do_exit.cold+0x82/0x9c [ 8.523606][ T137] ? exit_notify+0x890/0x890 [ 8.523607][ T137] ? __lock_release.isra.0+0x69/0x1a0 [ 8.523610][ T137] ? rcu_is_watching+0x16/0xd0 [ 8.523614][ T137] do_group_exit+0xb8/0x370 [ 8.523617][ T137] __x64_sys_exit_group+0x3c/0x50 [ 8.523619][ T137] x64_sys_call+0x1567/0x1570 [ 8.523621][ T137] do_syscall_64+0xff/0x530 [ 8.523625][ T137] ? exc_page_fault+0xee/0x100 [ 8.523627][ T137] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.523630][ T137] RIP: 0033:0x7fb036a811b8 [ 8.523632][ T137] Code: Unable to access opcode bytes at 0x7fb036a8118e. [ 8.523633][ T137] RSP: 002b:00007fff2270ed38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.523635][ T137] RAX: ffffffffffffffda RBX: 00007fb036bb1f88 RCX: 00007fb036a811b8 [ 8.523637][ T137] RDX: 00007fb0369bea48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 8.523637][ T137] RBP: 00007fff2270ed90 R08: 0000000000000000 R09: 0000000000000050 [ 8.523638][ T137] R10: 00007fff2270ebd0 R11: 0000000000000246 R12: 0000000000000001 [ 8.523639][ T137] R13: 0000000000000000 R14: 00007fb036bb0680 R15: 00007fb036bb1fa0 [ 8.523645][ T137] [ 8.940528][ T168] perl (168) used greatest stack depth: 24320 bytes left