Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] loading modules with modprobe
@ 2024-07-15 22:10 François Belias via lttng-dev
  2024-07-16 13:05 ` Kienan Stewart via lttng-dev
  0 siblings, 1 reply; 12+ messages in thread
From: François Belias via lttng-dev @ 2024-07-15 22:10 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 1159 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 1371 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-07-18 19:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-15 22:10 [lttng-dev] loading modules with modprobe François Belias via lttng-dev
2024-07-16 13:05 ` Kienan Stewart via lttng-dev
2024-07-16 19:01   ` François Belias via lttng-dev
2024-07-16 19:41     ` Kienan Stewart via lttng-dev
2024-07-16 20:34       ` François Belias via lttng-dev
2024-07-17 14:55         ` Kienan Stewart via lttng-dev
     [not found]           ` <CAHD10UgTthGz7gcgcga6W4xxjiKHfuZgM9uCjEkViKsVUnDF8A@mail.gmail.com>
2024-07-17 15:47             ` François Belias via lttng-dev
2024-07-17 16:08               ` Kienan Stewart via lttng-dev
2024-07-18  0:44                 ` François Belias via lttng-dev
2024-07-18 14:47                   ` Kienan Stewart via lttng-dev
2024-07-18 14:58                     ` Kienan Stewart via lttng-dev
2024-07-18 19:46                       ` François Belias via lttng-dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox