[ 10.541126][ T230] tc (230) used greatest stack depth: 24808 bytes left [ 10.541144][ T230] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.541145][ T230] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 230, name: tc [ 10.541147][ T230] preempt_count: 2, expected: 0 [ 10.541148][ T230] RCU nest depth: 0, expected: 0 [ 10.541149][ T230] locks held by tc/230: 5, last CPU#2: [ 10.541151][ T230] #0: ffffffff8e6027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.541166][ T230] #1: ffffffff8e769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.541171][ T230] #2: ffffffff8e769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.541175][ T230] #3: ffffffff8e689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.541178][ T230] #4: ffffffff8e689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.541182][ T230] irq event stamp: 28098 [ 10.541183][ T230] hardirqs last enabled at (28097): [] __down_trylock_console_sem+0x86/0xa0 [ 10.541186][ T230] hardirqs last disabled at (28098): [] console_emit_next_record+0x3d4/0x4c0 [ 10.541188][ T230] softirqs last enabled at (27564): [] handle_softirqs+0x67c/0x900 [ 10.541190][ T230] softirqs last disabled at (27559): [] __irq_exit_rcu+0x145/0x1c0 [ 10.541193][ T230] Preemption disabled at: [ 10.541194][ T230] [<0000000000000000>] 0x0 [ 10.541207][ T230] CPU: 2 UID: 0 PID: 230 Comm: tc Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.541210][ T230] Tainted: [W]=WARN [ 10.541211][ T230] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.541213][ T230] Call Trace: [ 10.541214][ T230] [ 10.541216][ T230] dump_stack_lvl+0x6f/0xa0 [ 10.541221][ T230] __might_resched.cold+0x1fe/0x2c1 [ 10.541226][ T230] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.541229][ T230] ? __kmalloc_noprof+0xdb/0x760 [ 10.541236][ T230] __kmalloc_noprof+0x443/0x760 [ 10.541239][ T230] ? alloc_buf.isra.0+0x4b/0x260 [ 10.541247][ T230] ? do_raw_spin_unlock+0x59/0x250 [ 10.541250][ T230] alloc_buf.isra.0+0x4b/0x260 [ 10.541254][ T230] put_chars+0x1e1/0x2f0 [ 10.541257][ T230] ? __send_to_port+0x420/0x420 [ 10.541259][ T230] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.541263][ T230] ? validate_chain+0x38b/0xc20 [ 10.541268][ T230] hvc_console_print+0x292/0x780 [ 10.541275][ T230] ? hvc_write+0x3a0/0x3a0 [ 10.541277][ T230] ? rcu_is_watching+0x16/0xd0 [ 10.541279][ T230] ? lock_acquire+0x13c/0x160 [ 10.541284][ T230] console_emit_next_record+0x22f/0x4c0 [ 10.541287][ T230] ? devkmsg_read+0x4b0/0x4b0 [ 10.541288][ T230] ? console_flush_one_record+0x106/0x710 [ 10.541291][ T230] ? rcu_is_watching+0x16/0xd0 [ 10.541293][ T230] ? lock_acquire+0x13c/0x160 [ 10.541297][ T230] console_flush_one_record+0x46f/0x710 [ 10.541301][ T230] ? console_emit_next_record+0x4c0/0x4c0 [ 10.541303][ T230] ? __lock_acquire+0x518/0xc20 [ 10.541308][ T230] console_unlock+0xee/0x1f0 [ 10.541310][ T230] ? console_flush_one_record+0x710/0x710 [ 10.541312][ T230] ? rcu_is_watching+0x16/0xd0 [ 10.541314][ T230] ? lock_acquire+0x60/0x160 [ 10.541317][ T230] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.541319][ T230] ? vprintk_emit+0x320/0x3e0 [ 10.541322][ T230] vprintk_emit+0x37c/0x3e0 [ 10.541325][ T230] ? wake_up_klogd_work_func+0x90/0x90 [ 10.541328][ T230] ? __lock_acquire+0x518/0xc20 [ 10.541332][ T230] _printk+0xc7/0x100 [ 10.541336][ T230] ? snapshot_read.cold+0x21/0x21 [ 10.541339][ T230] ? do_raw_spin_lock+0x131/0x280 [ 10.541341][ T230] ? __rwlock_init+0x150/0x150 [ 10.541346][ T230] ? do_raw_spin_lock+0x131/0x280 [ 10.541348][ T230] do_exit.cold+0x82/0x9c [ 10.541352][ T230] ? exit_notify+0x890/0x890 [ 10.541354][ T230] ? __lock_release.isra.0+0x69/0x1a0 [ 10.541357][ T230] ? rcu_is_watching+0x16/0xd0 [ 10.541360][ T230] do_group_exit+0xb8/0x370 [ 10.541363][ T230] __x64_sys_exit_group+0x3c/0x50 [ 10.541365][ T230] x64_sys_call+0x1567/0x1570 [ 10.541368][ T230] do_syscall_64+0xff/0x530 [ 10.541372][ T230] ? exc_page_fault+0xee/0x100 [ 10.541376][ T230] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.541378][ T230] RIP: 0033:0x7f8bbe7c61b8 [ 10.541380][ T230] Code: Unable to access opcode bytes at 0x7f8bbe7c618e. [ 10.541381][ T230] RSP: 002b:00007ffc54cce058 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.541384][ T230] RAX: ffffffffffffffda RBX: 00007f8bbe8f6f88 RCX: 00007f8bbe7c61b8 [ 10.541385][ T230] RDX: 00007f8bbe511588 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.541386][ T230] RBP: 00007ffc54cce0b0 R08: 0000000000000000 R09: 0000000000000000 [ 10.541387][ T230] R10: 00007ffc54ccde50 R11: 0000000000000246 R12: 0000000000000001 [ 10.541388][ T230] R13: 0000000000000000 R14: 00007f8bbe8f5680 R15: 00007f8bbe8f6fa0 [ 10.541394][ T230]