[ 9.335570][ T203] ip (203) used greatest stack depth: 24464 bytes left [ 9.335585][ T203] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.335588][ T203] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 203, name: ip [ 9.335589][ T203] preempt_count: 2, expected: 0 [ 9.335590][ T203] RCU nest depth: 0, expected: 0 [ 9.335591][ T203] locks held by ip/203: 5, last CPU#3: [ 9.335593][ T203] #0: ffffffffa40167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.335604][ T203] #1: ffffffffa417ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.335609][ T203] #2: ffffffffa417de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.335615][ T203] #3: ffffffffa409d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.335619][ T203] #4: ffffffffa409d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.335623][ T203] irq event stamp: 25362 [ 9.335623][ T203] hardirqs last enabled at (25361): [] __down_trylock_console_sem+0x86/0xa0 [ 9.335626][ T203] hardirqs last disabled at (25362): [] console_emit_next_record+0x3d4/0x4c0 [ 9.335628][ T203] softirqs last enabled at (23794): [] netlink_release+0x17b/0xcf0 [ 9.335632][ T203] softirqs last disabled at (23792): [] netlink_release+0xd2/0xcf0 [ 9.335634][ T203] Preemption disabled at: [ 9.335635][ T203] [<0000000000000000>] 0x0 [ 9.335642][ T203] CPU: 3 UID: 0 PID: 203 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.335645][ T203] Tainted: [W]=WARN [ 9.335646][ T203] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.335648][ T203] Call Trace: [ 9.335649][ T203] [ 9.335651][ T203] dump_stack_lvl+0x6f/0xa0 [ 9.335657][ T203] __might_resched.cold+0x1fe/0x2c1 [ 9.335662][ T203] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.335665][ T203] ? __kmalloc_noprof+0xdb/0x760 [ 9.335670][ T203] __kmalloc_noprof+0x443/0x760 [ 9.335672][ T203] ? alloc_buf.isra.0+0x4b/0x260 [ 9.335678][ T203] ? do_raw_spin_unlock+0x59/0x250 [ 9.335680][ T203] alloc_buf.isra.0+0x4b/0x260 [ 9.335684][ T203] put_chars+0x1e1/0x2f0 [ 9.335686][ T203] ? __send_to_port+0x420/0x420 [ 9.335687][ T203] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.335691][ T203] ? validate_chain+0x38b/0xc20 [ 9.335696][ T203] hvc_console_print+0x292/0x780 [ 9.335704][ T203] ? hvc_write+0x3a0/0x3a0 [ 9.335706][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.335708][ T203] ? lock_acquire+0x13c/0x160 [ 9.335712][ T203] console_emit_next_record+0x22f/0x4c0 [ 9.335716][ T203] ? devkmsg_read+0x4b0/0x4b0 [ 9.335718][ T203] ? console_flush_one_record+0x106/0x710 [ 9.335721][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.335722][ T203] ? lock_acquire+0x13c/0x160 [ 9.335726][ T203] console_flush_one_record+0x46f/0x710 [ 9.335730][ T203] ? console_emit_next_record+0x4c0/0x4c0 [ 9.335732][ T203] ? __lock_acquire+0x518/0xc20 [ 9.335737][ T203] console_unlock+0xee/0x1f0 [ 9.335744][ T203] ? console_flush_one_record+0x710/0x710 [ 9.335746][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.335748][ T203] ? lock_acquire+0xe0/0x160 [ 9.335752][ T203] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.335753][ T203] ? vprintk_emit+0x320/0x3e0 [ 9.335756][ T203] vprintk_emit+0x37c/0x3e0 [ 9.335759][ T203] ? wake_up_klogd_work_func+0x90/0x90 [ 9.335762][ T203] ? __lock_acquire+0x518/0xc20 [ 9.335765][ T203] _printk+0xc7/0x100 [ 9.335769][ T203] ? snapshot_read.cold+0x21/0x21 [ 9.335772][ T203] ? do_raw_spin_lock+0x131/0x280 [ 9.335774][ T203] ? __rwlock_init+0x150/0x150 [ 9.335778][ T203] ? do_raw_spin_lock+0x131/0x280 [ 9.335781][ T203] do_exit.cold+0x82/0x9c [ 9.335784][ T203] ? exit_notify+0x890/0x890 [ 9.335786][ T203] ? __lock_release.isra.0+0x69/0x1a0 [ 9.335788][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.335792][ T203] do_group_exit+0xb8/0x370 [ 9.335794][ T203] __x64_sys_exit_group+0x3c/0x50 [ 9.335796][ T203] x64_sys_call+0x1567/0x1570 [ 9.335799][ T203] do_syscall_64+0xff/0x530 [ 9.335802][ T203] ? exc_page_fault+0xee/0x100 [ 9.335805][ T203] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.335807][ T203] RIP: 0033:0x7f659287d1b8 [ 9.335809][ T203] Code: Unable to access opcode bytes at 0x7f659287d18e. [ 9.335810][ T203] RSP: 002b:00007ffc8eccf518 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.335813][ T203] RAX: ffffffffffffffda RBX: 00007f65929adf88 RCX: 00007f659287d1b8 [ 9.335814][ T203] RDX: 00007f65925c7fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.335815][ T203] RBP: 00007ffc8eccf570 R08: 0000000000000000 R09: 0000000000000050 [ 9.335816][ T203] R10: 00007ffc8eccf330 R11: 0000000000000246 R12: 0000000000000001 [ 9.335816][ T203] R13: 0000000000000000 R14: 00007f65929ac680 R15: 00007f65929adfa0 [ 9.335823][ T203] [ 9.742400][ T214] ip (214) used greatest stack depth: 24416 bytes left [ 9.829698][ T215] ip (215) used greatest stack depth: 24192 bytes left [ 11.023323][ T289] u32 classifier [ 11.023339][ T289] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.023341][ T289] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 289, name: modprobe [ 11.023342][ T289] preempt_count: 1, expected: 0 [ 11.023343][ T289] RCU nest depth: 0, expected: 0 [ 11.023344][ T289] locks held by modprobe/289: 4, last CPU#2: [ 11.023346][ T289] #0: ffffffffa417ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.023358][ T289] #1: ffffffffa417de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.023363][ T289] #2: ffffffffa409d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.023366][ T289] #3: ffffffffa409d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.023370][ T289] irq event stamp: 20204 [ 11.023371][ T289] hardirqs last enabled at (20203): [] __down_trylock_console_sem+0x86/0xa0 [ 11.023374][ T289] hardirqs last disabled at (20204): [] console_emit_next_record+0x3d4/0x4c0 [ 11.023376][ T289] softirqs last enabled at (19122): [] handle_softirqs+0x67c/0x900 [ 11.023380][ T289] softirqs last disabled at (18013): [] __irq_exit_rcu+0x145/0x1c0 [ 11.023382][ T289] Preemption disabled at: [ 11.023383][ T289] [] vprintk_emit+0x31b/0x3e0 [ 11.023388][ T289] CPU: 2 UID: 0 PID: 289 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.023391][ T289] Tainted: [W]=WARN [ 11.023392][ T289] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.023393][ T289] Call Trace: [ 11.023395][ T289] [ 11.023396][ T289] dump_stack_lvl+0x6f/0xa0 [ 11.023402][ T289] ? vprintk_emit+0x31b/0x3e0 [ 11.023404][ T289] __might_resched.cold+0x1fe/0x2c1 [ 11.023408][ T289] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.023412][ T289] ? __kmalloc_noprof+0xdb/0x760 [ 11.023417][ T289] __kmalloc_noprof+0x443/0x760 [ 11.023419][ T289] ? alloc_buf.isra.0+0x4b/0x260 [ 11.023425][ T289] ? do_raw_spin_unlock+0x59/0x250 [ 11.023428][ T289] alloc_buf.isra.0+0x4b/0x260 [ 11.023432][ T289] put_chars+0x1e1/0x2f0 [ 11.023434][ T289] ? __send_to_port+0x420/0x420 [ 11.023435][ T289] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.023439][ T289] ? validate_chain+0x38b/0xc20 [ 11.023444][ T289] hvc_console_print+0x292/0x780 [ 11.023452][ T289] ? hvc_write+0x3a0/0x3a0 [ 11.023455][ T289] ? rcu_is_watching+0x16/0xd0 [ 11.023457][ T289] ? lock_acquire+0x13c/0x160 [ 11.023460][ T289] console_emit_next_record+0x22f/0x4c0 [ 11.023464][ T289] ? devkmsg_read+0x4b0/0x4b0 [ 11.023466][ T289] ? console_flush_one_record+0x106/0x710 [ 11.023469][ T289] ? rcu_is_watching+0x16/0xd0 [ 11.023471][ T289] ? lock_acquire+0x13c/0x160 [ 11.023475][ T289] console_flush_one_record+0x46f/0x710 [ 11.023479][ T289] ? console_emit_next_record+0x4c0/0x4c0 [ 11.023481][ T289] ? __lock_acquire+0x518/0xc20 [ 11.023486][ T289] console_unlock+0xee/0x1f0 [ 11.023489][ T289] ? console_flush_one_record+0x710/0x710 [ 11.023490][ T289] ? rcu_is_watching+0x16/0xd0 [ 11.023492][ T289] ? lock_acquire+0xe0/0x160 [ 11.023495][ T289] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.023497][ T289] ? vprintk_emit+0x320/0x3e0 [ 11.023500][ T289] vprintk_emit+0x37c/0x3e0 [ 11.023503][ T289] ? wake_up_klogd_work_func+0x90/0x90 [ 11.023508][ T289] ? exit_u32+0x460/0x460 [cls_u32] [ 11.023511][ T289] _printk+0xc7/0x100 [ 11.023514][ T289] ? snapshot_read.cold+0x21/0x21 [ 11.023520][ T289] ? do_one_initcall+0x113/0x4f0 [ 11.023523][ T289] init_u32+0x1e/0x1000 [cls_u32] [ 11.023526][ T289] do_one_initcall+0x124/0x4f0 [ 11.023529][ T289] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.023534][ T289] ? do_init_module+0xae/0x8a0 [ 11.023536][ T289] ? kasan_unpoison+0x44/0x70 [ 11.023542][ T289] do_init_module+0x2ad/0x8a0 [ 11.023545][ T289] ? lockdep_hardirqs_on+0x91/0x130 [ 11.023548][ T289] ? free_module+0x470/0x470 [ 11.023551][ T289] ? kfree+0x123/0x590 [ 11.023555][ T289] load_module+0x1424/0x1bb0 [ 11.023559][ T289] ? security_kernel_post_read_file+0x2f/0x60 [ 11.023564][ T289] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.023567][ T289] ? __ia32_sys_fsconfig+0x180/0x180 [ 11.023571][ T289] ? backing_file_read_iter+0x541/0x790 [ 11.023575][ T289] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.023578][ T289] init_module_from_file+0x11f/0x1a0 [ 11.023580][ T289] ? __do_sys_init_module+0x270/0x270 [ 11.023588][ T289] ? __rwlock_init+0x150/0x150 [ 11.023592][ T289] ? do_raw_spin_unlock+0x59/0x250 [ 11.023595][ T289] idempotent_init_module+0x37b/0x7c0 [ 11.023597][ T289] ? init_module_from_file+0x1a0/0x1a0 [ 11.023602][ T289] ? cap_capable+0x1d7/0x3d0 [ 11.023605][ T289] ? __x64_sys_pread64+0x18d/0x250 [ 11.023610][ T289] __x64_sys_finit_module+0xdf/0x190 [ 11.023613][ T289] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.023617][ T289] do_syscall_64+0xff/0x530 [ 11.023620][ T289] ? exc_page_fault+0xee/0x100 [ 11.023623][ T289] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.023625][ T289] RIP: 0033:0x7f08a25a637d [ 11.023628][ T289] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 11.023630][ T289] RSP: 002b:00007ffc30dfa748 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.023632][ T289] RAX: ffffffffffffffda RBX: 000055ee628c6810 RCX: 00007f08a25a637d [ 11.023633][ T289] RDX: 0000000000000000 RSI: 000055ee5eb59ffd RDI: 0000000000000000 [ 11.023634][ T289] RBP: 00007ffc30dfa7e0 R08: 0000000000000000 R09: 0000000000000000 [ 11.023635][ T289] R10: 0000000000000000 R11: 0000000000000246 R12: 000055ee5eb59ffd [ 11.023636][ T289] R13: 000055ee628c6950 R14: 0000000000040000 R15: 0000000000000000 [ 11.023642][ T289] [ 11.053664][ T289] input device check on [ 11.053874][ T289] Actions configured [ 11.088247][ T290] GACT probability NOT on [ 34.036741][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 34.036951][ C0] [ 34.036953][ C0] ======================================================== [ 34.036954][ C0] WARNING: possible irq lock inversion dependency detected [ 34.036956][ C0] 7.2.0-virtme #1 Tainted: G W [ 34.036958][ C0] -------------------------------------------------------- [ 34.036958][ C0] swapper/0/0 just changed the state of lock: [ 34.036959][ C0] ffffffffa409d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.036972][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 34.036973][ C0] (fs_reclaim){+.+.}-{0:0} [ 34.036974][ C0] [ 34.036974][ C0] [ 34.036974][ C0] and interrupts could create inverse lock ordering between them. [ 34.036974][ C0] [ 34.036975][ C0] [ 34.036975][ C0] other info that might help us debug this: [ 34.036976][ C0] Possible interrupt unsafe locking scenario: [ 34.036976][ C0] [ 34.036976][ C0] CPU0 CPU1 [ 34.036977][ C0] ---- ---- [ 34.036977][ C0] lock(fs_reclaim); [ 34.036978][ C0] local_irq_disable(); [ 34.036979][ C0] lock(console_owner); [ 34.036980][ C0] lock(fs_reclaim); [ 34.036981][ C0] [ 34.036981][ C0] lock(console_owner); [ 34.036982][ C0] [ 34.036982][ C0] *** DEADLOCK *** [ 34.036982][ C0] [ 34.036982][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 34.036983][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 34.036989][ C0] #1: ffffffffa41e29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 34.036993][ C0] #2: ffffffffa417ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.036996][ C0] #3: ffffffffa417de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.036999][ C0] [ 34.036999][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 34.037004][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 34.037006][ C0] HARDIRQ-ON-W at: [ 34.037007][ C0] __lock_acquire+0x388/0xc20 [ 34.037011][ C0] lock_acquire.part.0+0xd4/0x280 [ 34.037012][ C0] fs_reclaim_acquire+0xd5/0x120 [ 34.037016][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 34.037017][ C0] kthread_create_worker_on_node+0xea/0x210 [ 34.037020][ C0] workqueue_init+0x2a/0x680 [ 34.037024][ C0] kernel_init_freeable+0x2fe/0x630 [ 34.037027][ C0] kernel_init+0x21/0x150 [ 34.037031][ C0] ret_from_fork+0x474/0x6b0 [ 34.037034][ C0] ret_from_fork_asm+0x11/0x20 [ 34.037037][ C0] SOFTIRQ-ON-W at: [ 34.037038][ C0] __lock_acquire+0x388/0xc20 [ 34.037039][ C0] lock_acquire.part.0+0xd4/0x280 [ 34.037041][ C0] fs_reclaim_acquire+0xd5/0x120 [ 34.037042][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 34.037043][ C0] kthread_create_worker_on_node+0xea/0x210 [ 34.037045][ C0] workqueue_init+0x2a/0x680 [ 34.037046][ C0] kernel_init_freeable+0x2fe/0x630 [ 34.037048][ C0] kernel_init+0x21/0x150 [ 34.037049][ C0] ret_from_fork+0x474/0x6b0 [ 34.037050][ C0] ret_from_fork_asm+0x11/0x20 [ 34.037051][ C0] INITIAL USE at: [ 34.037052][ C0] __lock_acquire+0x388/0xc20 [ 34.037053][ C0] lock_acquire.part.0+0xd4/0x280 [ 34.037055][ C0] fs_reclaim_acquire+0xd5/0x120 [ 34.037056][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 34.037057][ C0] kthread_create_worker_on_node+0xea/0x210 [ 34.037059][ C0] workqueue_init+0x2a/0x680 [ 34.037060][ C0] kernel_init_freeable+0x2fe/0x630 [ 34.037061][ C0] kernel_init+0x21/0x150 [ 34.037063][ C0] ret_from_fork+0x474/0x6b0 [ 34.037064][ C0] ret_from_fork_asm+0x11/0x20 [ 34.037065][ C0] } [ 34.037066][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 34.037070][ C0] ... acquired at: [ 34.037071][ C0] __lock_acquire+0x518/0xc20 [ 34.037072][ C0] lock_acquire.part.0+0xd4/0x280 [ 34.037074][ C0] fs_reclaim_acquire+0xd5/0x120 [ 34.037075][ C0] __kmalloc_noprof+0xd3/0x760 [ 34.037076][ C0] alloc_buf.isra.0+0x4b/0x260 [ 34.037080][ C0] put_chars+0x1e1/0x2f0 [ 34.037081][ C0] hvc_console_print+0x292/0x780 [ 34.037084][ C0] console_emit_next_record+0x22f/0x4c0 [ 34.037086][ C0] console_flush_one_record+0x46f/0x710 [ 34.037088][ C0] console_unlock+0xee/0x1f0 [ 34.037089][ C0] vprintk_emit+0x37c/0x3e0 [ 34.037090][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 34.037093][ C0] dev_printk_emit+0xb9/0xee [ 34.037095][ C0] _dev_info+0xe2/0x116 [ 34.037096][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 34.037099][ C0] cmos_do_probe+0x73b/0x98a [ 34.037101][ C0] platform_probe+0xfe/0x1f0 [ 34.037103][ C0] call_driver_probe+0x61/0x1c0 [ 34.037105][ C0] really_probe+0x199/0x760 [ 34.037106][ C0] __driver_probe_device+0x24f/0x440 [ 34.037107][ C0] driver_probe_device+0x4a/0xf0 [ 34.037108][ C0] __driver_attach+0x1b8/0x540 [ 34.037109][ C0] bus_for_each_dev+0x130/0x1e0 [ 34.037110][ C0] bus_add_driver+0x2c8/0x530 [ 34.037111][ C0] driver_register+0x1a3/0x390 [ 34.037113][ C0] __platform_driver_probe+0x13f/0x270 [ 34.037115][ C0] cmos_init+0x31/0x40 [ 34.037117][ C0] do_one_initcall+0x124/0x4f0 [ 34.037118][ C0] kernel_init_freeable+0x596/0x630 [ 34.037120][ C0] kernel_init+0x21/0x150 [ 34.037121][ C0] ret_from_fork+0x474/0x6b0 [ 34.037122][ C0] ret_from_fork_asm+0x11/0x20 [ 34.037124][ C0] [ 34.037124][ C0] -> (console_owner){..-.}-{0:0} { [ 34.037126][ C0] IN-SOFTIRQ-W at: [ 34.037126][ C0] __lock_acquire+0x388/0xc20 [ 34.037128][ C0] lock_acquire.part.0+0xd4/0x280 [ 34.037129][ C0] console_lock_spinning_enable+0x5c/0x60 [ 34.037131][ C0] console_emit_next_record+0x1d1/0x4c0 [ 34.037133][ C0] console_flush_one_record+0x46f/0x710 [ 34.037134][ C0] console_unlock+0xee/0x1f0 [ 34.037136][ C0] vprintk_emit+0x37c/0x3e0 [ 34.037136][ C0] _printk+0xc7/0x100 [ 34.037139][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 34.037142][ C0] call_timer_fn+0x160/0x4d0 [ 34.037143][ C0] __run_timers+0x68f/0xaa0 [ 34.037145][ C0] run_timer_softirq+0xf0/0x160 [ 34.037147][ C0] handle_softirqs+0x1d3/0x900 [ 34.037149][ C0] __irq_exit_rcu+0x145/0x1c0 [ 34.037150][ C0] irq_exit_rcu+0xe/0x30 [ 34.037152][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 34.037153][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.037155][ C0] pv_native_safe_halt+0xf/0x10 [ 34.037156][ C0] default_idle+0x9/0x10 [ 34.037158][ C0] default_idle_call+0x6e/0xb0 [ 34.037159][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 34.037161][ C0] do_idle+0xd8/0x190 [ 34.037163][ C0] cpu_startup_entry+0x53/0x70 [ 34.037164][ C0] rest_init+0x279/0x280 [ 34.037165][ C0] start_kernel+0x3b9/0x3c0 [ 34.037167][ C0] x86_64_start_reservations+0x24/0x30 [ 34.037168][ C0] x86_64_start_kernel+0x12b/0x130 [ 34.037170][ C0] common_startup_64+0x13e/0x148 [ 34.037172][ C0] INITIAL USE at: [ 34.037173][ C0] } [ 34.037173][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 34.037176][ C0] ... acquired at: [ 34.037176][ C0] mark_lock+0x1d7/0xa00 [ 34.037177][ C0] mark_usage+0x42/0x170 [ 34.037179][ C0] __lock_acquire+0x388/0xc20 [ 34.037180][ C0] lock_acquire.part.0+0xd4/0x280 [ 34.037181][ C0] console_lock_spinning_enable+0x5c/0x60 [ 34.037183][ C0] console_emit_next_record+0x1d1/0x4c0 [ 34.037184][ C0] console_flush_one_record+0x46f/0x710 [ 34.037186][ C0] console_unlock+0xee/0x1f0 [ 34.037187][ C0] vprintk_emit+0x37c/0x3e0 [ 34.037188][ C0] _printk+0xc7/0x100 [ 34.037189][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 34.037190][ C0] call_timer_fn+0x160/0x4d0 [ 34.037192][ C0] __run_timers+0x68f/0xaa0 [ 34.037193][ C0] run_timer_softirq+0xf0/0x160 [ 34.037195][ C0] handle_softirqs+0x1d3/0x900 [ 34.037196][ C0] __irq_exit_rcu+0x145/0x1c0 [ 34.037197][ C0] irq_exit_rcu+0xe/0x30 [ 34.037198][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 34.037200][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.037201][ C0] pv_native_safe_halt+0xf/0x10 [ 34.037202][ C0] default_idle+0x9/0x10 [ 34.037203][ C0] default_idle_call+0x6e/0xb0 [ 34.037204][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 34.037205][ C0] do_idle+0xd8/0x190 [ 34.037206][ C0] cpu_startup_entry+0x53/0x70 [ 34.037208][ C0] rest_init+0x279/0x280 [ 34.037209][ C0] start_kernel+0x3b9/0x3c0 [ 34.037210][ C0] x86_64_start_reservations+0x24/0x30 [ 34.037211][ C0] x86_64_start_kernel+0x12b/0x130 [ 34.037213][ C0] common_startup_64+0x13e/0x148 [ 34.037214][ C0] [ 34.037214][ C0] [ 34.037214][ C0] stack backtrace: [ 34.037217][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.037220][ C0] Tainted: [W]=WARN [ 34.037221][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.037222][ C0] Call Trace: [ 34.037224][ C0] [ 34.037225][ C0] dump_stack_lvl+0x6f/0xa0 [ 34.037229][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 34.037232][ C0] mark_lock_irq+0x989/0x9c0 [ 34.037233][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 34.037236][ C0] mark_lock+0x1d7/0xa00 [ 34.037238][ C0] mark_usage+0x42/0x170 [ 34.037240][ C0] __lock_acquire+0x388/0xc20 [ 34.037242][ C0] lock_acquire.part.0+0xd4/0x280 [ 34.037244][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 34.037246][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037248][ C0] ? lock_acquire+0x13c/0x160 [ 34.037250][ C0] console_lock_spinning_enable+0x5c/0x60 [ 34.037252][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 34.037254][ C0] console_emit_next_record+0x1d1/0x4c0 [ 34.037256][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 34.037257][ C0] ? console_flush_one_record+0x106/0x710 [ 34.037260][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037261][ C0] ? lock_acquire+0x13c/0x160 [ 34.037263][ C0] console_flush_one_record+0x46f/0x710 [ 34.037265][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 34.037267][ C0] ? __lock_acquire+0x518/0xc20 [ 34.037269][ C0] console_unlock+0xee/0x1f0 [ 34.037271][ C0] ? console_flush_one_record+0x710/0x710 [ 34.037272][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037273][ C0] ? lock_acquire+0xe0/0x160 [ 34.037275][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.037277][ C0] ? vprintk_emit+0x320/0x3e0 [ 34.037279][ C0] vprintk_emit+0x37c/0x3e0 [ 34.037280][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 34.037282][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 34.037283][ C0] _printk+0xc7/0x100 [ 34.037285][ C0] ? snapshot_read.cold+0x21/0x21 [ 34.037287][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 34.037288][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 34.037291][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 34.037292][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 34.037294][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 34.037296][ C0] call_timer_fn+0x160/0x4d0 [ 34.037298][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 34.037299][ C0] ? debug_object_active_state+0x430/0x430 [ 34.037302][ C0] ? find_held_lock+0x2b/0x80 [ 34.037304][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 34.037306][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037308][ C0] __run_timers+0x68f/0xaa0 [ 34.037309][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 34.037312][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 34.037313][ C0] ? __lock_acquire+0x518/0xc20 [ 34.037316][ C0] ? __rwlock_init+0x150/0x150 [ 34.037319][ C0] run_timer_softirq+0xf0/0x160 [ 34.037321][ C0] ? __run_timers+0xaa0/0xaa0 [ 34.037323][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 34.037325][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037326][ C0] handle_softirqs+0x1d3/0x900 [ 34.037328][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 34.037330][ C0] ? _local_bh_enable+0xc0/0xc0 [ 34.037332][ C0] __irq_exit_rcu+0x145/0x1c0 [ 34.037333][ C0] irq_exit_rcu+0xe/0x30 [ 34.037335][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 34.037336][ C0] [ 34.037337][ C0] [ 34.037337][ C0] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 34.037340][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.037341][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 34.037344][ C0] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 34.037345][ C0] RSP: 0018:ffffffffa3e07cf8 EFLAGS: 00000296 [ 34.037348][ C0] RAX: 00000000001ba603 RBX: ffffffffa3e30600 RCX: ffffffffa0506247 [ 34.037349][ C0] RDX: ffffffffa3e30600 RSI: ffffffffa3711011 RDI: ffffffffa30949e0 [ 34.037350][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 34.037351][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff47c0fa2 [ 34.037351][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 34.037353][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 34.037355][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 34.037357][ C0] default_idle+0x9/0x10 [ 34.037358][ C0] default_idle_call+0x6e/0xb0 [ 34.037359][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 34.037361][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 34.037363][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 34.037365][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 34.037367][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037368][ C0] do_idle+0xd8/0x190 [ 34.037370][ C0] cpu_startup_entry+0x53/0x70 [ 34.037371][ C0] rest_init+0x279/0x280 [ 34.037373][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 34.037375][ C0] ? rest_init+0x280/0x280 [ 34.037377][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 34.037380][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 34.037382][ C0] ? acpi_enable+0x1e4/0x330 [ 34.037384][ C0] start_kernel+0x3b9/0x3c0 [ 34.037386][ C0] x86_64_start_reservations+0x24/0x30 [ 34.037387][ C0] x86_64_start_kernel+0x12b/0x130 [ 34.037389][ C0] common_startup_64+0x13e/0x148 [ 34.037392][ C0] [ 34.037396][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.037397][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 34.037399][ C0] preempt_count: 103, expected: 0 [ 34.037399][ C0] RCU nest depth: 0, expected: 0 [ 34.037400][ C0] INFO: lockdep is turned off. [ 34.037401][ C0] irq event stamp: 1811987 [ 34.037401][ C0] hardirqs last enabled at (1811986): [] __down_trylock_console_sem+0x86/0xa0 [ 34.037404][ C0] hardirqs last disabled at (1811987): [] console_emit_next_record+0x3d4/0x4c0 [ 34.037406][ C0] softirqs last enabled at (1811966): [] handle_softirqs+0x67c/0x900 [ 34.037407][ C0] softirqs last disabled at (1811973): [] __irq_exit_rcu+0x145/0x1c0 [ 34.037409][ C0] Preemption disabled at: [ 34.037410][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 34.037413][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.037415][ C0] Tainted: [W]=WARN [ 34.037415][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.037416][ C0] Call Trace: [ 34.037416][ C0] [ 34.037417][ C0] dump_stack_lvl+0x6f/0xa0 [ 34.037419][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 34.037421][ C0] __might_resched.cold+0x1fe/0x2c1 [ 34.037424][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.037427][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037428][ C0] __kmalloc_noprof+0x443/0x760 [ 34.037429][ C0] ? __rwlock_init+0x150/0x150 [ 34.037431][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 34.037433][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 34.037435][ C0] alloc_buf.isra.0+0x4b/0x260 [ 34.037437][ C0] put_chars+0x1e1/0x2f0 [ 34.037439][ C0] ? __send_to_port+0x420/0x420 [ 34.037441][ C0] ? mark_lock+0x1d7/0xa00 [ 34.037443][ C0] hvc_console_print+0x292/0x780 [ 34.037446][ C0] ? hvc_write+0x3a0/0x3a0 [ 34.037447][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037448][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037450][ C0] console_emit_next_record+0x22f/0x4c0 [ 34.037452][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 34.037454][ C0] ? console_flush_one_record+0x106/0x710 [ 34.037456][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037457][ C0] ? lock_acquire+0x13c/0x160 [ 34.037459][ C0] console_flush_one_record+0x46f/0x710 [ 34.037461][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 34.037463][ C0] ? __lock_acquire+0x518/0xc20 [ 34.037465][ C0] console_unlock+0xee/0x1f0 [ 34.037467][ C0] ? console_flush_one_record+0x710/0x710 [ 34.037469][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037470][ C0] ? lock_acquire+0xe0/0x160 [ 34.037472][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.037473][ C0] ? vprintk_emit+0x320/0x3e0 [ 34.037475][ C0] vprintk_emit+0x37c/0x3e0 [ 34.037476][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 34.037478][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 34.037480][ C0] _printk+0xc7/0x100 [ 34.037481][ C0] ? snapshot_read.cold+0x21/0x21 [ 34.037483][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 34.037484][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 34.037487][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 34.037488][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 34.037490][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 34.037491][ C0] call_timer_fn+0x160/0x4d0 [ 34.037493][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 34.037495][ C0] ? debug_object_active_state+0x430/0x430 [ 34.037497][ C0] ? find_held_lock+0x2b/0x80 [ 34.037498][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 34.037500][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037501][ C0] __run_timers+0x68f/0xaa0 [ 34.037503][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 34.037505][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 34.037507][ C0] ? __lock_acquire+0x518/0xc20 [ 34.037510][ C0] ? __rwlock_init+0x150/0x150 [ 34.037512][ C0] run_timer_softirq+0xf0/0x160 [ 34.037514][ C0] ? __run_timers+0xaa0/0xaa0 [ 34.037516][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 34.037517][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037518][ C0] handle_softirqs+0x1d3/0x900 [ 34.037520][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 34.037522][ C0] ? _local_bh_enable+0xc0/0xc0 [ 34.037524][ C0] __irq_exit_rcu+0x145/0x1c0 [ 34.037525][ C0] irq_exit_rcu+0xe/0x30 [ 34.037527][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 34.037528][ C0] [ 34.037529][ C0] [ 34.037529][ C0] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 34.037531][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.037532][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 34.037533][ C0] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 34.037534][ C0] RSP: 0018:ffffffffa3e07cf8 EFLAGS: 00000296 [ 34.037535][ C0] RAX: 00000000001ba603 RBX: ffffffffa3e30600 RCX: ffffffffa0506247 [ 34.037536][ C0] RDX: ffffffffa3e30600 RSI: ffffffffa3711011 RDI: ffffffffa30949e0 [ 34.037537][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 34.037538][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff47c0fa2 [ 34.037538][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 34.037540][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 34.037542][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 34.037543][ C0] default_idle+0x9/0x10 [ 34.037545][ C0] default_idle_call+0x6e/0xb0 [ 34.037546][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 34.037548][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 34.037549][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 34.037551][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 34.037552][ C0] ? rcu_is_watching+0x16/0xd0 [ 34.037553][ C0] do_idle+0xd8/0x190 [ 34.037555][ C0] cpu_startup_entry+0x53/0x70 [ 34.037556][ C0] rest_init+0x279/0x280 [ 34.037558][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 34.037561][ C0] ? rest_init+0x280/0x280 [ 34.037562][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 34.037564][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 34.037565][ C0] ? acpi_enable+0x1e4/0x330 [ 34.037567][ C0] start_kernel+0x3b9/0x3c0 [ 34.037569][ C0] x86_64_start_reservations+0x24/0x30 [ 34.037570][ C0] x86_64_start_kernel+0x12b/0x130 [ 34.037572][ C0] common_startup_64+0x13e/0x148 [ 34.037575][ C0]