anatol / booster

Fast and secure initramfs generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

amd_pstate module not being used

JosefLitos opened this issue · comments

I would like to try amd_pstate driver instead of acpi_cpufreq, but although it compiles successfully, the module isn't loaded, whereas with mkinitcpio it all works well.

Could you please provide more context for what you are doing? Logs, config files...

Did you try to force loading this module?

Also, prefer to use "Discussions" page for general questions https://github.com/anatol/booster/discussions

config:

modules: amdgpu,amd_pstate
extra_files: fsck,fsck.ext4
strip: true

kernel vmlinux extra params: amd_pstate.shared_mem=1 initcall_blacklist=acpi_cpufreq_init

The module works as expected when loaded manually after boot (sudo modprobe amd_pstate).
The issue seems to be it is not loaded by booster.
No errors or logs about this module seem to be in dmesg nor journalctl.

Try to move your modules to modules_force_load: section like this

modules_force_load: amdgpu,amd_pstate
extra_files: fsck,fsck.ext4
strip: true

what could cause the normal loading not working?

modules only adds modules to the image. And it gets loaded only if kernel sends matching udev event.

modules_force_load - adds modules to images and forces their load.

See man booster for more information.