[ 10.857714][ T230] tc (230) used greatest stack depth: 23776 bytes left [ 10.857735][ T230] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.857738][ T230] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 230, name: tc [ 10.857740][ T230] preempt_count: 2, expected: 0 [ 10.857741][ T230] RCU nest depth: 0, expected: 0 [ 10.857743][ T230] locks held by tc/230: 5, last CPU#3: [ 10.857746][ T230] #0: ffffffff89c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.857760][ T230] #1: ffffffff89d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.857767][ T230] #2: ffffffff89d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.857772][ T230] #3: ffffffff89c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.857777][ T230] #4: ffffffff89c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.857783][ T230] irq event stamp: 53342 [ 10.857784][ T230] hardirqs last enabled at (53341): [] __down_trylock_console_sem+0x86/0xa0 [ 10.857789][ T230] hardirqs last disabled at (53342): [] console_emit_next_record+0x3d4/0x4c0 [ 10.857791][ T230] softirqs last enabled at (52538): [] handle_softirqs+0x67c/0x900 [ 10.857794][ T230] softirqs last disabled at (52533): [] __irq_exit_rcu+0x145/0x1c0 [ 10.857797][ T230] Preemption disabled at: [ 10.857798][ T230] [<0000000000000000>] 0x0 [ 10.857807][ T230] CPU: 3 UID: 0 PID: 230 Comm: tc Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.857811][ T230] Tainted: [W]=WARN [ 10.857812][ T230] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.857815][ T230] Call Trace: [ 10.857816][ T230] [ 10.857819][ T230] dump_stack_lvl+0x6f/0xa0 [ 10.857826][ T230] __might_resched.cold+0x1fe/0x2c1 [ 10.857832][ T230] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.857837][ T230] ? __kmalloc_noprof+0xdb/0x760 [ 10.857844][ T230] __kmalloc_noprof+0x443/0x760 [ 10.857848][ T230] ? alloc_buf.isra.0+0x4b/0x260 [ 10.857857][ T230] ? do_raw_spin_unlock+0x59/0x250 [ 10.857861][ T230] alloc_buf.isra.0+0x4b/0x260 [ 10.857866][ T230] put_chars+0x1e1/0x2f0 [ 10.857870][ T230] ? __send_to_port+0x420/0x420 [ 10.857873][ T230] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.857878][ T230] ? validate_chain+0x38b/0xc20 [ 10.857887][ T230] hvc_console_print+0x292/0x780 [ 10.857898][ T230] ? hvc_write+0x3a0/0x3a0 [ 10.857902][ T230] ? rcu_is_watching+0x16/0xd0 [ 10.857905][ T230] ? lock_acquire+0x13c/0x160 [ 10.857912][ T230] console_emit_next_record+0x22f/0x4c0 [ 10.857917][ T230] ? devkmsg_read+0x4b0/0x4b0 [ 10.857919][ T230] ? console_flush_one_record+0x106/0x710 [ 10.857924][ T230] ? rcu_is_watching+0x16/0xd0 [ 10.857926][ T230] ? lock_acquire+0x13c/0x160 [ 10.857933][ T230] console_flush_one_record+0x46f/0x710 [ 10.857940][ T230] ? console_emit_next_record+0x4c0/0x4c0 [ 10.857942][ T230] ? __lock_acquire+0x518/0xc20 [ 10.857952][ T230] console_unlock+0xee/0x1f0 [ 10.857955][ T230] ? console_flush_one_record+0x710/0x710 [ 10.857957][ T230] ? rcu_is_watching+0x16/0xd0 [ 10.857960][ T230] ? lock_acquire+0x60/0x160 [ 10.857967][ T230] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.857969][ T230] ? vprintk_emit+0x320/0x3e0 [ 10.857974][ T230] vprintk_emit+0x37c/0x3e0 [ 10.857980][ T230] ? wake_up_klogd_work_func+0x90/0x90 [ 10.857985][ T230] ? __lock_acquire+0x518/0xc20 [ 10.857991][ T230] _printk+0xc7/0x100 [ 10.857996][ T230] ? snapshot_read.cold+0x21/0x21 [ 10.858001][ T230] ? do_raw_spin_lock+0x131/0x280 [ 10.858007][ T230] ? __rwlock_init+0x150/0x150 [ 10.858014][ T230] ? do_raw_spin_lock+0x131/0x280 [ 10.858019][ T230] do_exit.cold+0x82/0x9c [ 10.858024][ T230] ? exit_notify+0x890/0x890 [ 10.858026][ T230] ? __lock_release.isra.0+0x69/0x1a0 [ 10.858030][ T230] ? rcu_is_watching+0x16/0xd0 [ 10.858037][ T230] do_group_exit+0xb8/0x370 [ 10.858042][ T230] __x64_sys_exit_group+0x3c/0x50 [ 10.858045][ T230] x64_sys_call+0x1567/0x1570 [ 10.858049][ T230] do_syscall_64+0xff/0x530 [ 10.858054][ T230] ? exc_page_fault+0xee/0x100 [ 10.858059][ T230] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.858062][ T230] RIP: 0033:0x7f6385ca11b8 [ 10.858065][ T230] Code: Unable to access opcode bytes at 0x7f6385ca118e. [ 10.858067][ T230] RSP: 002b:00007ffff4271798 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.858071][ T230] RAX: ffffffffffffffda RBX: 00007f6385dd1f88 RCX: 00007f6385ca11b8 [ 10.858073][ T230] RDX: 00007f63859ec588 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.858074][ T230] RBP: 00007ffff42717f0 R08: 0000000000000000 R09: 0000000000000000 [ 10.858076][ T230] R10: 00007ffff4271590 R11: 0000000000000246 R12: 0000000000000001 [ 10.858077][ T230] R13: 0000000000000000 R14: 00007f6385dd0680 R15: 00007f6385dd1fa0 [ 10.858090][ T230]