[ 9.538669][ T133] rt-link (133) used greatest stack depth: 24320 bytes left [ 9.538686][ T133] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.538689][ T133] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 133, name: rt-link [ 9.538690][ T133] preempt_count: 2, expected: 0 [ 9.538691][ T133] RCU nest depth: 0, expected: 0 [ 9.538692][ T133] locks held by rt-link/133: 5, last CPU#2: [ 9.538695][ T133] #0: ffffffff98a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.538708][ T133] #1: ffffffff98b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.538713][ T133] #2: ffffffff98b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.538716][ T133] #3: ffffffff98a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.538720][ T133] #4: ffffffff98a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.538724][ T133] irq event stamp: 23518 [ 9.538724][ T133] hardirqs last enabled at (23517): [] __down_trylock_console_sem+0x86/0xa0 [ 9.538727][ T133] hardirqs last disabled at (23518): [] console_emit_next_record+0x3d4/0x4c0 [ 9.538728][ T133] softirqs last enabled at (21652): [] handle_softirqs+0x67c/0x900 [ 9.538731][ T133] softirqs last disabled at (21647): [] __irq_exit_rcu+0x145/0x1c0 [ 9.538734][ T133] Preemption disabled at: [ 9.538735][ T133] [<0000000000000000>] 0x0 [ 9.538742][ T133] CPU: 2 UID: 0 PID: 133 Comm: rt-link Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.538745][ T133] Tainted: [W]=WARN [ 9.538746][ T133] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.538748][ T133] Call Trace: [ 9.538750][ T133] [ 9.538751][ T133] dump_stack_lvl+0x6f/0xa0 [ 9.538757][ T133] __might_resched.cold+0x1fe/0x2c1 [ 9.538762][ T133] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.538766][ T133] ? __kmalloc_noprof+0xdb/0x760 [ 9.538771][ T133] __kmalloc_noprof+0x443/0x760 [ 9.538773][ T133] ? alloc_buf.isra.0+0x4b/0x260 [ 9.538780][ T133] ? do_raw_spin_unlock+0x59/0x250 [ 9.538782][ T133] alloc_buf.isra.0+0x4b/0x260 [ 9.538786][ T133] put_chars+0x1e1/0x2f0 [ 9.538789][ T133] ? __send_to_port+0x420/0x420 [ 9.538791][ T133] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.538795][ T133] ? validate_chain+0x38b/0xc20 [ 9.538800][ T133] hvc_console_print+0x292/0x780 [ 9.538807][ T133] ? hvc_write+0x3a0/0x3a0 [ 9.538810][ T133] ? rcu_is_watching+0x16/0xd0 [ 9.538812][ T133] ? lock_acquire+0x13c/0x160 [ 9.538816][ T133] console_emit_next_record+0x22f/0x4c0 [ 9.538820][ T133] ? devkmsg_read+0x4b0/0x4b0 [ 9.538821][ T133] ? console_flush_one_record+0x106/0x710 [ 9.538824][ T133] ? rcu_is_watching+0x16/0xd0 [ 9.538826][ T133] ? lock_acquire+0x13c/0x160 [ 9.538830][ T133] console_flush_one_record+0x46f/0x710 [ 9.538834][ T133] ? console_emit_next_record+0x4c0/0x4c0 [ 9.538835][ T133] ? __lock_acquire+0x518/0xc20 [ 9.538840][ T133] console_unlock+0xee/0x1f0 [ 9.538843][ T133] ? console_flush_one_record+0x710/0x710 [ 9.538845][ T133] ? rcu_is_watching+0x16/0xd0 [ 9.538847][ T133] ? lock_acquire+0x60/0x160 [ 9.538850][ T133] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.538851][ T133] ? vprintk_emit+0x320/0x3e0 [ 9.538855][ T133] vprintk_emit+0x37c/0x3e0 [ 9.538858][ T133] ? wake_up_klogd_work_func+0x90/0x90 [ 9.538861][ T133] ? __lock_acquire+0x518/0xc20 [ 9.538865][ T133] _printk+0xc7/0x100 [ 9.538868][ T133] ? snapshot_read.cold+0x21/0x21 [ 9.538871][ T133] ? do_raw_spin_lock+0x131/0x280 [ 9.538873][ T133] ? __rwlock_init+0x150/0x150 [ 9.538877][ T133] ? do_raw_spin_lock+0x131/0x280 [ 9.538879][ T133] do_exit.cold+0x82/0x9c [ 9.538883][ T133] ? exit_notify+0x890/0x890 [ 9.538885][ T133] ? __lock_release.isra.0+0x69/0x1a0 [ 9.538888][ T133] ? rcu_is_watching+0x16/0xd0 [ 9.538891][ T133] do_group_exit+0xb8/0x370 [ 9.538895][ T133] __x64_sys_exit_group+0x3c/0x50 [ 9.538897][ T133] x64_sys_call+0x1567/0x1570 [ 9.538899][ T133] do_syscall_64+0xff/0x530 [ 9.538903][ T133] ? exc_page_fault+0xee/0x100 [ 9.538906][ T133] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.538909][ T133] RIP: 0033:0x7ffa0cf6a1b8 [ 9.538911][ T133] Code: Unable to access opcode bytes at 0x7ffa0cf6a18e. [ 9.538912][ T133] RSP: 002b:00007ffd814902d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.538915][ T133] RAX: ffffffffffffffda RBX: 00007bfa0b1d0030 RCX: 00007ffa0cf6a1b8 [ 9.538916][ T133] RDX: 00007ffa0c9d4000 RSI: ffffffffffffff60 RDI: 0000000000000000 [ 9.538917][ T133] RBP: 00007ffa0c97b800 R08: 00007ffa0d00db00 R09: 0000000000000000 [ 9.538918][ T133] R10: 0000000000000018 R11: 0000000000000246 R12: 00007c2a0c3e0130 [ 9.538919][ T133] R13: 00007bfa0b1d0340 R14: 00007ffa0c9c0030 R15: 00007ffa0c9c0000 [ 9.538925][ T133]