BTF support missing from kernel
Bug #2065829 reported by
Alan Gillingham
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
OS: Ubuntu Server LTS 24.04, 6.8.0-1004-raspi
The OS is missing support for BTF which is needed in order to use XDP.
BTF is compiled into the x86 Ubuntu kernel but not on the raspi which is missing the directory /sys/kernel/btf.
As a result, I am unable to use XDP AF_XDP sockets because my BPF program fails to load with errors:
BPF program load failed: invalid argument.
btf_vmlinux is malformed
Is BTF intentionally removed and can it be added?
tags: | added: kern-10893 |
To post a comment you must log in.
I have the same issue with kernel version 5.15.0-1055-raspi.
All flags seems to state that BTF is enabled, but when using it, it states that it's not supported.
Unable to load eBPF watcher for process events" component= discover. ProcessWatcher interval=5s error="loading and assigning BPF objects: field KprobeSysBind: program kprobe_sys_bind: apply CO-RE relocations: load kernel spec: no BTF found for kernel version 5.15.0-1055-raspi: not supported