[lttng-dev] loading modules with modprobe
François Belias
beliasossim at gmail.com
Mon Jul 15 18:10:33 EDT 2024
Hello,
I'm currently running Linux kernel version 6.5.0-41-generic and attempting
to install LTTng from source. Here are the steps I followed:
- I cloned the LTTng git repository to my computer from [
https://github.com/lttng/lttng-modules.git](https://github.com/lttng/lttng-modules.git)
.
- Downloaded the kernel source tree corresponding to my kernel version to
enable compilation.
- Executed `make KERNELDIR=/path/to/my/linux/source`, which was completed
successfully.
- Ran `make KERNELDIR=/path/to/my/linux/source modules_install`, also
without any issues.
- Finally, I executed `sudo depmod -a`, which was completed successfully.
However, when I attempt to load a module with commands like `sudo modprobe
lttng-ketprobes` or "sudo modprobe lttng-tracer", I encounter the following
errors:
- For `lttng-ketprobes`: `modprobe: FATAL: Module lttng-ketprobes not found
in directory /lib/modules/6.5.0-41-generic`.
- For `lttng-tracer`: `modprobe: ERROR: could not insert 'lttng_tracer':
Exec format error`.
I've confirmed that the modules exist but can't load them. I'm unsure how
to resolve these issues. Could someone please assist me?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20240715/71aab4d7/attachment.htm>
More information about the lttng-dev
mailing list