I figured it out. The official stable kernel build also contains a set of debian patches. One of those patches enables per-module BTF info unconditionally, which leads to a module_layout mismatch. `apt source <kernel-image-pkg>` can be used to get these patches. Or CONFIG_DEBUG_INFO_BTF_MODULES can be enabled in .config for custom builds, that should probably work too.
More info here.
This topic can be marked as [SOLVED] now, if that's a thing here.
More info here.
This topic can be marked as [SOLVED] now, if that's a thing here.
Statistics: Posted by provod — Mon Apr 08, 2024 11:04 pm