-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Getting "Failed to compile BPF text" on "Running eBPF Tools in Minikube" demo #10062
Comments
Hey @Dentrax thank you for opening this issue. I just tried the tutorial on mac OS with the hyperkit driver, with minikube @ HEAD, and it seems to be working as expected. What operating system and driver did you run on? |
I forgot to add some version information. 🙈 (Maybe we should add a part of this in the issue template?) macOS 11.0.1
minikube version: v1.15.1
commit: 23f40a012abb52eff365ff99a709501a61ac5876
Darwin XXX 20.1.0 Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64 x86_64 |
It looks like the kernel headers version isn't correct, seems like BPF is looking for What driver are you using? On macOS, this will only currently work with the |
Having |
Hi @Dentrax, we haven't heard back from you, do you still have this issue? I will close this issue for now but feel free to reopen when you feel ready to provide more information. |
root@unraid:/mnt/disk1/minikube# minikube ssh $ uname -a my kernel is 5.10.57, encour same issue root@unraid:/mnt/disk1/minikube# minikube ssh -- docker run --rm --privileged -v /lib/modules:/lib/modules:ro -v /usr/src:/usr/src:ro -v /etc/localtime:/etc/localtime:ro --workdir /usr/share/bcc/tools zlim/bcc ./execsnoop how to fix? |
Steps to reproduce the issue:
Full output of failed command:
The text was updated successfully, but these errors were encountered: