[lttng-dev] Errors using lttng-modules v2.0-pre11
Mathieu Desnoyers
compudj at krystal.dyndns.org
Wed Jan 25 14:13:51 EST 2012
* Bernd Hufmann (Bernd.Hufmann at ericsson.com) wrote:
> Hi
>
> the last problem seems to be a problem with lttng-tools v2.0_pre18.
> After reverting to version lttng-tools v2.0_pre17 the problem is gone.
> Could someone look into that?
make sure you pull latest git head from both lttng-tools and
lttng-modules.
Best regards,
Mathieu
>
> BR
> Bernd
>
>
> On 01/25/2012 11:07 AM, Bernd Hufmann wrote:
>> Hi Mathieu
>>
>> Thanks, for the info.
>>
>> I did as you suggested. Now I get the following error for "sudo lttng
>> list -k"
>>
>> Spawning a session daemon
>> FATAL: Module lttng_tracer not found.
>> FATAL: Module lttng_tracer not found.
>> Error: Unable to list kernel events
>> Error: Kernel tracer not available
>>
>> BTW, /lib/modules/3.0.4/build points to /usr/src/linux-3.0.4, so I
>> think this is fine.
>>
>> Please let me know how to continue.
>>
>> BR,
>> Bernd
>>
>>
>> On 01/25/2012 10:30 AM, Mathieu Desnoyers wrote:
>>> * 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
>>>>
>>
>> _______________________________________________
>> 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