[Bug 1188589] New: libbpf: failed to find valid kernel BTF
https://bugzilla.suse.com/show_bug.cgi?id=1188589 Bug ID: 1188589 Summary: libbpf: failed to find valid kernel BTF Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: mrostecki@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Since the update to the TW snapshot with the kernel 5.13.2-1, I see the following errors when trying to load BPF CO-RE skeletons with libbpf: libbpf: failed to find valid kernel BTF libbpf: Error loading vmlinux BTF: -3 The full example - I'm trying to load BPF programs which I have in this project: https://github.com/rancher-sandbox/lockc and the full output is: ��� sudo ./out/lockcd libbpf: elf: skipping unrecognized data section(9) .rodata.str1.1 libbpf: failed to find valid kernel BTF libbpf: Error loading vmlinux BTF: -3 libbpf: failed to load object 'lockc_bpf' libbpf: failed to load BPF skeleton 'lockc_bpf': -3 Error: libbpf error Caused by: System error, errno: 3 Most likely, the solution for them would be setting the following kernel parameters to "y": CONFIG_DEBUG_INFO_REDUCED CONFIG_DEBUG_INFO_SPLIT But I'm not entirely sure yet. trying to test that... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1188589
https://bugzilla.suse.com/show_bug.cgi?id=1188589#c1
--- Comment #1 from Micha�� Rostecki
https://bugzilla.suse.com/show_bug.cgi?id=1188589
https://bugzilla.suse.com/show_bug.cgi?id=1188589#c2
--- Comment #2 from Micha�� Rostecki
https://bugzilla.suse.com/show_bug.cgi?id=1188589
https://bugzilla.suse.com/show_bug.cgi?id=1188589#c3
--- Comment #3 from Micha�� Rostecki
https://bugzilla.suse.com/show_bug.cgi?id=1188589
Micha�� Rostecki
https://bugzilla.suse.com/show_bug.cgi?id=1188589
Gary Ching-Pang Lin
https://bugzilla.suse.com/show_bug.cgi?id=1188589
https://bugzilla.suse.com/show_bug.cgi?id=1188589#c4
--- Comment #4 from Micha�� Rostecki
https://bugzilla.suse.com/show_bug.cgi?id=1188589
https://bugzilla.suse.com/show_bug.cgi?id=1188589#c5
--- Comment #5 from Micha�� Rostecki
https://bugzilla.suse.com/show_bug.cgi?id=1188589
https://bugzilla.suse.com/show_bug.cgi?id=1188589#c6
Shung-Hsi Yu
https://bugzilla.suse.com/show_bug.cgi?id=1188589
https://bugzilla.suse.com/show_bug.cgi?id=1188589#c7
Jiri Slaby
participants (1)
-
bugzilla_noreply@suse.com