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

FAQ: Add Q&A about kernel lockdown #2532

Merged
merged 1 commit into from
Sep 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
FAQ: Add Q&A about kernel lockdown
  • Loading branch information
jgehrcke committed Sep 26, 2019
commit 723f9073caef537a0674541fc2aebbcd0a4a9d28
9 changes: 9 additions & 0 deletions FAQ.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ Q: hello_world.py still fails with:
Exception: Failed to load BPF program hello
A: sudo

Q: hello_world.py fails with
bpf: Failed to load program: Operation not permitted
despite running as root, and strace shows each `bpf()` system call failing with an EPERM.
A: The so-called Kernel lockdown might be the root cause. Try disabling it with the so-called
sysrq mechanism:
echo 1 > /proc/sys/kernel/sysrq
echo x > /proc/sysrq-trigger
Also see https://github.com/iovisor/bcc/issues/2525

Q: How do I fulfill the Linux kernel version requirement?
A: You need to obtain a recent version of the Linux source code
(please look at the README for the exact version), enable the
Expand Down