kmesh-net / kmesh

High Performance ServiceMesh Data Plane Based on Programmable Kernel
https://kmesh.net
Apache License 2.0
462 stars 70 forks source link

kmesh v0.4.0 start failed, error info is: unknown func bpf_sched_entity_is_task#165 on openEuler oe2203sp2 #758

Open bitcoffeeiux opened 2 months ago

bitcoffeeiux commented 2 months ago

What happened: helm install kmesh ./deploy/helm -n kmesh-system --create-namespace install Kmesh v0.4.0 What you expected to happen: kmesh run normal How to reproduce it (as minimally and precisely as possible): run helm install kmesh ./deploy/helm -n kmesh-system --create-namespace on openEuler 2203SP2 version Anything else we need to know?: Kmesh compile on kernel verion bigger than 5.13,it will use Kmesh_BPF_SNPRINTF in file bpf/include/bpf_log.h, the ebpf program will call bpf_snprintf and the call index is 165. but 165 on openEuler 2203 is not bpf_snprintf. This caused the launch of the kilometer to fail.

Environment:

hzxuzhonghu commented 2 months ago

FYI #669 there is a bug with the log mechanism