Why does the system taking longer time to boot up by showing "WARNING: CPU: X PID: XXX at kernel/time/tick-sched.c:192 tick_sched_do_timer+0x4c/0x50"?
Issue
- The system is taking longer time to boot up without
rhgb quietand withserial consolesetup being enabled. - For example, a virtual machine having 16 cpu's taking more than 6 minutes to boot up.
- The console log flooded with following WARNING messages.
[ 89.340032] WARNING: CPU: 8 PID: 0 at kernel/time/tick-sched.c:192 tick_sched_do_timer+0x4c/0x50
[ 89.340105] CPU: 8 PID: 0 Comm: swapper/8 Kdump: loaded Tainted: G W --------- - - 4.18.0-477.13.1.el8_8.x86_64 #1
[ 89.340109] RIP: 0010:tick_sched_do_timer+0x4c/0x50
..
[ 89.340137] Call Trace:
[ 89.340139] <IRQ>
[ 89.340140] tick_sched_timer+0x27/0x80
[ 89.340143] __hrtimer_run_queues+0x101/0x280
[ 89.340148] hrtimer_interrupt+0x100/0x220
[ 89.340152] hv_stimer0_vector_handler+0x3b/0x70
[ 89.340156] hv_stimer0_callback_vector+0xf/0x20
[ 89.340159] </IRQ>
[ 89.340160] RIP: 0010:native_safe_halt+0xe/0x20
..
..
[ 89.340175] ? tdx_safe_halt+0x80/0x80
[ 89.340178] ? nohz_balance_enter_idle+0xdb/0x140
[ 89.340181] default_idle+0xa/0x20
[ 89.340184] default_idle_call+0x44/0xf0
[ 89.340186] do_idle+0x213/0x2d0
[ 89.340190] cpu_startup_entry+0x6f/0x80
[ 89.340193] start_secondary+0x187/0x1d0
[ 89.340196] secondary_startup_64_no_verify+0xd2/0xdb
[ 89.340200] ---[ end trace af3f4ad38f776f81 ]---
Environment
- Red Hat Enterprise Linux 8.8 and below
- Red Hat Enterprise Linux 9.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.