[lttng-dev] Errors using lttng-modules v2.0-pre11

Mathieu Desnoyers compudj at krystal.dyndns.org
Wed Jan 25 10:30:21 EST 2012


* Bernd Hufmann (Bernd.Hufmann at ericsson.com) wrote:
> Hello
>
> I installed the lttng-modules v2.0-pre11 from source code (git  
> repository). The installation went without problems. But I'm getting the  
> errors below when executing "sudo lttng list -k".
> I'm running Ubuntu with a kernel 3.04. lttng-tools version is v2.0-pre18.
>
> Could someone please look into this problem and let me know how I can  
> overcome this issue?
>
> BTW, before installing lttng-modules v2.0-pre11, I tried to upgrade to  
> the latest in master from an older version.

Please try to remove all lttng modules from your
/lib/modules/3.0.4/extra directory, go to your lttng modules tree, make
clean, make, and, as root, make modules_install.

This should fix it. I expect that currently your modules are built
against the wrong kernel tree.

If it does not fix it, investigate whether your /lib/modules/3.0.4/build
symlink points to a kernel tree (or kernel headers) that match your
running kernel.

Best regards,

Mathieu

>
> Best Regards
> Bernd
>
> WARNING: Error inserting lttng_ftrace  
> (/lib/modules/3.0.4/extra/probes/lttng-ftrace.ko): Invalid module format
> WARNING: Error inserting lttng_kprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kprobes.ko): Invalid module format
> WARNING: Error inserting lttng_kretprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kretprobes.ko): Invalid module 
> format
> FATAL: Error inserting ltt_relay  
> (/lib/modules/3.0.4/extra/ltt-relay.ko): Invalid module format
> WARNING: Error inserting lttng_ftrace  
> (/lib/modules/3.0.4/extra/probes/lttng-ftrace.ko): Invalid module format
> WARNING: Error inserting lttng_kprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kprobes.ko): Invalid module format
> WARNING: Error inserting lttng_kretprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kretprobes.ko): Invalid module 
> format
> WARNING: Error inserting ltt_relay  
> (/lib/modules/3.0.4/extra/ltt-relay.ko): Invalid module format
> FATAL: Error inserting ltt_ring_buffer_client_discard  
> (/lib/modules/3.0.4/extra/ltt-ring-buffer-client-discard.ko): Invalid  
> module format
> WARNING: Error inserting lttng_ftrace  
> (/lib/modules/3.0.4/extra/probes/lttng-ftrace.ko): Invalid module format
> WARNING: Error inserting lttng_kprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kprobes.ko): Invalid module format
> WARNING: Error inserting lttng_kretprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kretprobes.ko): Invalid module 
> format
> WARNING: Error inserting ltt_relay  
> (/lib/modules/3.0.4/extra/ltt-relay.ko): Invalid module format
> FATAL: Error inserting ltt_ring_buffer_client_overwrite  
> (/lib/modules/3.0.4/extra/ltt-ring-buffer-client-overwrite.ko): Invalid  
> module format
> WARNING: Error inserting lttng_ftrace  
> (/lib/modules/3.0.4/extra/probes/lttng-ftrace.ko): Invalid module format
> WARNING: Error inserting lttng_kprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kprobes.ko): Invalid module format
> WARNING: Error inserting lttng_kretprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kretprobes.ko): Invalid module 
> format
> WARNING: Error inserting ltt_relay  
> (/lib/modules/3.0.4/extra/ltt-relay.ko): Invalid module format
> FATAL: Error inserting ltt_ring_buffer_metadata_client  
> (/lib/modules/3.0.4/extra/ltt-ring-buffer-metadata-client.ko): Invalid  
> module format
> WARNING: Error inserting lttng_ftrace  
> (/lib/modules/3.0.4/extra/probes/lttng-ftrace.ko): Invalid module format
> WARNING: Error inserting lttng_kprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kprobes.ko): Invalid module format
> WARNING: Error inserting lttng_kretprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kretprobes.ko): Invalid module 
> format
> WARNING: Error inserting ltt_relay  
> (/lib/modules/3.0.4/extra/ltt-relay.ko): Invalid module format
> FATAL: Error inserting ltt_ring_buffer_client_mmap_discard  
> (/lib/modules/3.0.4/extra/ltt-ring-buffer-client-mmap-discard.ko):  
> Invalid module format
> WARNING: Error inserting lttng_ftrace  
> (/lib/modules/3.0.4/extra/probes/lttng-ftrace.ko): Invalid module format
> WARNING: Error inserting lttng_kprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kprobes.ko): Invalid module format
> WARNING: Error inserting lttng_kretprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kretprobes.ko): Invalid module 
> format
> WARNING: Error inserting ltt_relay  
> (/lib/modules/3.0.4/extra/ltt-relay.ko): Invalid module format
> FATAL: Error inserting ltt_ring_buffer_client_mmap_overwrite  
> (/lib/modules/3.0.4/extra/ltt-ring-buffer-client-mmap-overwrite.ko):  
> Invalid module format
> WARNING: Error inserting lttng_ftrace  
> (/lib/modules/3.0.4/extra/probes/lttng-ftrace.ko): Invalid module format
> WARNING: Error inserting lttng_kprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kprobes.ko): Invalid module format
> WARNING: Error inserting lttng_kretprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kretprobes.ko): Invalid module 
> format
> WARNING: Error inserting ltt_relay  
> (/lib/modules/3.0.4/extra/ltt-relay.ko): Invalid module format
> FATAL: Error inserting ltt_ring_buffer_metadata_mmap_client  
> (/lib/modules/3.0.4/extra/ltt-ring-buffer-metadata-mmap-client.ko):  
> Invalid module format
> WARNING: Error inserting lttng_ftrace  
> (/lib/modules/3.0.4/extra/probes/lttng-ftrace.ko): Invalid module format
> WARNING: Error inserting lttng_kprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kprobes.ko): Invalid module format
> WARNING: Error inserting lttng_kretprobes  
> (/lib/modules/3.0.4/extra/probes/lttng-kretprobes.ko): Invalid module 
> format
> WARNING: Error inserting ltt_relay  
> (/lib/modules/3.0.4/extra/ltt-relay.ko): Invalid module format
> FATAL: Error inserting lttng_probe_lttng  
> (/lib/modules/3.0.4/extra/probes/lttng-probe-lttng.ko): Invalid module  
> format
> FATAL: Error inserting lttng_probe_block  
> (/lib/modules/3.0.4/extra/probes/lttng-probe-block.ko): Invalid module  
> format
> FATAL: Error inserting lttng_probe_irq  
> (/lib/modules/3.0.4/extra/probes/lttng-probe-irq.ko): Invalid module 
> format
> FATAL: Error inserting lttng_probe_kvm  
> (/lib/modules/3.0.4/extra/probes/lttng-probe-kvm.ko): Invalid module 
> format
> FATAL: Error inserting lttng_probe_sched  
> (/lib/modules/3.0.4/extra/probes/lttng-probe-sched.ko): Invalid module  
> format
> Error: Unable to list kernel events
> Error: Kernel tracer not available
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list