[ 9.694391][ T127] rpm (127) used greatest stack depth: 24352 bytes left [ 9.694410][ T127] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.694412][ T127] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 127, name: rpm [ 9.694414][ T127] preempt_count: 2, expected: 0 [ 9.694415][ T127] RCU nest depth: 0, expected: 0 [ 9.694416][ T127] locks held by rpm/127: 5, last CPU#3: [ 9.694418][ T127] #0: ffffffffaf202f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 9.694429][ T127] #1: ffffffffaf36a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.694435][ T127] #2: ffffffffaf36a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.694438][ T127] #3: ffffffffaf289de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.694442][ T127] #4: ffffffffaf289ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.694445][ T127] irq event stamp: 72902 [ 9.694446][ T127] hardirqs last enabled at (72901): [] __down_trylock_console_sem+0x86/0xa0 [ 9.694450][ T127] hardirqs last disabled at (72902): [] console_emit_next_record+0x3d4/0x4c0 [ 9.694452][ T127] softirqs last enabled at (72574): [] handle_softirqs+0x67c/0x900 [ 9.694454][ T127] softirqs last disabled at (72569): [] __irq_exit_rcu+0x145/0x1c0 [ 9.694457][ T127] Preemption disabled at: [ 9.694457][ T127] [<0000000000000000>] 0x0 [ 9.694464][ T127] CPU: 3 UID: 0 PID: 127 Comm: rpm Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.694468][ T127] Tainted: [W]=WARN [ 9.694469][ T127] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.694470][ T127] Call Trace: [ 9.694472][ T127] [ 9.694474][ T127] dump_stack_lvl+0x6f/0xa0 [ 9.694479][ T127] __might_resched.cold+0x1fe/0x2c1 [ 9.694484][ T127] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.694487][ T127] ? __kmalloc_noprof+0xdb/0x760 [ 9.694492][ T127] __kmalloc_noprof+0x443/0x760 [ 9.694495][ T127] ? alloc_buf.isra.0+0x4b/0x260 [ 9.694501][ T127] ? do_raw_spin_unlock+0x59/0x250 [ 9.694504][ T127] alloc_buf.isra.0+0x4b/0x260 [ 9.694507][ T127] put_chars+0x1e1/0x2f0 [ 9.694510][ T127] ? __send_to_port+0x420/0x420 [ 9.694517][ T127] hvc_console_print+0x292/0x780 [ 9.694524][ T127] ? hvc_write+0x3a0/0x3a0 [ 9.694526][ T127] ? lock_acquire+0x13c/0x160 [ 9.694531][ T127] console_emit_next_record+0x22f/0x4c0 [ 9.694534][ T127] ? devkmsg_read+0x4b0/0x4b0 [ 9.694536][ T127] ? console_flush_one_record+0x106/0x710 [ 9.694538][ T127] ? rcu_is_watching+0x16/0xd0 [ 9.694542][ T127] ? lock_acquire+0x13c/0x160 [ 9.694546][ T127] console_flush_one_record+0x46f/0x710 [ 9.694550][ T127] ? console_emit_next_record+0x4c0/0x4c0 [ 9.694551][ T127] ? __lock_acquire+0x518/0xc20 [ 9.694557][ T127] console_unlock+0xee/0x1f0 [ 9.694559][ T127] ? console_flush_one_record+0x710/0x710 [ 9.694560][ T127] ? rcu_is_watching+0x16/0xd0 [ 9.694562][ T127] ? lock_acquire+0x60/0x160 [ 9.694566][ T127] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.694568][ T127] ? vprintk_emit+0x320/0x3e0 [ 9.694571][ T127] vprintk_emit+0x37c/0x3e0 [ 9.694574][ T127] ? wake_up_klogd_work_func+0x90/0x90 [ 9.694577][ T127] ? __lock_acquire+0x518/0xc20 [ 9.694581][ T127] _printk+0xc7/0x100 [ 9.694585][ T127] ? snapshot_read.cold+0x21/0x21 [ 9.694587][ T127] ? do_raw_spin_lock+0x131/0x280 [ 9.694590][ T127] ? __rwlock_init+0x150/0x150 [ 9.694594][ T127] ? do_raw_spin_lock+0x131/0x280 [ 9.694597][ T127] do_exit.cold+0x82/0x9c [ 9.694601][ T127] ? exit_notify+0x890/0x890 [ 9.694602][ T127] ? __lock_release.isra.0+0x69/0x1a0 [ 9.694605][ T127] ? rcu_is_watching+0x16/0xd0 [ 9.694609][ T127] do_group_exit+0xb8/0x370 [ 9.694612][ T127] __x64_sys_exit_group+0x3c/0x50 [ 9.694614][ T127] x64_sys_call+0x1567/0x1570 [ 9.694617][ T127] do_syscall_64+0x10e/0x570 [ 9.694621][ T127] ? exc_page_fault+0xee/0x100 [ 9.694628][ T127] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.694630][ T127] RIP: 0033:0x7f71e379b1b8 [ 9.694632][ T127] Code: Unable to access opcode bytes at 0x7f71e379b18e. [ 9.694633][ T127] RSP: 002b:00007ffc8df789e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.694635][ T127] RAX: ffffffffffffffda RBX: 00007f71e38cbf88 RCX: 00007f71e379b1b8 [ 9.694637][ T127] RDX: 00007f71e27d6b08 RSI: ffffffffffffff98 RDI: 0000000000000000 [ 9.694638][ T127] RBP: 00007ffc8df78a40 R08: 0000000000000000 R09: 00000000000000a0 [ 9.694638][ T127] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b [ 9.694639][ T127] R13: 0000000000000000 R14: 00007f71e38ca680 R15: 00007f71e38cbfa0 [ 9.694646][ T127] [ 10.627100][ T175] ip (175) used greatest stack depth: 23488 bytes left