Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm64: bpf_generic_kprobe_v53.o fails to load #2137

Open
2 tasks done
vparla opened this issue Feb 23, 2024 · 2 comments
Open
2 tasks done

arm64: bpf_generic_kprobe_v53.o fails to load #2137

vparla opened this issue Feb 23, 2024 · 2 comments
Labels
arch/arm64 arm64 issues kind/bug Something isn't working

Comments

@vparla
Copy link

vparla commented Feb 23, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem?

Support for bpf tail calls on ARM64 and documentation to describe platforms where it is not supported.

Describe the feature you would like

Hi - it appears that some #tetragon capabilities on arm64 do not function as expected. It looks to be related to BPF tail calls. Seems to be addressed in 6.0 version of the kernel. Is this a known limitation today in #tetragon?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4609a5d8c70d21b4a3f801cf896a3c16c613fe1

error="sensor gkp-sensor-1 from collection cat-open failed to load: failed prog /var/lib/tetragon/bpf_generic_kprobe_v53.o kern_version 331656 
loadInstance: opening collection '/var/lib/tetragon/bpf_generic_kprobe_v53.o' failed: program generic_kprobe_process_event4: 
load program: invalid argument: tail_calls are not allowed in non-JITed programs with bpf-to-bpf calls (292 line(s) omitted)"

Describe your proposed solution

Document support plans for this and limitations in the current Tetragon solution.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@vparla vparla added the kind/enhancement This improves or streamlines existing functionality label Feb 23, 2024
@mtardy
Copy link
Member

mtardy commented Feb 23, 2024

Hello, could you please give us more information on which kernel you tried, with which configuration? We need to reproduce this to gather more information and understand what's happening here.

@mtardy mtardy added kind/bug Something isn't working arch/arm64 arm64 issues and removed kind/enhancement This improves or streamlines existing functionality labels Feb 23, 2024
@mtardy mtardy changed the title ARM64 support arm64: bpf_generic_kprobe_v53.o fails to load Feb 23, 2024
@jrfastab
Copy link
Contributor

If you have the policy adding it here would help. Its a bug we should fix it for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch/arm64 arm64 issues kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants