It appears there is also another problem with BTF on v5.11-rc2 that causes some modules to fail to load (in my system nothing critical, but modules like crc32c_intel printed an error in dmesg and failed to load).
It's already have been reported here -> https://lkml.org/lkml/2021/1/8/253
As a workaround I commented the line "fs_initcall(btf_module_init);" in kernel/bpf/btf.c.
EDIT: Proper patch should be available here: https://patchwork.kernel.org/project/netdevbpf/patch/20210110070341.1380086-1-andrii@kernel.org/
Pinned Comments
miffe commented on 2020-01-30 21:44 (UTC)
Repository here