Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add 4.0.0+driver support for kernel-5.10.0-0.bpo.15 x86_64
This PR adds ebpf object file and kernel module driver support for debian kernel v5.10.0-0.bpo.15, architecture `x86_64`. Supported falco driver versions 2.0,3.0 and 4.0. Upgrading to falco v0.34.1 in DigitalOcean Kubernetes managed service (DOKS) v1.22.13-do.0 requires `5.10.0-0.bpo.15-amd64` driver support for v4 driver version. Error encountered during driver setup: ``` ================ Cleaning phase ================ * Looking for a falco module locally (kernel 5.10.0-0.bpo.15-amd64) * Filename 'falco_debian_5.10.0-0.bpo.15-amd64_1.ko' is composed of: - driver name: falco - target identifier: debian - kernel release: 5.10.0-0.bpo.15-amd64 - kernel version: 1 * Trying to download a prebuilt falco module from https://download.falco.org/driver/4.0.0%2Bdriver/x86_64/falco_debian_5.10.0-0.bpo.15-amd64_1.ko curl: (22) The requested URL returned error: 404 Unable to find a prebuilt falco module install: /usr/lib/gcc/x86_64-linux-gnu/5/ * Trying to dkms install falco module with GCC /usr/bin/gcc DIRECTIVE: MAKE="'/tmp/falco-dkms-make'" Creating symlink /var/lib/dkms/falco/4.0.0+driver/source -> /usr/src/falco-4.0.0+driver DKMS: add completed. * Running dkms build failed, couldn't find /var/lib/dkms/falco/4.0.0+driver/build/make.log (with GCC /usr/bin/gcc) install: /usr/lib/gcc/x86_64-linux-gnu/5/ * Trying to dkms install falco module with GCC /usr/bin/gcc-5 DIRECTIVE: MAKE="'/tmp/falco-dkms-make'" * Running dkms build failed, couldn't find /var/lib/dkms/falco/4.0.0+driver/build/make.log (with GCC /usr/bin/gcc-5) install: /usr/lib/gcc/x86_64-linux-gnu/6/ * Trying to dkms install falco module with GCC /usr/bin/gcc-6 DIRECTIVE: MAKE="'/tmp/falco-dkms-make'" * Running dkms build failed, couldn't find /var/lib/dkms/falco/4.0.0+driver/build/make.log (with GCC /usr/bin/gcc-6) install: /usr/lib/gcc/x86_64-linux-gnu/8/ * Trying to dkms install falco module with GCC /usr/bin/gcc-8 DIRECTIVE: MAKE="'/tmp/falco-dkms-make'" * Running dkms build failed, couldn't find /var/lib/dkms/falco/4.0.0+driver/build/make.log (with GCC /usr/bin/gcc-8) * Trying to load a system falco module, if present Consider compiling your own falco driver and loading it or getting in touch with the Falco community ``` Command used generate driver config: ``` make generate -e TARGET_DISTRO=debian -e TARGET_KERNEL=5.10.0-0.bpo.15-amd64_1 -e TARGET_ARCH=x86_64 ``` Signed-off-by: Panagiotis Atmatzidis <atma@convalesco.org>
- Loading branch information