** Description changed:
+ [Impact]
+
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?
- Is BTF intentionally removed and can it be added?
+ [Test case]
+
+ Check content of /sys/kernel/btf (should be non-empty).
+
+ [Where Problems Could Occur]
+
+ Raspi specific. Problems might show up at boot or when BTF info is
+ accessed/used.
+
+ [Notes]
+
+ BTF is enabled in most if not all other Ubuntu kernels. This brings
+ raspi in line.
** Also affects: linux-raspi (Ubuntu Noble)
Importance: Undecided
Status: New
** Changed in: linux-raspi (Ubuntu Noble)
Status: New => Confirmed
** Changed in: linux-raspi (Ubuntu)
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065829
Title:
BTF support missing from kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2065829/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs