On Wed, Jan 05, 2022 at 10:03:30AM +0000, Buchberger, Dennis wrote: > Hello :) > > I am currently having a problem and hope you can help me: My goal is to develop a BPF-program (see below) on a development machine and then deploy it to another machine to run it there using BPF CO:RE. > But the program does not load; bpf_object__load returns -EINVAL. > > Development machine: > - Ubuntu 20.04 LTS > - Linux 5.4.0-90-generic x86_64 > - Kernel compiled with CONFIG_DEBUG_INFO_BTF=y, so BTF is available under /sys/kernel/btf/vmlinux > - clang version: 10.0.0-4ubuntu1 > - llc version: 10.0.0 > > Target machine: > - Ubuntu 18.10 > - Linux 4.18.0-25-generic x86_64 4.18 is very old and obsolete and insecure and only supported by the vendor you are paying support from. Please upgrade to a more modern kernel (4.18 was released way back in 2018), if you wish to get help from the kernel community. Actually, the vendor you are paying for support to stay at this old kernel version should be able to provide help to you, why not ask them? thanks, greg k-h