[ 8.869393][ T137] rpm (137) used greatest stack depth: 24760 bytes left [ 8.869411][ T137] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.869413][ T137] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 137, name: rpm [ 8.869414][ T137] preempt_count: 2, expected: 0 [ 8.869415][ T137] RCU nest depth: 0, expected: 0 [ 8.869416][ T137] locks held by rpm/137: 5, last CPU#3: [ 8.869418][ T137] #0: ffffffffb4a02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 8.869430][ T137] #1: ffffffffb4b6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.869435][ T137] #2: ffffffffb4b6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.869438][ T137] #3: ffffffffb4a89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.869441][ T137] #4: ffffffffb4a89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.869445][ T137] irq event stamp: 76036 [ 8.869445][ T137] hardirqs last enabled at (76035): [] __down_trylock_console_sem+0x86/0xa0 [ 8.869449][ T137] hardirqs last disabled at (76036): [] console_emit_next_record+0x3d4/0x4c0 [ 8.869450][ T137] softirqs last enabled at (74400): [] handle_softirqs+0x67c/0x900 [ 8.869453][ T137] softirqs last disabled at (74395): [] __irq_exit_rcu+0x145/0x1c0 [ 8.869455][ T137] Preemption disabled at: [ 8.869456][ T137] [<0000000000000000>] 0x0 [ 8.869462][ T137] CPU: 3 UID: 0 PID: 137 Comm: rpm Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.869465][ T137] Tainted: [W]=WARN [ 8.869466][ T137] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.869468][ T137] Call Trace: [ 8.869470][ T137] [ 8.869471][ T137] dump_stack_lvl+0x6f/0xa0 [ 8.869476][ T137] __might_resched.cold+0x1fe/0x2c1 [ 8.869485][ T137] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.869488][ T137] ? __kmalloc_noprof+0xdb/0x760 [ 8.869492][ T137] __kmalloc_noprof+0x443/0x760 [ 8.869495][ T137] ? alloc_buf.isra.0+0x4b/0x260 [ 8.869501][ T137] ? do_raw_spin_unlock+0x59/0x250 [ 8.869504][ T137] alloc_buf.isra.0+0x4b/0x260 [ 8.869507][ T137] put_chars+0x1e1/0x2f0 [ 8.869510][ T137] ? __send_to_port+0x420/0x420 [ 8.869516][ T137] hvc_console_print+0x292/0x780 [ 8.869522][ T137] ? hvc_write+0x3a0/0x3a0 [ 8.869525][ T137] ? lock_acquire+0x13c/0x160 [ 8.869529][ T137] console_emit_next_record+0x22f/0x4c0 [ 8.869532][ T137] ? devkmsg_read+0x4b0/0x4b0 [ 8.869534][ T137] ? console_flush_one_record+0x106/0x710 [ 8.869536][ T137] ? rcu_is_watching+0x16/0xd0 [ 8.869540][ T137] ? lock_acquire+0x13c/0x160 [ 8.869544][ T137] console_flush_one_record+0x46f/0x710 [ 8.869547][ T137] ? console_emit_next_record+0x4c0/0x4c0 [ 8.869548][ T137] ? __lock_acquire+0x518/0xc20 [ 8.869553][ T137] console_unlock+0xee/0x1f0 [ 8.869555][ T137] ? console_flush_one_record+0x710/0x710 [ 8.869557][ T137] ? rcu_is_watching+0x16/0xd0 [ 8.869558][ T137] ? lock_acquire+0x60/0x160 [ 8.869562][ T137] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.869564][ T137] ? vprintk_emit+0x320/0x3e0 [ 8.869567][ T137] vprintk_emit+0x37c/0x3e0 [ 8.869570][ T137] ? wake_up_klogd_work_func+0x90/0x90 [ 8.869572][ T137] ? __lock_acquire+0x518/0xc20 [ 8.869576][ T137] _printk+0xc7/0x100 [ 8.869580][ T137] ? snapshot_read.cold+0x21/0x21 [ 8.869582][ T137] ? do_raw_spin_lock+0x131/0x280 [ 8.869585][ T137] ? __rwlock_init+0x150/0x150 [ 8.869589][ T137] ? do_raw_spin_lock+0x131/0x280 [ 8.869591][ T137] do_exit.cold+0x82/0x9c [ 8.869595][ T137] ? exit_notify+0x890/0x890 [ 8.869596][ T137] ? __lock_release.isra.0+0x69/0x1a0 [ 8.869599][ T137] ? rcu_is_watching+0x16/0xd0 [ 8.869603][ T137] do_group_exit+0xb8/0x370 [ 8.869606][ T137] __x64_sys_exit_group+0x3c/0x50 [ 8.869608][ T137] x64_sys_call+0x1567/0x1570 [ 8.869610][ T137] do_syscall_64+0x10e/0x570 [ 8.869614][ T137] ? exc_page_fault+0xee/0x100 [ 8.869617][ T137] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.869619][ T137] RIP: 0033:0x7f56924b91b8 [ 8.869621][ T137] Code: Unable to access opcode bytes at 0x7f56924b918e. [ 8.869622][ T137] RSP: 002b:00007ffeda5aa758 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.869624][ T137] RAX: ffffffffffffffda RBX: 00007f56925e9f88 RCX: 00007f56924b91b8 [ 8.869626][ T137] RDX: 00007f56914f4b08 RSI: ffffffffffffff98 RDI: 0000000000000000 [ 8.869626][ T137] RBP: 00007ffeda5aa7b0 R08: 0000000000000000 R09: 00000000000000a0 [ 8.869627][ T137] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b [ 8.869628][ T137] R13: 0000000000000000 R14: 00007f56925e8680 R15: 00007f56925e9fa0 [ 8.869634][ T137] [ 9.532339][ T181] ip (181) used greatest stack depth: 24344 bytes left