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

With Linux 4.9, loadBpfObjects() failed, error=argument list too long #1434

Closed
PonnyS opened this issue Apr 15, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@PonnyS
Copy link

PonnyS commented Apr 15, 2024

Describe the bug

I encountered an error while running the `cgroup_skb` example in Linux 4.9, error=`loading objects: field CountEgressPackets: program count_egress_packets: load program: argument list too long`. 

Although cgroup_skb dont support with Linux 4.9, but README.md mentions that working with Linux >= 4.9, so loadBpfObjects() should be ok but failed.

So i want to know whether Linux 4.9 is supported? 

Tks.

How to reproduce

Linux: 4.9.113

Code: examples/cgroup_skb

Version information

latest

@PonnyS PonnyS added the bug Something isn't working label Apr 15, 2024
lmb added a commit to lmb/ebpf that referenced this issue Apr 16, 2024
Change the wording in the readme so that we don't have to keep
updating it all the time. This also helps to set expectations with
users.

Updates cilium#1434

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
@lmb
Copy link
Collaborator

lmb commented Apr 16, 2024

Thanks for pointing this out! The story for 4.9 is slightly complicated: we still have it in CI, but we don't go out of our way to support it. We'll gladly take the fix if you figure out what is wrong, but we don't spend time on maintaining it.

I'll update the README to make this clearer.

@lmb lmb closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2024
lmb added a commit that referenced this issue Apr 16, 2024
Change the wording in the readme so that we don't have to keep
updating it all the time. This also helps to set expectations with
users.

Updates #1434

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants