I have the 5.6.2 kernel (from the official Fedora repository) and even though it’s been reported it should contain a new CPU driver (cpu-idle-cooling) it does not have it, in binary or source. I downloaded the 5.6.2 source from Kernel.org and it does have it, I want to build that module and add it to my current Fedora setup.
When I go to the root of the extracted source archive and run:
When I go to the root of the extracted source archive and run:
make oldconfig
make prepare
make scripts
These don’t print any warning or errors. The cpu idle cooling driver is in ./drivers/thermal. Then:
make M=drivers/thermal
I get:
AR drivers/thermal/broadcom/built-in.a
AR drivers/thermal/samsung/built-in.a
CC [M] drivers/thermal/intel/int340x_thermal/int3400_thermal.o
CC [M] drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.o
CC [M] drivers/thermal/intel/int340x_thermal/int3402_thermal.o
CC [M] drivers/thermal/intel/int340x_thermal/int3403_thermal.o
CC [M] drivers/thermal/intel/int340x_thermal/processor_thermal_device.o
CC [M] drivers/thermal/intel/int340x_thermal/int3406_thermal.o
CC [M] drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.o
AR drivers/thermal/intel/built-in.a
CC [M] drivers/thermal/intel/intel_powerclamp.o
CC [M] drivers/thermal/intel/x86_pkg_temp_thermal.o
CC [M] drivers/thermal/intel/intel_soc_dts_iosf.o
CC [M] drivers/thermal/intel/intel_soc_dts_thermal.o
CC [M] drivers/thermal/intel/intel_bxt_pmic_thermal.o
CC [M] drivers/thermal/intel/intel_pch_thermal.o
AR drivers/thermal/st/built-in.a
AR drivers/thermal/tegra/built-in.a
CC drivers/thermal/thermal_core.o
CC drivers/thermal/thermal_sysfs.o
CC drivers/thermal/thermal_helpers.o
CC drivers/thermal/thermal_hwmon.o
CC drivers/thermal/fair_share.o
CC drivers/thermal/gov_bang_bang.o
CC drivers/thermal/step_wise.o
CC drivers/thermal/user_space.o
AR drivers/thermal/built-in.aWARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.MODPOST 13 modules
CC [M] drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.mod.o
LD [M] drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.ko
CC [M] drivers/thermal/intel/int340x_thermal/int3400_thermal.mod.o
LD [M] drivers/thermal/intel/int340x_thermal/int3400_thermal.ko
CC [M] drivers/thermal/intel/int340x_thermal/int3402_thermal.mod.o
LD [M] drivers/thermal/intel/int340x_thermal/int3402_thermal.ko
CC [M] drivers/thermal/intel/int340x_thermal/int3403_thermal.mod.o
LD [M] drivers/thermal/intel/int340x_thermal/int3403_thermal.ko
CC [M] drivers/thermal/intel/int340x_thermal/int3406_thermal.mod.o
LD [M] drivers/thermal/intel/int340x_thermal/int3406_thermal.ko
CC [M] drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.mod.o
LD [M] drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.ko
CC [M] drivers/thermal/intel/int340x_thermal/processor_thermal_device.mod.o
LD [M] drivers/thermal/intel/int340x_thermal/processor_thermal_device.ko
CC [M] drivers/thermal/intel/intel_bxt_pmic_thermal.mod.o
LD [M] drivers/thermal/intel/intel_bxt_pmic_thermal.ko
CC [M] drivers/thermal/intel/intel_pch_thermal.mod.o
LD [M] drivers/thermal/intel/intel_pch_thermal.ko
CC [M] drivers/thermal/intel/intel_powerclamp.mod.o
LD [M] drivers/thermal/intel/intel_powerclamp.ko
CC [M] drivers/thermal/intel/intel_soc_dts_iosf.mod.o
LD [M] drivers/thermal/intel/intel_soc_dts_iosf.ko
CC [M] drivers/thermal/intel/intel_soc_dts_thermal.mod.o
LD [M] drivers/thermal/intel/intel_soc_dts_thermal.ko
CC [M] drivers/thermal/intel/x86_pkg_temp_thermal.mod.o
LD [M] drivers/thermal/intel/x86_pkg_temp_thermal.ko
This might sound really dumb but I thought as there is a file called cpuidle_cooling.c
in that directory I expected to get a cpuidle_cooling.ko
file, it did for many of the others. What am I doing wrong?
Is this:
WARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.MODPOST 13 modules
Why they weren’t made?