[ 8.851154][ T137] rpm (137) used greatest stack depth: 24352 bytes left [ 8.851172][ T137] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.851175][ T137] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 137, name: rpm [ 8.851177][ T137] preempt_count: 2, expected: 0 [ 8.851178][ T137] RCU nest depth: 0, expected: 0 [ 8.851179][ T137] locks held by rpm/137: 5, last CPU#3: [ 8.851181][ T137] #0: ffffffff97a02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 8.851193][ T137] #1: ffffffff97b6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.851198][ T137] #2: ffffffff97b6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.851202][ T137] #3: ffffffff97a89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.851205][ T137] #4: ffffffff97a89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.851208][ T137] irq event stamp: 73536 [ 8.851209][ T137] hardirqs last enabled at (73535): [] __down_trylock_console_sem+0x86/0xa0 [ 8.851212][ T137] hardirqs last disabled at (73536): [] console_emit_next_record+0x3d4/0x4c0 [ 8.851214][ T137] softirqs last enabled at (70284): [] handle_softirqs+0x67c/0x900 [ 8.851216][ T137] softirqs last disabled at (70279): [] __irq_exit_rcu+0x145/0x1c0 [ 8.851218][ T137] Preemption disabled at: [ 8.851219][ T137] [<0000000000000000>] 0x0 [ 8.851225][ T137] CPU: 3 UID: 0 PID: 137 Comm: rpm Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.851229][ T137] Tainted: [W]=WARN [ 8.851230][ T137] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.851231][ T137] Call Trace: [ 8.851233][ T137] [ 8.851234][ T137] dump_stack_lvl+0x6f/0xa0 [ 8.851239][ T137] __might_resched.cold+0x1fe/0x2c1 [ 8.851244][ T137] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.851247][ T137] ? __kmalloc_noprof+0xdb/0x760 [ 8.851252][ T137] __kmalloc_noprof+0x443/0x760 [ 8.851254][ T137] ? alloc_buf.isra.0+0x4b/0x260 [ 8.851260][ T137] ? do_raw_spin_unlock+0x59/0x250 [ 8.851263][ T137] alloc_buf.isra.0+0x4b/0x260 [ 8.851266][ T137] put_chars+0x1e1/0x2f0 [ 8.851269][ T137] ? __send_to_port+0x420/0x420 [ 8.851275][ T137] hvc_console_print+0x292/0x780 [ 8.851281][ T137] ? hvc_write+0x3a0/0x3a0 [ 8.851284][ T137] ? lock_acquire+0x13c/0x160 [ 8.851288][ T137] console_emit_next_record+0x22f/0x4c0 [ 8.851292][ T137] ? devkmsg_read+0x4b0/0x4b0 [ 8.851293][ T137] ? console_flush_one_record+0x106/0x710 [ 8.851295][ T137] ? rcu_is_watching+0x16/0xd0 [ 8.851299][ T137] ? lock_acquire+0x13c/0x160 [ 8.851303][ T137] console_flush_one_record+0x46f/0x710 [ 8.851306][ T137] ? console_emit_next_record+0x4c0/0x4c0 [ 8.851307][ T137] ? __lock_acquire+0x518/0xc20 [ 8.851312][ T137] console_unlock+0xee/0x1f0 [ 8.851315][ T137] ? console_flush_one_record+0x710/0x710 [ 8.851316][ T137] ? rcu_is_watching+0x16/0xd0 [ 8.851318][ T137] ? lock_acquire+0x60/0x160 [ 8.851321][ T137] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.851323][ T137] ? vprintk_emit+0x320/0x3e0 [ 8.851326][ T137] vprintk_emit+0x37c/0x3e0 [ 8.851329][ T137] ? wake_up_klogd_work_func+0x90/0x90 [ 8.851332][ T137] ? __lock_acquire+0x518/0xc20 [ 8.851336][ T137] _printk+0xc7/0x100 [ 8.851339][ T137] ? snapshot_read.cold+0x21/0x21 [ 8.851341][ T137] ? do_raw_spin_lock+0x131/0x280 [ 8.851344][ T137] ? __rwlock_init+0x150/0x150 [ 8.851348][ T137] ? do_raw_spin_lock+0x131/0x280 [ 8.851351][ T137] do_exit.cold+0x82/0x9c [ 8.851354][ T137] ? exit_notify+0x890/0x890 [ 8.851356][ T137] ? __lock_release.isra.0+0x69/0x1a0 [ 8.851359][ T137] ? rcu_is_watching+0x16/0xd0 [ 8.851362][ T137] do_group_exit+0xb8/0x370 [ 8.851365][ T137] __x64_sys_exit_group+0x3c/0x50 [ 8.851367][ T137] x64_sys_call+0x1567/0x1570 [ 8.851370][ T137] do_syscall_64+0x10e/0x570 [ 8.851373][ T137] ? exc_page_fault+0xee/0x100 [ 8.851376][ T137] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.851378][ T137] RIP: 0033:0x7fc0f160c1b8 [ 8.851381][ T137] Code: Unable to access opcode bytes at 0x7fc0f160c18e. [ 8.851382][ T137] RSP: 002b:00007fff20d12508 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.851384][ T137] RAX: ffffffffffffffda RBX: 00007fc0f173cf88 RCX: 00007fc0f160c1b8 [ 8.851385][ T137] RDX: 00007fc0f0647b08 RSI: ffffffffffffff98 RDI: 0000000000000000 [ 8.851386][ T137] RBP: 00007fff20d12560 R08: 0000000000000000 R09: 00000000000000a0 [ 8.851387][ T137] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b [ 8.851388][ T137] R13: 0000000000000000 R14: 00007fc0f173b680 R15: 00007fc0f173cfa0 [ 8.851394][ T137] [ 9.552322][ T181] ip (181) used greatest stack depth: 24272 bytes left