Skip to content

invalid CO-RE relocation error #4

@bobbintb

Description

@bobbintb

I get the following error when running sudo ./kflowd | jq 'select(.event_type == "file")' on Ubuntu 24.04:

316: <invalid CO-RE relocation>
failed to resolve CO-RE relocation <byte_off> [423] struct inode.i_atime.tv_sec (0:15:0 @ offset 88)
processed 311 insns (limit 1000000) max_states_per_insn 0 total_states 20 peak_states 20 mark_read 17
-- END PROG LOAD LOG --
libbpf: prog 'do_filp_open': failed to load: -22
libbpf: failed to load object 'kflowd_bpf'
libbpf: failed to load BPF skeleton 'kflowd_bpf': -22
Failed to load and verify BPF skeleton

I checked and I should have all the prerequisites met. I also built kflowd from source and tried it on Slackware and get the same error. This is with version 0.9.22 for both attempts. I actually built and tried it on Slackware first and when I got the issue I tried installing the provided release on Ubuntu and got the same error, so I don't think it was an issue with my build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions