Scx warn / error on pre login load

Hi,

There is an error that seems to repeat for different CPU cores.

kernel: ------------[ cut here ]------------
kernel: rq->balance_callback && rq->balance_callback != &balance_push_callback
kernel: WARNING: CPU: 5 PID: 2337 at kernel/sched/sched.h:1730 sched_balance_update_blocked_averages+0x5d1/0x600
kernel: Modules linked in: vfat fat intel_rapl_msr amd_atl intel_rapl_common snd_hda_codec_realtek kvm_amd snd_hda_scodec_component snd_hda_codec_generic kvm snd_hda_intel snd_usb_audio snd_intel_dspcfg crct10dif_pclmul crc32_pclmul snd_intel_sdw_acpi polyval_clmulni snd_usbmidi_lib polyval_generic snd_hda_codec snd_ump ghash_clmulni_intel eeepc_wmi ee1004 snd_rawmidi sha512_ssse3 snd_hda_core asus_wmi sha1_ssse3 snd_seq_device snd_hwdep asus_ec_sensors aesni_intel platform_profile i8042 gf128mul snd_pcm sparse_keymap crypto_simd serio cryptd snd_timer rfkill rapl wmi_bmof i2c_piix4 pcspkr snd k10temp i2c_smbus soundcore igc ccp mc ptp pps_core joydev mousedev leetmouse(OE) mac_hid pkcs8_key_parser ntsync(OE) crypto_user dm_mod loop nfnetlink zram 842_decompress 842_compress lz4hc_compress lz4_compress ip_tables x_tables btrfs libcrc32c crc32c_generic raid6_pq xor crc32c_intel sha256_ssse3 nvme nvme_core nvme_auth hid_cmedia nvidia_drm(OE) drm_ttm_helper ttm nvidia_uvm(OE) hid_generic nvidia_modeset(OE) usbhid
kernel:  video mxm_wmi wmi nvidia(OE)
kernel: CPU: 5 UID: 0 PID: 2337 Comm: sugov:5 Tainted: G        W  OE      6.12.1-2-cachyos #1 2d3b28d53a0e826fba3f3f9fa92a6e2e3d10de0e
kernel: Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
kernel: Hardware name: System manufacturer System Product Name/ROG STRIX X570-E GAMING, BIOS 5013 03/18/2024
kernel: Sched_ext: lavd (enabling+all)
kernel: RIP: 0010:sched_balance_update_blocked_averages+0x5d1/0x600
kernel: Code: 5d 41 5e 41 5f 5d e9 a9 63 1b 01 cc b0 01 89 44 24 08 e9 f3 fa ff ff c6 05 1d cc 0c 02 01 48 c7 c7 a5 ff 2d 9a e8 4f 94 f9 ff <0f> 0b e9 90 fa ff ff c6 05 ef cb 0c 02 01 48 89 fb 48 c7 c7 a5 8c
kernel: RSP: 0018:ffffa8dae1d8fa20 EFLAGS: 00010046
kernel: RAX: fd273ec7e2ced800 RBX: ffff9d754ec80000 RCX: 0000000000000027
kernel: RDX: 00000000ffffefff RSI: 0000000000000002 RDI: ffff9d754eca1948
kernel: RBP: ffffa8dae1d8fbe8 R08: 0000000000000fff R09: ffffffff9ac5aad0
kernel: R10: 0000000000002ffd R11: 0000000000000004 R12: 00000000fffb8868
kernel: R13: 0000000183bd4492 R14: ffff9d754ecb66c0 R15: 0000000000000005
kernel: FS:  0000000000000000(0000) GS:ffff9d754ec80000(0000) knlGS:0000000000000000
kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 000055fdec9a8000 CR3: 000000010ed02000 CR4: 0000000000f50ef0
kernel: PKRU: 55555554
kernel: Call Trace:
kernel:  <TASK>
kernel:  ? __warn+0xd5/0x1d0
kernel:  ? sched_balance_update_blocked_averages+0x5d1/0x600
kernel:  ? report_bug+0x144/0x1f0
kernel:  ? sched_balance_update_blocked_averages+0x5d1/0x600
kernel:  ? handle_bug+0x6a/0x90
kernel:  ? exc_invalid_op+0x1a/0x50
kernel:  ? asm_exc_invalid_op+0x1a/0x20
kernel:  ? sched_balance_update_blocked_averages+0x5d1/0x600
kernel:  ? __schedule+0x5e9/0x1410
kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
kernel:  ? handle_bug+0x6a/0x90
kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
kernel:  sched_balance_newidle+0xed/0x3b0
kernel:  balance_fair.llvm.15703019331774720347+0x25/0x40
kernel:  __pick_next_task+0x97/0x2a0
kernel:  __schedule+0x269/0x1410
kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
kernel:  ? ktime_get+0x54/0xe0
kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
kernel:  schedule+0x6e/0xf0
kernel:  schedule_hrtimeout_range_clock+0xe6/0x180
kernel:  ? __pfx_hrtimer_wakeup+0x10/0x10
kernel:  usleep_range_state+0x77/0xb0
kernel:  check_pcc_chan+0x7e/0x110
kernel:  send_pcc_cmd+0x17b/0x280
kernel:  cppc_set_perf+0x22c/0x340
kernel:  shmem_update_perf+0x38/0x60
kernel:  amd_pstate_update+0x110/0x330
kernel:  ? cpufreq_freq_transition_begin+0x137/0x170
kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
kernel:  ? __wake_up+0x93/0xb0
kernel:  amd_pstate_update_freq+0x183/0x1d0
kernel:  ? __pfx_sugov_work+0x10/0x10
kernel:  sugov_work+0x4a/0x60
kernel:  kthread_worker_fn+0xee/0x240
kernel:  ? __pfx_kthread_worker_fn+0x10/0x10
kernel:  kthread+0x14d/0x170
kernel:  ? __pfx_kthread+0x10/0x10
kernel:  ret_from_fork+0x3a/0x50
kernel:  ? __pfx_kthread+0x10/0x10
kernel:  ret_from_fork_asm+0x1a/0x30
kernel:  </TASK>
kernel: ---[ end trace 0000000000000000 ]---
# List of scx_schedulers: scx_bpfland scx_central scx_flash scx_lavd scx_layered scx_nest scx_qmap scx_rlfifo scx_rustland scx_rusty scx_simple scx_userland
SCX_SCHEDULER=scx_lavd --performance --no-core-compaction

# Set custom flags for each scheduler, below is an example of how to use
#SCX_FLAGS='-k -m performance'
nov 26 18:37:59 desktop-pc systemd[1]: Started Start scx_scheduler.
nov 26 18:37:59 desktop-pc bash[2267]: 21:37:59 [INFO] scx_lavd scheduler is initialized (build ID: 1.0.6-g607dfab-dirty x86_64-unknown-linux-gnu)
nov 26 18:37:59 desktop-pc bash[2267]: 21:37:59 [INFO] scx_lavd scheduler starts running.

System are fully updated to this date.

If I understand this correctly, this seems to happen during boot?

Yes. I didnt confirm, but I also saw a similar quickly distinct message when leaving the os for a reboot or shutdown.

I have been getting this too, I’ll forward this to the scx devs and follow up with you once I get a response.

1 Like

Dont worry about it. I’ve been trying KDE, first install, it triggered the error, I dont see it now on the second. But what I reported was from gnome.

If I am not mistaken what triggered it was some sort of bad reboot / shutdown or crash. I wasnt paying too much attention, so not entirely sure that’s what it was.

Just started on the recent KDE install.

[    6.757205] sched_ext: "lavd" does not implement cgroup cpu.weight
[    6.758198] NOHZ tick-stop error: local softirq work is pending, handler #200!!!
[    6.758296] NOHZ tick-stop error: local softirq work is pending, handler #280!!!
[    6.758304] NOHZ tick-stop error: local softirq work is pending, handler #200!!!
[    6.758527] ------------[ cut here ]------------
[    6.758530] rq->balance_callback && rq->balance_callback != &balance_push_callback
[    6.758533] WARNING: CPU: 4 PID: 2318 at kernel/sched/sched.h:1730 __schedule+0x5e9/0x1410
[    6.758540] Modules linked in: vfat fat amd_atl intel_rapl_msr intel_rapl_common snd_hda_codec_realtek kvm_amd snd_hda_scodec_component snd_hda_codec_generic kvm snd_hda_intel crct10dif_pclmul crc32_pclmul snd_intel_dspcfg polyval_clmulni snd_usb_audio snd_intel_sdw_acpi polyval_generic ghash_clmulni_intel snd_hda_codec eeepc_wmi snd_usbmidi_lib sha512_ssse3 asus_wmi sha1_ssse3 snd_ump snd_hda_core aesni_intel platform_profile snd_rawmidi ee1004 i8042 gf128mul asus_ec_sensors crypto_simd snd_hwdep snd_seq_device sparse_keymap cryptd serio snd_pcm rapl rfkill wmi_bmof pcspkr snd_timer k10temp snd igc i2c_piix4 mousedev i2c_smbus joydev soundcore ccp ptp mc leetmouse(OE) pps_core mac_hid pkcs8_key_parser ntsync(OE) i2c_dev crypto_user dm_mod loop nfnetlink zram 842_decompress 842_compress lz4hc_compress lz4_compress ip_tables x_tables btrfs libcrc32c crc32c_generic raid6_pq xor crc32c_intel nvme sha256_ssse3 nvme_core nvme_auth nvidia_drm(OE) drm_ttm_helper ttm nvidia_uvm(OE) hid_cmedia hid_generic usbhid
[    6.758629]  nvidia_modeset(OE) mxm_wmi video wmi nvidia(OE)
[    6.758636] CPU: 4 UID: 0 PID: 2318 Comm: sugov:4 Tainted: G           OE      6.12.1-2-cachyos #1 2d3b28d53a0e826fba3f3f9fa92a6e2e3d10de0e
[    6.758641] Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[    6.758642] Hardware name: System manufacturer System Product Name/ROG STRIX X570-E GAMING, BIOS 5013 03/18/2024
[    6.758644] Sched_ext: lavd (enabling+all)
[    6.758645] RIP: 0010:__schedule+0x5e9/0x1410
[    6.758648] Code: 48 81 c4 90 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d e9 76 ed 2f 00 cc c6 05 d3 55 21 01 01 48 c7 c7 a5 ff 2d 9d e8 27 1e 0e ff <0f> 0b 41 8b 86 38 0c 00 00 e9 0c fb ff ff 48 89 df e8 c1 59 13 ff
[    6.758650] RSP: 0018:ffffb6afe1b6fb30 EFLAGS: 00010046
[    6.758653] RAX: 9e5a9b53970d3600 RBX: ffff96f112d7d1c0 RCX: 0000000000000027
[    6.758655] RDX: 00000000ffffefff RSI: 0000000000000002 RDI: ffff96f7cec21948
[    6.758657] RBP: ffffb6afe1b6fbe8 R08: 0000000000000fff R09: ffffffff9dc5aad0
[    6.758659] R10: 0000000000002ffd R11: 0000000000000004 R12: ffff96f112d7d1c0
[    6.758660] R13: ffffb6afc0850000 R14: ffff96f7cec366c0 R15: 0000000000000000
[    6.758662] FS:  0000000000000000(0000) GS:ffff96f7cec00000(0000) knlGS:0000000000000000
[    6.758664] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    6.758666] CR2: 0000719292dcf0a0 CR3: 000000010520e000 CR4: 0000000000f50ef0
[    6.758668] PKRU: 55555554
[    6.758670] Call Trace:
[    6.758671]  <TASK>
[    6.758674]  ? __warn+0xd5/0x1d0
[    6.758677]  ? __schedule+0x5e9/0x1410
[    6.758681]  ? report_bug+0x144/0x1f0
[    6.758684]  ? __schedule+0x5e9/0x1410
[    6.758687]  ? handle_bug+0x6a/0x90
[    6.758690]  ? exc_invalid_op+0x1a/0x50
[    6.758693]  ? asm_exc_invalid_op+0x1a/0x20
[    6.758698]  ? __schedule+0x5e9/0x1410
[    6.758701]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.758704]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.758706]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.758709]  ? ktime_get+0x54/0xe0
[    6.758712]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.758715]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.758718]  schedule+0x6e/0xf0
[    6.758721]  schedule_hrtimeout_range_clock+0xe6/0x180
[    6.758724]  ? __pfx_hrtimer_wakeup+0x10/0x10
[    6.758728]  usleep_range_state+0x77/0xb0
[    6.758732]  check_pcc_chan+0x7e/0x110
[    6.758737]  send_pcc_cmd+0x17b/0x280
[    6.758740]  cppc_set_perf+0x22c/0x340
[    6.758744]  shmem_update_perf+0x38/0x60
[    6.758748]  amd_pstate_update+0x110/0x330
[    6.758751]  ? cpufreq_freq_transition_begin+0x137/0x170
[    6.758754]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.758756]  ? __wake_up+0x93/0xb0
[    6.758760]  amd_pstate_update_freq+0x183/0x1d0
[    6.758764]  ? __pfx_sugov_work+0x10/0x10
[    6.758767]  sugov_work+0x4a/0x60
[    6.758771]  kthread_worker_fn+0xee/0x240
[    6.758774]  ? __pfx_kthread_worker_fn+0x10/0x10
[    6.758777]  kthread+0x14d/0x170
[    6.758780]  ? __pfx_kthread+0x10/0x10
[    6.758783]  ret_from_fork+0x3a/0x50
[    6.758786]  ? __pfx_kthread+0x10/0x10
[    6.758789]  ret_from_fork_asm+0x1a/0x30
[    6.758795]  </TASK>
[    6.758796] ---[ end trace 0000000000000000 ]---
[    6.758830] sched_ext: BPF scheduler "lavd" enabled
[    6.766187] sched_ext: kworker/2:2[240] has zero slice in pick_task_scx()
[    6.615204] ------------[ cut here ]------------
[    6.615205] rq->balance_callback && rq->balance_callback != &balance_push_callback
[    6.615208] WARNING: CPU: 2 PID: 0 at kernel/sched/sched.h:1730 __schedule+0x1130/0x1c90
[    6.615214] Modules linked in: nf_tables vfat fat intel_rapl_msr amd_atl intel_rapl_common kvm_amd snd_hda_codec_realtek snd_hda_scodec_component kvm snd_hda_codec_generic crct10dif_pclmul crc32_pclmul polyval_clmulni snd_hda_intel polyval_generic ghash_clmulni_intel snd_intel_dspcfg eeepc_wmi snd_usb_audio snd_intel_sdw_acpi sha512_ssse3 sha1_ssse3 asus_wmi snd_hda_codec aesni_intel snd_usbmidi_lib ee1004 platform_profile gf128mul snd_ump asus_ec_sensors snd_hda_core i8042 crypto_simd snd_rawmidi sparse_keymap snd_hwdep snd_seq_device cryptd serio rapl rfkill snd_pcm wmi_bmof pcspkr k10temp snd_timer i2c_piix4 snd i2c_smbus soundcore ccp mc igc mousedev ptp joydev pps_core leetmouse(OE) mac_hid tcp_bbr pkcs8_key_parser ntsync(OE) i2c_dev crypto_user dm_mod loop nfnetlink lz4 zram 842_decompress 842_compress lz4hc_compress lz4_compress ip_tables x_tables btrfs libcrc32c crc32c_generic raid6_pq xor crc32c_intel nvme sha256_ssse3 nvme_core nvme_auth nvidia_drm(OE) drm_ttm_helper ttm hid_cmedia nvidia_uvm(OE)
[    6.615294]  nvidia_modeset(OE) hid_generic mxm_wmi video wmi usbhid nvidia(OE)
[    6.615302] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G           OE      6.12.6-2-cachyos #1 c963cd2b82aa9cdd05160d5f7838a69b51110706
[    6.615307] Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[    6.615308] Hardware name: System manufacturer System Product Name/ROG STRIX X570-E GAMING, BIOS 5013 03/18/2024
[    6.615310] Sched_ext: lavd (enabling+all)
[    6.615311] RIP: 0010:__schedule+0x1130/0x1c90
[    6.615314] Code: 90 56 65 94 0f 84 e1 ef ff ff f6 05 4a 78 3d 01 01 0f 85 d4 ef ff ff c6 05 3d 78 3d 01 01 48 c7 c7 8b a3 cd 93 e8 90 24 0e ff <0f> 0b 41 8b 86 38 0c 00 00 e9 b3 ef ff ff e8 bd 8c ff ff 65 ff 0d
[    6.615316] RSP: 0018:ffffb23e4019fe28 EFLAGS: 00010046
[    6.615319] RAX: e9cdb54dc06b0200 RBX: ffffa02e00a93680 RCX: 0000000000000027
[    6.615320] RDX: ffffb23e4019fc90 RSI: 00000000ffffefff RDI: ffffa0350eb21948
[    6.615322] RBP: ffffb23e4019fee0 R08: 0000000000000000 R09: ffffffff9465a840
[    6.615323] R10: 0000000000002ffd R11: 0000000000000004 R12: 0000000000000000
[    6.615325] R13: ffffa02e00a93680 R14: ffffa0350eb366c0 R15: 00000000ffffffff
[    6.615327] FS:  0000000000000000(0000) GS:ffffa0350eb00000(0000) knlGS:0000000000000000
[    6.615329] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    6.615331] CR2: 00007cb2b7100008 CR3: 000000012222a000 CR4: 0000000000f50ef0
[    6.615333] PKRU: 55555554
[    6.615334] Call Trace:
[    6.615336]  <TASK>
[    6.615338]  ? __warn+0xd5/0x1d0
[    6.615341]  ? __schedule+0x1130/0x1c90
[    6.615345]  ? report_bug+0x144/0x1f0
[    6.615348]  ? __schedule+0x1130/0x1c90
[    6.615350]  ? handle_bug+0x6a/0x90
[    6.615353]  ? exc_invalid_op+0x1a/0x50
[    6.615356]  ? asm_exc_invalid_op+0x1a/0x20
[    6.615361]  ? __schedule+0x1130/0x1c90
[    6.615363]  ? __schedule+0x1130/0x1c90
[    6.615366]  ? pv_native_safe_halt+0x13/0x20
[    6.615369]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615372]  ? ct_kernel_enter+0x2e/0x90
[    6.615374]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615376]  ? local_clock_noinstr+0xc/0xc0
[    6.615380]  schedule_idle+0x23/0x40
[    6.615382]  cpu_startup_entry+0x1c2/0x250
[    6.615386]  start_secondary+0x9e/0xa0
[    6.615389]  common_startup_64+0x13e/0x140
[    6.615395]  </TASK>
[    6.615396] ---[ end trace 0000000000000000 ]---
[    6.615398] ------------[ cut here ]------------
[    6.615401] rq->balance_callback && rq->balance_callback != &balance_push_callback
[    6.615403] WARNING: CPU: 6 PID: 2269 at kernel/sched/sched.h:1730 scx_ops_bypass+0x178/0x240
[    6.615408] Modules linked in: nf_tables vfat fat intel_rapl_msr amd_atl intel_rapl_common kvm_amd snd_hda_codec_realtek snd_hda_scodec_component kvm snd_hda_codec_generic crct10dif_pclmul crc32_pclmul polyval_clmulni snd_hda_intel polyval_generic ghash_clmulni_intel snd_intel_dspcfg eeepc_wmi snd_usb_audio snd_intel_sdw_acpi sha512_ssse3 sha1_ssse3 asus_wmi snd_hda_codec aesni_intel snd_usbmidi_lib ee1004 platform_profile gf128mul snd_ump asus_ec_sensors snd_hda_core i8042 crypto_simd snd_rawmidi sparse_keymap snd_hwdep snd_seq_device cryptd serio rapl rfkill snd_pcm wmi_bmof pcspkr k10temp snd_timer i2c_piix4 snd i2c_smbus soundcore ccp mc igc mousedev ptp joydev pps_core leetmouse(OE) mac_hid tcp_bbr pkcs8_key_parser ntsync(OE) i2c_dev crypto_user dm_mod loop nfnetlink lz4 zram 842_decompress 842_compress lz4hc_compress lz4_compress ip_tables x_tables btrfs libcrc32c crc32c_generic raid6_pq xor crc32c_intel nvme sha256_ssse3 nvme_core nvme_auth nvidia_drm(OE) drm_ttm_helper ttm hid_cmedia nvidia_uvm(OE)
[    6.615482]  nvidia_modeset(OE) hid_generic mxm_wmi video wmi usbhid nvidia(OE)
[    6.615490] CPU: 6 UID: 0 PID: 2269 Comm: scx_lavd Tainted: G        W  OE      6.12.6-2-cachyos #1 c963cd2b82aa9cdd05160d5f7838a69b51110706
[    6.615494] Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[    6.615495] Hardware name: System manufacturer System Product Name/ROG STRIX X570-E GAMING, BIOS 5013 03/18/2024
[    6.615497] Sched_ext: lavd (enabling+all), task: runnable_at=+0ms
[    6.615498] RIP: 0010:scx_ops_bypass+0x178/0x240
[    6.615501] Code: eb 42 0f 1f 44 00 00 4c 89 ef e8 c3 fd d1 00 49 ff c4 e9 5b ff ff ff c6 05 9d dc 0e 02 01 48 c7 c7 8b a3 cd 93 e8 b8 88 df ff <0f> 0b eb a5 0f 0b 41 8b 85 6c 0a 00 00 eb a9 0f 0b 41 8b 85 6c 0a
[    6.615503] RSP: 0018:ffffb23e619479e8 EFLAGS: 00010046
[    6.615506] RAX: 3730614603e1d700 RBX: 0000000000000000 RCX: 0000000000000027
[    6.615507] RDX: ffffb23e61947850 RSI: 00000000ffffefff RDI: ffffa0350ed21948
[    6.615509] RBP: ffffa0350eb00000 R08: 0000000000000000 R09: ffffffff9465a840
[    6.615511] R10: 0000000000002ffd R11: 0000000000000004 R12: 0000000000000002
[    6.615512] R13: ffffa0350eb366c0 R14: 0000000000000286 R15: ffffb23e619479f0
[    6.615514] FS:  0000703f64c53880(0000) GS:ffffa0350ed00000(0000) knlGS:0000000000000000
[    6.615516] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    6.615517] CR2: 00005b2a1d0d23d0 CR3: 000000011089a000 CR4: 0000000000f50ef0
[    6.615519] PKRU: 55555554
[    6.615520] Call Trace:
[    6.615522]  <TASK>
[    6.615524]  ? __warn+0xd5/0x1d0
[    6.615527]  ? scx_ops_bypass+0x178/0x240
[    6.615530]  ? report_bug+0x144/0x1f0
[    6.615533]  ? scx_ops_bypass+0x178/0x240
[    6.615536]  ? handle_bug+0x6a/0x90
[    6.615538]  ? exc_invalid_op+0x1a/0x50
[    6.615541]  ? asm_exc_invalid_op+0x1a/0x20
[    6.615545]  ? scx_ops_bypass+0x178/0x240
[    6.615548]  ? scx_ops_bypass+0x178/0x240
[    6.615551]  bpf_scx_reg+0xfb5/0x1380
[    6.615559]  bpf_struct_ops_link_create+0x13c/0x190
[    6.615563]  __sys_bpf+0x765/0x6080
[    6.615567]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615570]  ? syscall_exit_to_user_mode+0x38/0xc0
[    6.615573]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615578]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615580]  ? arch_exit_to_user_mode_prepare.cold+0x5/0x5c
[    6.615583]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615585]  ? syscall_exit_to_user_mode+0x38/0xc0
[    6.615587]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615589]  ? do_syscall_64+0x9b/0x170
[    6.615592]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615594]  ? syscall_exit_to_user_mode+0x38/0xc0
[    6.615596]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615598]  ? do_syscall_64+0x9b/0x170
[    6.615601]  ? __se_sys_close.llvm.4416965578177173658+0x6d/0xa0
[    6.615604]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615606]  ? kmem_cache_free.cold+0x138/0x32a
[    6.615610]  __x64_sys_bpf+0x1c/0x30
[    6.615613]  do_syscall_64+0x8f/0x170
[    6.615615]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615617]  ? do_syscall_64+0x9b/0x170
[    6.615621]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615624]  ? arch_exit_to_user_mode_prepare.cold+0x5/0x5c
[    6.615626]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615628]  ? syscall_exit_to_user_mode+0x38/0xc0
[    6.615631]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615633]  ? do_syscall_64+0x9b/0x170
[    6.615635]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615637]  ? arch_exit_to_user_mode_prepare.cold+0x5/0x5c
[    6.615640]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.615643]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[    6.615645] RIP: 0033:0x703f64e8315d
[    6.615656] 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 9b 6b 0d 00 f7 d8 64 89 01 48
[    6.615658] RSP: 002b:00007ffebaea0a38 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
[    6.615661] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000703f64e8315d
[    6.615662] RDX: 0000000000000040 RSI: 00007ffebaea0a70 RDI: 000000000000001c
[    6.615664] RBP: 00007ffebaea0b40 R08: 000000000000000f R09: 0000000000000000
[    6.615665] R10: 000000000000000f R11: 0000000000000246 R12: 000000000000000f
[    6.615667] R13: 000000000000002c R14: 0000000000000010 R15: 0000703f650d8000
[    6.615671]  </TASK>
[    6.615673] ---[ end trace 0000000000000000 ]---
[    6.615712] sched_ext: BPF scheduler "lavd" enabled
[    6.623157] sched_ext: kworker/1:0[29] has zero slice in pick_task_scx()

I suppose they werent able to fix the issue? @naim

Sorry, I got sidetracked and haven’t been able to forward this to the developer. I’ll do it now, thanks for reminding me.

As additional info, can your provide the CPU you are using and the output of lscpu -e?

❯ lscpu -e
CPU NODE SOCKET CORE L1d:L1i:L2:L3 ONLINE    MAXMHZ   MINMHZ       MHZ
  0    0      0    0 0:0:0:0          yes 4550,0000 550,0000 3687,2351
  1    0      0    1 1:1:1:0          yes 4550,0000 550,0000 4550,0000
  2    0      0    2 2:2:2:0          yes 4550,0000 550,0000 2966,9709
  3    0      0    3 3:3:3:0          yes 4550,0000 550,0000 3588,0339
  4    0      0    4 4:4:4:0          yes 4550,0000 550,0000 4550,0000
  5    0      0    5 5:5:5:0          yes 4550,0000 550,0000 3089,5879
  6    0      0    6 6:6:6:0          yes 4550,0000 550,0000 3088,1841
  7    0      0    7 7:7:7:0          yes 4550,0000 550,0000 3591,6030
  8    0      0    0 0:0:0:0          yes 4550,0000 550,0000 3592,1101
  9    0      0    1 1:1:1:0          yes 4550,0000 550,0000 4550,0000
 10    0      0    2 2:2:2:0          yes 4550,0000 550,0000 3564,5701
 11    0      0    3 3:3:3:0          yes 4550,0000 550,0000 2940,8569
 12    0      0    4 4:4:4:0          yes 4550,0000 550,0000 3591,9109
 13    0      0    5 5:5:5:0          yes 4550,0000 550,0000 4550,0000
 14    0      0    6 6:6:6:0          yes 4550,0000 550,0000 3592,9150
 15    0      0    7 7:7:7:0          yes 4550,0000 550,0000 3583,8789

AMD Ryzen 5800X3D

1 Like

Which kernel version is this? Thanks.

It’s updated most of the time, the default.

Can you share your pacman.log? The lavd developer is asking for this and it may or may not be crucial information leading to the fix.

I just did the transition sched-ext Tutorial | CachyOS

Before, I was seeing that error mentioned above, almost always, after the transition, it hasn’t appeared, yet.

I will wait to see if it comes back or not.

I also just disabled ananicy-cpp as recommended.


❯ cat /var/log/pacman.log | grep 'scx\|sched\|lavd'
 283   │ [2024-11-28T17:13:22-0300] [ALPM] installed scx-scheds (1.0.6-5)
5860   │ [2024-12-07T12:28:24-0300] [ALPM] upgraded scx-scheds (1.0.6-5 -> 1.0.7-1)
5869   │ [2024-12-07T12:28:25-0300] [ALPM] running '90-scx-scheds-upgrade.hook'...
9333   │ [2024-12-17T10:42:50-0300] [ALPM] upgraded scx-scheds (1.0.7-1 -> 1.0.8-1)
9341   │ [2024-12-17T10:42:51-0300] [ALPM] running '90-scx-scheds-upgrade.hook'...
14298   │ [2025-01-02T12:11:57-0300] [ALPM] upgraded scx-scheds (1.0.8-1 -> 1.0.8-2)
14306   │ [2025-01-02T12:11:59-0300] [ALPM] running '90-scx-scheds-upgrade.hook'...
15454   │ [2025-01-06T13:00:02-0300] [PACMAN] Running 'pacman -S scx-scheds'

