[ 8.116513][ T125] rpm (125) used greatest stack depth: 23904 bytes left [ 8.116531][ T125] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.116533][ T125] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 125, name: rpm [ 8.116534][ T125] preempt_count: 2, expected: 0 [ 8.116535][ T125] RCU nest depth: 0, expected: 0 [ 8.116536][ T125] locks held by rpm/125: 5, last CPU#3: [ 8.116538][ T125] #0: ffffffffa0a02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 8.116551][ T125] #1: ffffffffa0b6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.116556][ T125] #2: ffffffffa0b6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.116560][ T125] #3: ffffffffa0a89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.116563][ T125] #4: ffffffffa0a89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.116566][ T125] irq event stamp: 113800 [ 8.116567][ T125] hardirqs last enabled at (113799): [] __down_trylock_console_sem+0x86/0xa0 [ 8.116571][ T125] hardirqs last disabled at (113800): [] console_emit_next_record+0x3d4/0x4c0 [ 8.116572][ T125] softirqs last enabled at (107210): [] handle_softirqs+0x67c/0x900 [ 8.116575][ T125] softirqs last disabled at (107203): [] __irq_exit_rcu+0x145/0x1c0 [ 8.116578][ T125] Preemption disabled at: [ 8.116578][ T125] [<0000000000000000>] 0x0 [ 8.116586][ T125] CPU: 3 UID: 0 PID: 125 Comm: rpm Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.116589][ T125] Tainted: [W]=WARN [ 8.116590][ T125] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.116592][ T125] Call Trace: [ 8.116593][ T125] [ 8.116595][ T125] dump_stack_lvl+0x6f/0xa0 [ 8.116600][ T125] __might_resched.cold+0x1fe/0x2c1 [ 8.116605][ T125] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.116608][ T125] ? __kmalloc_noprof+0xdb/0x760 [ 8.116613][ T125] __kmalloc_noprof+0x443/0x760 [ 8.116615][ T125] ? alloc_buf.isra.0+0x4b/0x260 [ 8.116622][ T125] ? do_raw_spin_unlock+0x59/0x250 [ 8.116625][ T125] alloc_buf.isra.0+0x4b/0x260 [ 8.116629][ T125] put_chars+0x1e1/0x2f0 [ 8.116631][ T125] ? __send_to_port+0x420/0x420 [ 8.116638][ T125] hvc_console_print+0x292/0x780 [ 8.116645][ T125] ? hvc_write+0x3a0/0x3a0 [ 8.116648][ T125] ? lock_acquire+0x13c/0x160 [ 8.116652][ T125] console_emit_next_record+0x22f/0x4c0 [ 8.116656][ T125] ? devkmsg_read+0x4b0/0x4b0 [ 8.116657][ T125] ? console_flush_one_record+0x106/0x710 [ 8.116659][ T125] ? rcu_is_watching+0x16/0xd0 [ 8.116663][ T125] ? lock_acquire+0x13c/0x160 [ 8.116667][ T125] console_flush_one_record+0x46f/0x710 [ 8.116671][ T125] ? console_emit_next_record+0x4c0/0x4c0 [ 8.116672][ T125] ? __lock_acquire+0x518/0xc20 [ 8.116678][ T125] console_unlock+0xee/0x1f0 [ 8.116680][ T125] ? console_flush_one_record+0x710/0x710 [ 8.116681][ T125] ? rcu_is_watching+0x16/0xd0 [ 8.116683][ T125] ? lock_acquire+0x60/0x160 [ 8.116687][ T125] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.116689][ T125] ? vprintk_emit+0x320/0x3e0 [ 8.116692][ T125] vprintk_emit+0x37c/0x3e0 [ 8.116695][ T125] ? wake_up_klogd_work_func+0x90/0x90 [ 8.116698][ T125] ? __lock_acquire+0x518/0xc20 [ 8.116702][ T125] _printk+0xc7/0x100 [ 8.116705][ T125] ? snapshot_read.cold+0x21/0x21 [ 8.116708][ T125] ? do_raw_spin_lock+0x131/0x280 [ 8.116711][ T125] ? __rwlock_init+0x150/0x150 [ 8.116715][ T125] ? do_raw_spin_lock+0x131/0x280 [ 8.116718][ T125] do_exit.cold+0x82/0x9c [ 8.116722][ T125] ? exit_notify+0x890/0x890 [ 8.116723][ T125] ? __lock_release.isra.0+0x69/0x1a0 [ 8.116726][ T125] ? rcu_is_watching+0x16/0xd0 [ 8.116730][ T125] do_group_exit+0xb8/0x370 [ 8.116733][ T125] __x64_sys_exit_group+0x3c/0x50 [ 8.116735][ T125] x64_sys_call+0x1567/0x1570 [ 8.116738][ T125] do_syscall_64+0x10e/0x570 [ 8.116742][ T125] ? exc_page_fault+0xee/0x100 [ 8.116745][ T125] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.116747][ T125] RIP: 0033:0x7f2ff81dc1b8 [ 8.116749][ T125] Code: Unable to access opcode bytes at 0x7f2ff81dc18e. [ 8.116750][ T125] RSP: 002b:00007fff56dbb978 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.116753][ T125] RAX: ffffffffffffffda RBX: 00007f2ff830cf88 RCX: 00007f2ff81dc1b8 [ 8.116754][ T125] RDX: 00007f2ff7217b08 RSI: ffffffffffffff98 RDI: 0000000000000000 [ 8.116755][ T125] RBP: 00007fff56dbb9d0 R08: 0000000000000000 R09: 00000000000000a0 [ 8.116756][ T125] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b [ 8.116757][ T125] R13: 0000000000000000 R14: 00007f2ff830b680 R15: 00007f2ff830cfa0 [ 8.116763][ T125]