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

[Bug Report] scx_lavd failed to run #684

Closed
piyoki opened this issue Apr 20, 2024 · 6 comments
Closed

[Bug Report] scx_lavd failed to run #684

piyoki opened this issue Apr 20, 2024 · 6 comments
Labels
high-priority High priority issue

Comments

@piyoki
Copy link

piyoki commented Apr 20, 2024

What happens?

scx_lavd failed to start.

What is expected to happen?

scx_lavd runs flawlessly.

If possible, please attach logs

⯁ flake git:(master) ✗ ❯❯❯ sudo scx_lavd
Error: Failed to load BPF program

Caused by:
    Invalid argument (os error 22)

More information

nix store path

/nix/store/m890hnwrhdn1jn1vd01kd45ygrd48bbx-scx-unstable-20240326-5bfd90bd6/bin/scx_lavd

flake.lock

       "locked": {
-        "lastModified": 1713212932,
-        "narHash": "sha256-FnKDhx5w9KRUJR0ZEI4kpL+KtAv2utAs6+ovDz1SmHo=",
+        "lastModified": 1713554347,
+        "narHash": "sha256-Li6DK5JqKesOhTBwSoqxWzOxUR0pcPxE/L7vVyEsZpM=",
         "owner": "chaotic-cx",
         "repo": "nyx",
-        "rev": "a2f034e707ad9e2be09454f171acd805015ae245",
+        "rev": "72c35184e8260a612b00977d0bb26d63cb385cb0",
         "type": "github"
       },
@LDprg
Copy link

LDprg commented Apr 27, 2024

Same for me. Is this related to sched-ext/scx#203?
It seems like a wrong bpftools version (7.3.0 on my system instead of 7.4.0).

@piyoki
Copy link
Author

piyoki commented Apr 28, 2024

Same for me. Is this related to sched-ext/scx#203? It seems like a wrong bpftools version (7.3.0 on my system instead of 7.4.0).

I've escalated it to the project maintainers - sched-ext/scx#244. Let's see how it goes.

@PedroHLC
Copy link
Member

Important to mention that I didn't try to reproduce it yet, as well didn't try to bump it.

@PedroHLC
Copy link
Member

Ok, I can confirm it now:
image

@piyoki
Copy link
Author

piyoki commented Apr 30, 2024

According to sched-ext/scx#244 (comment), @PedroHLC would you like to try out the fix, please?

@PedroHLC
Copy link
Member

Fixed by sched-ext/scx#247 and deployed in 8cfa2aa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high-priority High priority issue
Projects
None yet
Development

No branches or pull requests

3 participants