-
Notifications
You must be signed in to change notification settings - Fork 136
ERROR loading BPF program with a verifier message "invalid func unknown#114" #212
Comments
Hello @d0u9 BPF helper function number 114 is If your kernel is older than v5.5 you can not call the function because it does not exist in your kernel. But you can call old version of it, |
BPF subsystem in the Linux kernel is still in development rapidly. So if you don't mind, I recommend you to use recent version of kernel if you are interested in BPF. It would be better experience. But of course, it is not a must-do. |
Hi, @rhdxmr. Thanks very much for your quick reply. Does the first error, |
@d0u9 |
And.. I am not sure why loading BTF failed. The verifier log says the btf type whose id is 6 is illegal (it mentions vlen != 0). But I don't have idea why the BTF info is corrupted. It is generated by LLVM and redbpf corrects it a little bit. But I have not experienced this symptom.. |
Ok, I get it. Thanks for your kind help. |
A few users had struggled with problems originated from RedBPF. And they asked how to solve the tricky problems via github issues. The updated content consists of answers to issues as below: - #213 - #194 - #212 - #205 Thanks to users effort and their report, this content can be written. Signed-off-by: Junyeong Jeong <rhdxmr@gmail.com>
A few users had struggled with problems originated from RedBPF. And they asked how to solve the tricky problems via github issues. The updated content consists of answers to issues as below: - #213 - #194 - #212 - #205 Thanks to users effort and their report, this content can be written. Signed-off-by: Junyeong Jeong <rhdxmr@gmail.com>
I am trying to follow this tutorial, and failed due to this error.
As a newbie to eBPF. It is really hard to figure out what is going on.
The text was updated successfully, but these errors were encountered: