I need a kernel with transparent_hugepage support.
As I can see current kernels like linux-image-6.6.87-eic7702 and linux-image-6.6.87-win2030 don’t have such support.
I’ve tried to install headers for it apt install linux-headers-6.6.87-win2030 but installed headers look a bit weird because don’t have Kconfig and many other folders.
How to rebuild a kernel to have transparent_hugepage support ?
P.S. What the difference between linux-image-6.6.87-eic7702 and linux-image-6.6.87-win2030 ?
Note that I haven’t updated this for quite some time, and you’d better change the toolchain to a more up-to-date version, e.g. the one used in that CI workflow.
If you want a native build, then just remove CROSS_COMPILE stuff and use the GCC provided by your distro instead.
Hope that helps. Maybe I’ll PR/add a kernel compile guide to RockOS docs someday.
(BTW since you’re on 6.6.87, you’re probably on a older image? The latest version should be using 6.6.88)