Skip to content

falco-driver-loader 0.40.0 dkms install module failed on Ubuntu 24.04 (kernel release: 6.11.0-19-generic) #3524

@shengxpa

Description

@shengxpa

Describe the bug

Due to "unable to find a prebuilt driver" and "kernel headers not found," the falco-driver-loader attempted to dkms install the module but failed. The machine running the falco pod is Ubuntu 24.04, with the kernel version 6.11.0-19-generic.

There are some error logs:

[configure-kmod] make: Entering directory '/var/lib/dkms/falco/8.0.0+driver/build/configure/CLASS_CREATE_1' make -C /host/usr/src/linux-headers-6.11.0-19-generic M=/var/lib/dkms/falco/8.0.0+driver/build/configure/CLASS_CREATE_1 modules make[1]: Entering directory '/host/usr/src/linux-headers-6.11.0-19-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 You are using: gcc-12 (Debian 12.2.0-14) 12.2.0 CC [M] /var/lib/dkms/falco/8.0.0+driver/build/configure/CLASS_CREATE_1/test.o ./tools/objtool/objtool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./tools/objtool/objtool) make[3]: *** [scripts/Makefile.build:244: /var/lib/dkms/falco/8.0.0+driver/build/configure/CLASS_CREATE_1/test.o] Error 1 make[3]: *** Deleting file '/var/lib/dkms/falco/8.0.0+driver/build/configure/CLASS_CREATE_1/test.o' make[2]: *** [/host/usr/src/linux-headers-6.11.0-19-generic/Makefile:1931: /var/lib/dkms/falco/8.0.0+driver/build/configure/CLASS_CREATE_1] Error 2 make[1]: *** [Makefile:224: __sub-make] Error 2 make[1]: Leaving directory '/host/usr/src/linux-headers-6.11.0-19-generic' make: *** [Makefile:15: all] Error 2 make: Leaving directory '/var/lib/dkms/falco/8.0.0+driver/build/configure/CLASS_CREATE_1'

How to reproduce it

Runing falco pods using kmod method on Ubuntu 24.04

falco-driver-loader container log
kubed-falco-master-pk9dg.log

Environment

  • Falco version:
    0.40.0
  • System info:
Linux version 6.11.0-19-generic (buildd@lcy02-amd64-014) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #19~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 17 11:51:52 UTC 2
  • Cloud provider or hardware configuration:
  • OS:
    Ubuntu 24.04.2 LTS
  • Kernel:
    6.11.0-19-generic x86_64
  • Installation method:
    Kubernetes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions