[ 10.280153][ T232] tc (232) used greatest stack depth: 24808 bytes left [ 10.280169][ T232] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.280171][ T232] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 232, name: tc [ 10.280173][ T232] preempt_count: 2, expected: 0 [ 10.280174][ T232] RCU nest depth: 0, expected: 0 [ 10.280174][ T232] locks held by tc/232: 5, last CPU#0: [ 10.280177][ T232] #0: ffffffffb7a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.280189][ T232] #1: ffffffffb7b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.280194][ T232] #2: ffffffffb7b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.280197][ T232] #3: ffffffffb7a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.280201][ T232] #4: ffffffffb7a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.280204][ T232] irq event stamp: 32596 [ 10.280205][ T232] hardirqs last enabled at (32595): [] __down_trylock_console_sem+0x86/0xa0 [ 10.280208][ T232] hardirqs last disabled at (32596): [] console_emit_next_record+0x3d4/0x4c0 [ 10.280210][ T232] softirqs last enabled at (30902): [] handle_softirqs+0x67c/0x900 [ 10.280212][ T232] softirqs last disabled at (30897): [] __irq_exit_rcu+0x145/0x1c0 [ 10.280214][ T232] Preemption disabled at: [ 10.280215][ T232] [<0000000000000000>] 0x0 [ 10.280221][ T232] CPU: 0 UID: 0 PID: 232 Comm: tc Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.280225][ T232] Tainted: [W]=WARN [ 10.280226][ T232] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.280227][ T232] Call Trace: [ 10.280229][ T232] [ 10.280231][ T232] dump_stack_lvl+0x6f/0xa0 [ 10.280236][ T232] __might_resched.cold+0x1fe/0x2c1 [ 10.280240][ T232] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.280243][ T232] ? __kmalloc_noprof+0xdb/0x760 [ 10.280248][ T232] __kmalloc_noprof+0x443/0x760 [ 10.280251][ T232] ? alloc_buf.isra.0+0x4b/0x260 [ 10.280257][ T232] ? do_raw_spin_unlock+0x59/0x250 [ 10.280259][ T232] alloc_buf.isra.0+0x4b/0x260 [ 10.280262][ T232] put_chars+0x1e1/0x2f0 [ 10.280265][ T232] ? __send_to_port+0x420/0x420 [ 10.280267][ T232] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.280271][ T232] ? validate_chain+0x38b/0xc20 [ 10.280276][ T232] hvc_console_print+0x292/0x780 [ 10.280283][ T232] ? hvc_write+0x3a0/0x3a0 [ 10.280285][ T232] ? rcu_is_watching+0x16/0xd0 [ 10.280287][ T232] ? lock_acquire+0x13c/0x160 [ 10.280291][ T232] console_emit_next_record+0x22f/0x4c0 [ 10.280294][ T232] ? devkmsg_read+0x4b0/0x4b0 [ 10.280296][ T232] ? console_flush_one_record+0x106/0x710 [ 10.280298][ T232] ? rcu_is_watching+0x16/0xd0 [ 10.280300][ T232] ? lock_acquire+0x13c/0x160 [ 10.280304][ T232] console_flush_one_record+0x46f/0x710 [ 10.280308][ T232] ? console_emit_next_record+0x4c0/0x4c0 [ 10.280309][ T232] ? __lock_acquire+0x518/0xc20 [ 10.280314][ T232] console_unlock+0xee/0x1f0 [ 10.280316][ T232] ? console_flush_one_record+0x710/0x710 [ 10.280318][ T232] ? rcu_is_watching+0x16/0xd0 [ 10.280320][ T232] ? lock_acquire+0x60/0x160 [ 10.280323][ T232] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.280325][ T232] ? vprintk_emit+0x320/0x3e0 [ 10.280328][ T232] vprintk_emit+0x37c/0x3e0 [ 10.280332][ T232] ? wake_up_klogd_work_func+0x90/0x90 [ 10.280335][ T232] ? __lock_acquire+0x518/0xc20 [ 10.280339][ T232] _printk+0xc7/0x100 [ 10.280343][ T232] ? snapshot_read.cold+0x21/0x21 [ 10.280346][ T232] ? do_raw_spin_lock+0x131/0x280 [ 10.280349][ T232] ? __rwlock_init+0x150/0x150 [ 10.280353][ T232] ? do_raw_spin_lock+0x131/0x280 [ 10.280356][ T232] do_exit.cold+0x82/0x9c [ 10.280359][ T232] ? exit_notify+0x890/0x890 [ 10.280361][ T232] ? __lock_release.isra.0+0x69/0x1a0 [ 10.280363][ T232] ? rcu_is_watching+0x16/0xd0 [ 10.280367][ T232] do_group_exit+0xb8/0x370 [ 10.280370][ T232] __x64_sys_exit_group+0x3c/0x50 [ 10.280372][ T232] x64_sys_call+0x1567/0x1570 [ 10.280375][ T232] do_syscall_64+0xff/0x530 [ 10.280378][ T232] ? exc_page_fault+0xee/0x100 [ 10.280381][ T232] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.280383][ T232] RIP: 0033:0x7ffba7e9a1b8 [ 10.280385][ T232] Code: Unable to access opcode bytes at 0x7ffba7e9a18e. [ 10.280386][ T232] RSP: 002b:00007ffc6151f368 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.280389][ T232] RAX: ffffffffffffffda RBX: 00007ffba7fcaf88 RCX: 00007ffba7e9a1b8 [ 10.280390][ T232] RDX: 00007ffba7be5588 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.280391][ T232] RBP: 00007ffc6151f3c0 R08: 0000000000000000 R09: 0000000000000000 [ 10.280391][ T232] R10: 00007ffc6151f160 R11: 0000000000000246 R12: 0000000000000001 [ 10.280392][ T232] R13: 0000000000000000 R14: 00007ffba7fc9680 R15: 00007ffba7fcafa0 [ 10.280399][ T232]