I need the kernel version please :smile:

I dont know what is the kernel version of pacman.log

Regardless, if the issue does not appear anymore, should not be relevant.

It seems like there is a fix for this already, can you still reproduce this reliably with the systemd service. If yes, I’d like to provide you a test kernel with the proposed fix to confirm whether the fix does what it’s supposed to or not.

For now, no need. Like I said, after doing the transition, the error has not returned yet.

Previously, once it had appeared, it would always happen. It disappeared after the transition and has not returned.

It’s back, today I saw the error on startup, again.

[    6.828201] sched_ext: "lavd" does not implement cgroup cpu.weight
[    6.829226] NOHZ tick-stop error: local softirq work is pending, handler #200!!!
[    6.829244] ------------[ cut here ]------------
[    6.829246] rq->balance_callback && rq->balance_callback != &balance_push_callback
[    6.829249] WARNING: CPU: 2 PID: 2358 at kernel/sched/sched.h:1739 schedule+0xdec/0x1f50
[    6.829256] Modules linked in: nf_tables vfat fat amd_atl intel_rapl_msr intel_rapl_common snd_hda_codec_realtek kvm_amd snd_hda_scodec_component snd_hda_codec_generic kvm snd_hda_intel crct10dif_pclmul snd_intel_dspcfg crc32_pclmul snd_usb_audio snd_intel_sdw_acpi polyval_clmulni polyval_generic snd_hda_codec snd_usbmidi_lib ee1004 ghash_clmulni_intel eeepc_wmi snd_ump snd_hda_core sha512_ssse3 snd_rawmidi asus_ec_sensors sha1_ssse3 asus_wmi snd_seq_device snd_hwdep aesni_intel platform_profile gf128mul i8042 snd_pcm crypto_simd sparse_keymap snd_timer cryptd serio rapl snd rfkill wmi_bmof i2c_piix4 pcspkr k10temp soundcore i2c_smbus ccp igc mc ptp pps_core mousedev joydev leetmouse(OE) mac_hid tcp_bbr pkcs8_key_parser ntsync(OE) i2c_dev crypto_user dm_mod loop nfnetlink lz4 zram 842_decompress 842_compress lz4hc_compress lz4_compress ip_tables x_tables btrfs libcrc32c crc32c_generic raid6_pq xor crc32c_intel nvme sha256_ssse3 nvme_core nvme_auth hid_cmedia nvidia_drm(OE) drm_ttm_helper ttm nvidia_uvm(OE)
[    6.829346]  nvidia_modeset(OE) mxm_wmi video wmi hid_generic nvidia(OE) usbhid
[    6.829356] CPU: 2 UID: 0 PID: 2358 Comm: sugov:2 Tainted: G           OE      6.12.8-2-cachyos #1 ee746d7accaba2b7555fb2b6786c1c08e61d9f63
[    6.829361] Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[    6.829362] Hardware name: System manufacturer System Product Name/ROG STRIX X570-E GAMING, BIOS 5013 03/18/2024
[    6.829365] Sched_ext: lavd (enabling+all)
[    6.829366] RIP: 0010:schedule+0xdec/0x1f50
[    6.829371] Code: 50 4c 89 e7 4c 89 f6 ba 01 00 00 00 2e e8 ac b1 00 00 e9 26 f5 ff ff c6 05 c1 20 3d 01 01 48 c7 c7 49 e2 4d b4 e8 a4 2b 0e ff <0f> 0b 41 8b 84 24 38 0c 00 00 e9 54 f3 ff ff 48 89 df e8 7d 1f 19
[    6.829373] RSP: 0018:ffffa8b95fbb7b40 EFLAGS: 00010046
[    6.829376] RAX: 0c2fc01738a02a00 RBX: ffff894f0fe58000 RCX: 0000000000000027
[    6.829378] RDX: 00000000ffffefff RSI: 0000000000000002 RDI: ffff89560eb21948
[    6.829380] RBP: ffffa8b95fbb7c00 R08: 0000000000000fff R09: ffffffffb4e5a850
[    6.829382] R10: 0000000000002ffd R11: 0000000000000004 R12: ffff89560eb366c0
[    6.829383] R13: ffff894f0fe58000 R14: ffff89560eb00000 R15: ffffa8b95fbb7c88
[    6.829385] FS:  0000000000000000(0000) GS:ffff89560eb00000(0000) knlGS:0000000000000000
[    6.829388] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    6.829390] CR2: 000077f5c039e0ea CR3: 00000001017f4000 CR4: 0000000000f50ef0
[    6.829392] PKRU: 55555554
[    6.829393] Call Trace:
[    6.829395]  <TASK>
[    6.829398]  ? __warn+0xd5/0x1d0
[    6.829401]  ? schedule+0xdec/0x1f50
[    6.829406]  ? report_bug+0x144/0x1f0
[    6.829409]  ? schedule+0xdec/0x1f50
[    6.829412]  ? handle_bug+0x6a/0x90
[    6.829415]  ? exc_invalid_op+0x1a/0x50
[    6.829418]  ? asm_exc_invalid_op+0x1a/0x20
[    6.829424]  ? schedule+0xdec/0x1f50
[    6.829429]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829431]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829434]  ? ktime_get+0x48/0xa0
[    6.829437]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829439]  ? clockevents_program_event+0x94/0xb0
[    6.829442]  ? hrtimer_start_range_ns+0x2df/0x440
[    6.829446]  schedule_hrtimeout_range+0xea/0x180
[    6.829450]  ? __pfx_hrtimer_wakeup+0x10/0x10
[    6.829454]  usleep_range_state+0x72/0xa0
[    6.829458]  check_pcc_chan+0x7e/0x110
[    6.829462]  send_pcc_cmd+0x17b/0x280
[    6.829466]  cppc_set_perf+0x22c/0x340
[    6.829469]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829472]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829474]  ? psi_task_switch+0x545/0x870
[    6.829477]  shmem_update_perf+0x38/0x60
[    6.829481]  amd_pstate_update+0x102/0x2e0
[    6.829484]  ? schedule+0x5aa/0x1f50
[    6.829489]  amd_pstate_update_freq+0x159/0x1a0
[    6.829493]  ? __pfx_sugov_work+0x10/0x10
[    6.829496]  sugov_work+0x4a/0x60
[    6.829499]  kthread_worker_fn+0xac/0x170
[    6.829502]  ? __pfx_kthread_worker_fn+0x10/0x10
[    6.829505]  kthread+0xd7/0x110
[    6.829508]  ? __pfx_kthread+0x10/0x10
[    6.829510]  ret_from_fork+0x3a/0x50
[    6.829514]  ? __pfx_kthread+0x10/0x10
[    6.829516]  ret_from_fork_asm+0x1a/0x30
[    6.829523]  </TASK>
[    6.829524] ---[ end trace 0000000000000000 ]---
[    6.829527] ------------[ cut here ]------------
[    6.829529] rq->balance_callback && rq->balance_callback != &balance_push_callback
[    6.829531] WARNING: CPU: 5 PID: 2309 at kernel/sched/sched.h:1739 scx_ops_bypass+0x178/0x240
[    6.829537] Modules linked in: nf_tables vfat fat amd_atl intel_rapl_msr intel_rapl_common snd_hda_codec_realtek kvm_amd snd_hda_scodec_component snd_hda_codec_generic kvm snd_hda_intel crct10dif_pclmul snd_intel_dspcfg crc32_pclmul snd_usb_audio snd_intel_sdw_acpi polyval_clmulni polyval_generic snd_hda_codec snd_usbmidi_lib ee1004 ghash_clmulni_intel eeepc_wmi snd_ump snd_hda_core sha512_ssse3 snd_rawmidi asus_ec_sensors sha1_ssse3 asus_wmi snd_seq_device snd_hwdep aesni_intel platform_profile gf128mul i8042 snd_pcm crypto_simd sparse_keymap snd_timer cryptd serio rapl snd rfkill wmi_bmof i2c_piix4 pcspkr k10temp soundcore i2c_smbus ccp igc mc ptp pps_core mousedev joydev leetmouse(OE) mac_hid tcp_bbr pkcs8_key_parser ntsync(OE) i2c_dev crypto_user dm_mod loop nfnetlink lz4 zram 842_decompress 842_compress lz4hc_compress lz4_compress ip_tables x_tables btrfs libcrc32c crc32c_generic raid6_pq xor crc32c_intel nvme sha256_ssse3 nvme_core nvme_auth hid_cmedia nvidia_drm(OE) drm_ttm_helper ttm nvidia_uvm(OE)
[    6.829620]  nvidia_modeset(OE) mxm_wmi video wmi hid_generic nvidia(OE) usbhid
[    6.829628] CPU: 5 UID: 0 PID: 2309 Comm: scx_lavd Tainted: G        W  OE      6.12.8-2-cachyos #1 ee746d7accaba2b7555fb2b6786c1c08e61d9f63
[    6.829633] Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[    6.829635] Hardware name: System manufacturer System Product Name/ROG STRIX X570-E GAMING, BIOS 5013 03/18/2024
[    6.829637] Sched_ext: lavd (enabling+all), task: runnable_at=+0ms
[    6.829638] RIP: 0010:scx_ops_bypass+0x178/0x240
[    6.829642] Code: eb 42 0f 1f 44 00 00 4c 89 ef e8 53 44 cf 00 49 ff c4 e9 5b ff ff ff c6 05 dd c7 0b 02 01 48 c7 c7 49 e2 4d b4 e8 88 d2 dc ff <0f> 0b eb a5 0f 0b 41 8b 85 6c 0a 00 00 eb a9 0f 0b 41 8b 85 6c 0a
[    6.829645] RSP: 0018:ffffa8b961b6fa58 EFLAGS: 00010046
[    6.829648] RAX: e1bf162493e7a300 RBX: 0000000000000000 RCX: 0000000000000027
[    6.829650] RDX: 00000000ffffefff RSI: 0000000000000002 RDI: ffff89560eca1948
[    6.829651] RBP: ffff89560eb00000 R08: 0000000000000fff R09: ffffffffb4e5a850
[    6.829653] R10: 0000000000002ffd R11: 0000000000000004 R12: 0000000000000002
[    6.829655] R13: ffff89560eb366c0 R14: 0000000000000282 R15: ffffa8b961b6fa60
[    6.829657] FS:  0000763794e88840(0000) GS:ffff89560ec80000(0000) knlGS:0000000000000000
[    6.829659] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    6.829661] CR2: 00007961f3ef3190 CR3: 000000013de8a000 CR4: 0000000000f50ef0
[    6.829663] PKRU: 55555554
[    6.829664] Call Trace:
[    6.829666]  <TASK>
[    6.829668]  ? __warn+0xd5/0x1d0
[    6.829671]  ? scx_ops_bypass+0x178/0x240
[    6.829676]  ? report_bug+0x144/0x1f0
[    6.829678]  ? scx_ops_bypass+0x178/0x240
[    6.829682]  ? handle_bug+0x6a/0x90
[    6.829685]  ? exc_invalid_op+0x1a/0x50
[    6.829688]  ? asm_exc_invalid_op+0x1a/0x20
[    6.829693]  ? scx_ops_bypass+0x178/0x240
[    6.829697]  ? scx_ops_bypass+0x178/0x240
[    6.829701]  bpf_scx_reg+0xf6c/0x12e0
[    6.829710]  bpf_struct_ops_link_create+0x13c/0x190
[    6.829715]  __sys_bpf+0x765/0x6080
[    6.829718]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829721]  ? __sys_bpf+0x4f46/0x6080
[    6.829728]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829730]  ? __memcg_slab_free_hook+0x25d/0x900
[    6.829736]  ? __se_sys_close.llvm.17429245774908896778+0x6d/0xa0
[    6.829739]  ? kmem_cache_free.cold+0x138/0x327
[    6.829743]  __x64_sys_bpf+0x1c/0x30
[    6.829747]  do_syscall_64+0x8f/0x170
[    6.829750]  ? do_syscall_64+0x9b/0x170
[    6.829753]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829755]  ? syscall_exit_to_user_mode+0x38/0xc0
[    6.829758]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829760]  ? do_syscall_64+0x9b/0x170
[    6.829762]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829765]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[    6.829769] RIP: 0033:0x7637950b815d
[    6.829782] 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 9b 6b 0d 00 f7 d8 64 89 01 48
[    6.829784] RSP: 002b:00007ffc103a7c38 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
[    6.829787] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007637950b815d
[    6.829789] RDX: 0000000000000040 RSI: 00007ffc103a7c70 RDI: 000000000000001c
[    6.829791] RBP: 00007ffc103a7d40 R08: 000000000000000f R09: 00006188d35552b8
[    6.829792] R10: 000000000000000f R11: 0000000000000246 R12: 000000000000000f
[    6.829794] R13: 000000000000002c R14: 00006188d34ff101 R15: 00006188d37c7bc0
[    6.829799]  </TASK>
[    6.829800] ---[ end trace 0000000000000000 ]---
[    6.829802] ------------[ cut here ]------------
[    6.829804] rq->balance_callback && rq->balance_callback != &balance_push_callback
[    6.829806] WARNING: CPU: 2 PID: 2358 at kernel/sched/sched.h:1739 sched_balance_update_blocked_averages.cold+0xe0/0x1ce
[    6.829810] Modules linked in: nf_tables vfat fat amd_atl intel_rapl_msr intel_rapl_common snd_hda_codec_realtek kvm_amd snd_hda_scodec_component snd_hda_codec_generic kvm snd_hda_intel crct10dif_pclmul snd_intel_dspcfg crc32_pclmul snd_usb_audio snd_intel_sdw_acpi polyval_clmulni polyval_generic snd_hda_codec snd_usbmidi_lib ee1004 ghash_clmulni_intel eeepc_wmi snd_ump snd_hda_core sha512_ssse3 snd_rawmidi asus_ec_sensors sha1_ssse3 asus_wmi snd_seq_device snd_hwdep aesni_intel platform_profile gf128mul i8042 snd_pcm crypto_simd sparse_keymap snd_timer cryptd serio rapl snd rfkill wmi_bmof i2c_piix4 pcspkr k10temp soundcore i2c_smbus ccp igc mc ptp pps_core mousedev joydev leetmouse(OE) mac_hid tcp_bbr pkcs8_key_parser ntsync(OE) i2c_dev crypto_user dm_mod loop nfnetlink lz4 zram 842_decompress 842_compress lz4hc_compress lz4_compress ip_tables x_tables btrfs libcrc32c crc32c_generic raid6_pq xor crc32c_intel nvme sha256_ssse3 nvme_core nvme_auth hid_cmedia nvidia_drm(OE) drm_ttm_helper ttm nvidia_uvm(OE)
[    6.829891]  nvidia_modeset(OE) mxm_wmi video wmi hid_generic nvidia(OE) usbhid
[    6.829899] CPU: 2 UID: 0 PID: 2358 Comm: sugov:2 Tainted: G        W  OE      6.12.8-2-cachyos #1 ee746d7accaba2b7555fb2b6786c1c08e61d9f63
[    6.829903] Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[    6.829905] Hardware name: System manufacturer System Product Name/ROG STRIX X570-E GAMING, BIOS 5013 03/18/2024
[    6.829906] Sched_ext: lavd (enabling+all)
[    6.829907] RIP: 0010:sched_balance_update_blocked_averages.cold+0xe0/0x1ce
[    6.829910] Code: a0 56 e5 b4 0f 84 c5 61 06 00 f6 05 eb 74 42 02 01 0f 85 b8 61 06 00 c6 05 de 74 42 02 01 48 c7 c7 49 e2 4d b4 e8 9e 7f 13 00 <0f> 0b e9 9e 61 06 00 31 c0 e9 57 65 06 00 f3 0f 1e fa 41 83 be 60
[    6.829913] RSP: 0018:ffffa8b95fbb7a48 EFLAGS: 00010046
[    6.829915] RAX: 0c2fc01738a02a00 RBX: ffff89560eb00000 RCX: 0000000000000027
[    6.829917] RDX: 00000000ffffefff RSI: 0000000000000002 RDI: ffff89560eb21948
[    6.829919] RBP: 00000000fffb89ad R08: 0000000000000fff R09: ffffffffb4e5a850
[    6.829921] R10: 0000000000002ffd R11: 0000000000000004 R12: 0000000000000002
[    6.829922] R13: 0000000197124f00 R14: ffff89560eb366c0 R15: 0000000000000002
[    6.829924] FS:  0000000000000000(0000) GS:ffff89560eb00000(0000) knlGS:0000000000000000
[    6.829926] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    6.829928] CR2: 000077f5c039e0ea CR3: 00000001017f4000 CR4: 0000000000f50ef0
[    6.829930] PKRU: 55555554
[    6.829931] Call Trace:
[    6.829933]  <TASK>
[    6.829934]  ? __warn+0xd5/0x1d0
[    6.829937]  ? sched_balance_update_blocked_averages.cold+0xe0/0x1ce
[    6.829940]  ? report_bug+0x144/0x1f0
[    6.829943]  ? sched_balance_update_blocked_averages.cold+0xe0/0x1ce
[    6.829946]  ? handle_bug+0x6a/0x90
[    6.829949]  ? exc_invalid_op+0x1a/0x50
[    6.829951]  ? asm_exc_invalid_op+0x1a/0x20
[    6.829957]  ? sched_balance_update_blocked_averages.cold+0xe0/0x1ce
[    6.829960]  ? sched_balance_update_blocked_averages.cold+0xe0/0x1ce
[    6.829962]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829965]  ? handle_bug+0x6a/0x90
[    6.829967]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829970]  ? exc_invalid_op+0x1a/0x50
[    6.829972]  ? asm_exc_invalid_op+0x1a/0x20
[    6.829976]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829979]  sched_balance_newidle.llvm.12420063280891978792+0x1b3/0x380
[    6.829984]  schedule+0xc81/0x1f50
[    6.829988]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829990]  ? ktime_get+0x48/0xa0
[    6.829993]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.829995]  ? clockevents_program_event+0x94/0xb0
[    6.829998]  ? hrtimer_start_range_ns+0x2df/0x440
[    6.830002]  schedule_hrtimeout_range+0xea/0x180
[    6.830005]  ? __pfx_hrtimer_wakeup+0x10/0x10
[    6.830009]  usleep_range_state+0x72/0xa0
[    6.830013]  check_pcc_chan+0x7e/0x110
[    6.830016]  send_pcc_cmd+0x17b/0x280
[    6.830020]  cppc_set_perf+0x22c/0x340
[    6.830023]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.830025]  ? srso_alias_return_thunk+0x5/0xfbef5
[    6.830027]  ? psi_task_switch+0x545/0x870
[    6.830031]  shmem_update_perf+0x38/0x60
[    6.830033]  amd_pstate_update+0x102/0x2e0
[    6.830036]  ? schedule+0x5aa/0x1f50
[    6.830041]  amd_pstate_update_freq+0x159/0x1a0
[    6.830045]  ? __pfx_sugov_work+0x10/0x10
[    6.830048]  sugov_work+0x4a/0x60
[    6.830050]  kthread_worker_fn+0xac/0x170
[    6.830053]  ? __pfx_kthread_worker_fn+0x10/0x10
[    6.830056]  kthread+0xd7/0x110
[    6.830059]  ? __pfx_kthread+0x10/0x10
[    6.830061]  ret_from_fork+0x3a/0x50
[    6.830064]  ? __pfx_kthread+0x10/0x10
[    6.830066]  ret_from_fork_asm+0x1a/0x30
[    6.830073]  </TASK>
[    6.830074] ---[ end trace 0000000000000000 ]---
[    6.830131] sched_ext: BPF scheduler "lavd" enabled
[    6.838190] sched_ext: kworker/7:1[258] has zero slice in pick_task_scx()

Should be fixed in 6.13rc7.