Hi Mathieu,

Please find the info below as per your comments


########## Output of  command "arm-none-linux-gnueabi-lttng-sessiond -vvv " , 
After loading the modules #######

DEBUG3: Creating LTTng run directory: /var/run/lttng [in create_lttng_rundir() 
at main.c:4315]
DEBUG2: Kernel consumer err path: /var/run/lttng/kconsumerd/error [in main() at 
main.c:4543]
DEBUG2: Kernel consumer cmd path: /var/run/lttng/kconsumerd/command [in main() 
at main.c:4545]
DEBUG1: Client socket path /var/run/lttng/client-lttng-sessiond [in main() at 
main.c:4592]
DEBUG1: Application socket path /var/run/lttng/apps-lttng-sessiond [in main() 
at main.c:4593]
DEBUG1: LTTng run directory path: /var/run/lttng [in main() at main.c:4594]
DEBUG2: UST consumer 32 bits err path: /var/run/lttng/ustconsumerd32/error [in 
main() at main.c:4603]
DEBUG2: UST consumer 32 bits cmd path: /var/run/lttng/ustconsumerd32/command 
[in main() at main.c:4605]
DEBUG2: UST consumer 64 bits err path: /var/run/lttng/ustconsumerd64/error [in 
main() at main.c:4614]
DEBUG2: UST consumer 64 bits cmd path: /var/run/lttng/ustconsumerd64/command 
[in main() at main.c:4616]
DEBUG3: Created hashtable size 4 at 0x4a080 of type 1 [in lttng_ht_new() at 
hashtable.c:96]
DEBUG3: Created hashtable size 4 at 0x4a168 of type 1 [in lttng_ht_new() at 
hashtable.c:96]
DEBUG2: Creating consumer directory: /var/run/lttng/kconsumerd [in 
set_consumer_sockets() at main.c:4357]
FATAL: Module lttng_tracer not found.
Error: Unable to load module lttng-tracer
DEBUG2: Kernel tracer version validated (major version 2) [in 
kernel_validate_version() at kernel.c:675]
DEBUG1: Modprobe successfully lttng-ftrace [in modprobe_lttng_data() at 
modprobe.c:199]
DEBUG1: Modprobe successfully lttng-kprobes [in modprobe_lttng_data() at 
modprobe.c:199]
DEBUG1: Modprobe successfully lttng-kretprobes [in modprobe_lttng_data() at 
modprobe.c:199]
FATAL: Module lttng_lib_ring_buffer not found.
Error: Unable to load module lttng-lib-ring-buffer
FATAL: Module lttng_ring_buffer_client_discard not found.
Error: Unable to load module lttng-ring-buffer-client-discard
FATAL: Module lttng_ring_buffer_client_overwrite not found.
Error: Unable to load module lttng-ring-buffer-client-overwrite
FATAL: Module lttng_ring_buffer_metadata_client not found.
Error: Unable to load module lttng-ring-buffer-metadata-client
FATAL: Module lttng_ring_buffer_client_mmap_discard not found.
Error: Unable to load module lttng-ring-buffer-client-mmap-discard
FATAL: Module lttng_ring_buffer_client_mmap_overwrite not found.
Error: Unable to load module lttng-ring-buffer-client-mmap-overwrite
FATAL: Module lttng_ring_buffer_metadata_mmap_client not found.
Error: Unable to load module lttng-ring-buffer-metadata-mmap-client
FATAL: Module lttng_probe_lttng not found.
Error: Unable to load module lttng-probe-lttng
DEBUG1: Modprobe successfully lttng-types [in modprobe_lttng_data() at 
modprobe.c:199]
DEBUG1: Modprobe successfully lttng-probe-block [in modprobe_lttng_data() at 
modprobe.c:199]
DEBUG1: Modprobe successfully lttng-probe-irq [in modprobe_lttng_data() at 
modprobe.c:199]
DEBUG1: Modprobe successfully lttng-probe-kvm [in modprobe_lttng_data() at 
modprobe.c:199]
DEBUG1: Modprobe successfully lttng-probe-sched [in modprobe_lttng_data() at 
modprobe.c:199]
DEBUG1: Modprobe successfully lttng-probe-signal [in modprobe_lttng_data() at 
modprobe.c:199]
DEBUG1: Modprobe successfully lttng-probe-statedump [in modprobe_lttng_data() 
at modprobe.c:199]
DEBUG1: Modprobe successfully lttng-probe-timer [in modprobe_lttng_data() at 
modprobe.c:199]
DEBUG1: Kernel tracer fd 6 [in init_kernel_tracer() at main.c:1887]
DEBUG2: Creating consumer directory: /var/run/lttng/ustconsumerd64 [in 
set_consumer_sockets() at main.c:4357]
DEBUG2: Creating consumer directory: /var/run/lttng/ustconsumerd32 [in 
set_consumer_sockets() at main.c:4357]
DEBUG1: Signal handler set for SIGTERM, SIGPIPE and SIGINT [in 
set_signal_handler() at main.c:4449]
DEBUG1: All permissions are set [in set_permissions() at main.c:4250]
DEBUG1: poll set max size set to 65535 [in compat_poll_set_max_size() at 
compat-poll.c:196]
DEBUG1: [thread] Manage client started [in thread_manage_clients() at 
main.c:3794]
DEBUG1: fd 3 of 1 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: fd 9 of 2 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:3826]
DEBUG1: [thread] Dispatch UST command started [in 
thread_dispatch_ust_registration() at main.c:1324]
DEBUG1: Futex n to 1 prepare done [in futex_nto1_prepare() at futex.c:73]
DEBUG1: Woken up but nothing in the UST command queue [in 
thread_dispatch_ust_registration() at main.c:1334]
DEBUG1: Thread manage kernel started [in thread_manage_kernel() at main.c:876]
DEBUG1: fd 3 of 1 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: fd 11 of 2 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: Updating kernel poll set [in update_kernel_poll() at main.c:748]
DEBUG1: Thread kernel polling on 2 fds [in thread_manage_kernel() at main.c:905]
DEBUG1: [thread] Manage application started [in thread_manage_apps() at 
main.c:1179]
DEBUG1: fd 3 of 1 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: fd 13 of 2 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: Apps thread polling on 2 fds [in thread_manage_apps() at main.c:1200]
DEBUG1: [thread] Manage application registration started [in 
thread_registration_apps() at main.c:1392]
DEBUG1: fd 3 of 1 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: fd 10 of 2 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: Notifying applications of session daemon state: 1 [in notify_ust_apps() 
at main.c:687]
DEBUG1: Got the wait shm fd 15 [in get_wait_shm() at shm.c:117]
DEBUG1: Futex wait update active 1 [in futex_wait_update() at futex.c:62]
DEBUG1: Accepting application registration [in thread_registration_apps() at 
main.c:1423]



#### Output of  command "arm-none-linux-gnueabi-lttng-sessiond -vvv "  before 
loading the modules #############

DEBUG3: Creating LTTng run directory: /var/run/lttng [in create_lttng_rundir() 
at main.c:4315]
DEBUG2: Kernel consumer err path: /var/run/lttng/kconsumerd/error [in main() at 
main.c:4543]
DEBUG2: Kernel consumer cmd path: /var/run/lttng/kconsumerd/command [in main() 
at main.c:4545]
DEBUG1: Client socket path /var/run/lttng/client-lttng-sessiond [in main() at 
main.c:4592]
DEBUG1: Application socket path /var/run/lttng/apps-lttng-sessiond [in main() 
at main.c:4593]
DEBUG1: LTTng run directory path: /var/run/lttng [in main() at main.c:4594]
DEBUG2: UST consumer 32 bits err path: /var/run/lttng/ustconsumerd32/error [in 
main() at main.c:4603]
DEBUG2: UST consumer 32 bits cmd path: /var/run/lttng/ustconsumerd32/command 
[in main() at main.c:4605]
DEBUG2: UST consumer 64 bits err path: /var/run/lttng/ustconsumerd64/error [in 
main() at main.c:4614]
DEBUG2: UST consumer 64 bits cmd path: /var/run/lttng/ustconsumerd64/command 
[in main() at main.c:4616]
DEBUG3: Created hashtable size 4 at 0x4a080 of type 1 [in lttng_ht_new() at 
hashtable.c:96]
DEBUG3: Created hashtable size 4 at 0x4a168 of type 1 [in lttng_ht_new() at 
hashtable.c:96]
DEBUG2: Creating consumer directory: /var/run/lttng/kconsumerd [in 
set_consumer_sockets() at main.c:4357]
FATAL: Module lttng_tracer not found.
Error: Unable to load module lttng-tracer
DEBUG1: Failed to open /proc/lttng [in init_kernel_tracer() at main.c:1871]
Error: Unable to remove module lttng-tracer
Warning: No kernel tracer available
DEBUG2: Creating consumer directory: /var/run/lttng/ustconsumerd64 [in 
set_consumer_sockets() at main.c:4357]
DEBUG2: Creating consumer directory: /var/run/lttng/ustconsumerd32 [in 
set_consumer_sockets() at main.c:4357]
DEBUG1: Signal handler set for SIGTERM, SIGPIPE and SIGINT [in 
set_signal_handler() at main.c:4449]
DEBUG1: All permissions are set [in set_permissions() at main.c:4250]
DEBUG1: poll set max size set to 65535 [in compat_poll_set_max_size() at 
compat-poll.c:196]
DEBUG1: [thread] Manage application started [in thread_manage_apps() at 
main.c:1179]
DEBUG1: fd 3 of 1 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: fd 12 of 2 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: Apps thread polling on 2 fds [in thread_manage_apps() at main.c:1200]
DEBUG1: Thread manage kernel started [in thread_manage_kernel() at main.c:876]
DEBUG1: fd 3 of 1 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: fd 10 of 2 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: Updating kernel poll set [in update_kernel_poll() at main.c:748]
DEBUG1: Thread kernel polling on 2 fds [in thread_manage_kernel() at main.c:905]
DEBUG1: [thread] Manage application registration started [in 
thread_registration_apps() at main.c:1392]
DEBUG1: fd 3 of 1 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: fd 9 of 2 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: Notifying applications of session daemon state: 1 [in notify_ust_apps() 
at main.c:687]
DEBUG1: [thread] Dispatch UST command started [in 
thread_dispatch_ust_registration() at main.c:1324]
DEBUG1: Futex n to 1 prepare done [in futex_nto1_prepare() at futex.c:73]
DEBUG1: Woken up but nothing in the UST command queue [in 
thread_dispatch_ust_registration() at main.c:1334]
DEBUG1: [thread] Manage client started [in thread_manage_clients() at 
main.c:3794]
DEBUG1: fd 3 of 1 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: fd 8 of 2 added to pollfd [in compat_poll_add() at compat-poll.c:91]
DEBUG1: Accepting client command ... [in thread_manage_clients() at main.c:3826]
DEBUG1: Got the wait shm fd 14 [in get_wait_shm() at shm.c:117]
DEBUG1: Futex wait update active 1 [in futex_wait_update() at futex.c:62]
DEBUG1: Accepting application registration [in thread_registration_apps() at 
main.c:1423]


Regards,
Pavan

-----Original Message-----
From: Mathieu Desnoyers [mailto:mathieu.desnoy...@efficios.com]
Sent: Saturday, June 09, 2012 6:03 PM
To: Pavan Anumula
Cc: lttng-dev@lists.lttng.org
Subject: Re: [lttng-dev] Lttng start failed

* Pavan Anumula (pavan.anum...@sasken.com) wrote:
> Hi Mathue,
>
> Thanks for the quick reply,
>
> After inserting lttng modules , I had given the command  
> "arm-none-linux-gnueabi-lttng-sessiond -vvv"  as you said, Below is the 
> output where there are error messages. Please help me in resolving the issue, 
> SO that I can catch kernel and user traces.
>
>
> root@arago:/usr/lttng/modules# arm-none-linux-gnueabi-lttng-sessiond
> -d root@arago:/usr/lttng/modules#
> arm-none-linux-gnueabi-lttng-sessiond -vvv
> DEBUG3: Creating LTTng run directory: /var/run/lttng [in
> create_lttng_rundir() at main.c:4315]
> DEBUG2: Kernel consumer err path: /var/run/lttng/kconsumerd/error [in
> main() at main.c:4543]
> DEBUG2: Kernel consumer cmd path: /var/run/lttng/kconsumerd/command
> [in main() at main.c:4545]
> DEBUG1: Client socket path /var/run/lttng/client-lttng-sessiond [in
> main() at main.c:4592]
> DEBUG1: Application socket path /var/run/lttng/apps-lttng-sessiond [in
> main() at main.c:4593]
> DEBUG1: LTTng run directory path: /var/run/lttng [in main() at
> main.c:4594]
> DEBUG2: UST consumer 32 bits err path:
> /var/run/lttng/ustconsumerd32/error [in main() at main.c:4603]
> DEBUG2: UST consumer 32 bits cmd path:
> /var/run/lttng/ustconsumerd32/command [in main() at main.c:4605]
> DEBUG2: UST consumer 64 bits err path:
> /var/run/lttng/ustconsumerd64/error [in main() at main.c:4614]
> DEBUG2: UST consumer 64 bits cmd path:
> /var/run/lttng/ustconsumerd64/command [in main() at main.c:4616]
> Error: Already running daemon.

Please kill the lttng-sessiond that is already started (the one with -d). 
Instead of that one, run the sessiond with:

lttng-sessiond -vvv

(don't run lttng-sessiond -d before)

Thanks,

Mathieu

>
>
>
>
> Thanks in advance,
> Pavan
>
> -----Original Message-----
> From: Mathieu Desnoyers [mailto:mathieu.desnoy...@efficios.com]
> Sent: Friday, June 08, 2012 11:12 PM
> To: Pavan Anumula
> Cc: lttng-dev@lists.lttng.org
> Subject: Re: [lttng-dev] Lttng start failed
>
> * Pavan Anumula (pavan.anum...@sasken.com) wrote:
> > Hi ,
> >
> > I am new to LTTng usage, I am trying to use LTTng 2.0.1 and 
> > LTTng-modules-2.0.2  for ARM(omapL138), with Linux kernel 2.6.33 wit RT-29 
> > patch on it.
> >
> > After enabling all the kernel events I am facing the below errors. I loaded 
> > all the modules manually by insmod.
> >
> >
> >
> > root@arago:~/lttng-traces# arm-none-linux-gnueabi-lttng create
> > newsessiom Session newsessiom created.
> > Traces will be written in
> > /home/root/lttng-traces/newsessiom-20110325-154922
> >
> > root@arago:~/lttng-traces# arm-none-linux-gnueabi-lttng enable-event
> > -a --kernel All kernel events are enabled in channel channel0
> >
> > root@arago:~/lttng-traces# arm-none-linux-gnueabi-lttng start
> > LTTng: Failure to write metadata to buffers (timeout)
> > Error: Starting kernel trace failed
> >
> > Please kindly help me on this.
>
> I think you should look into the lttng-sessiond --help :
>
>       --consumerd32-path PATH     Specify path for the 32-bit UST consumer 
> daemon binary
>       --consumerd32-libdir PATH   Specify path for the 32-bit UST consumer 
> daemon libraries
>       --consumerd64-path PATH     Specify path for the 64-bit UST consumer 
> daemon binary
>       --consumerd64-libdir PATH   Specify path for the 64-bit UST consumer 
> daemon libraries
>
> options. My guess is that lttng-sessiond is not able to find the consumerd 
> binary files, maybe due to a rename or because they have been moved after 
> install.
>
> One more thing that might help is to launch the lttng-sessiond with "-vvv" : 
> it will provide verbose output and let us know where things fall apart.
>
> Thanks,
>
> Mathieu
>
>
> >
> >
> > Thanks in advance,
> > Pavan
> >
> > ________________________________
> > SASKEN BUSINESS DISCLAIMER: This message may contain confidential, 
> > proprietary or legally privileged information. In case you are not the 
> > original intended Recipient of the message, you must not, directly or 
> > indirectly, use, disclose, distribute, print, or copy any part of this 
> > message and you are requested to delete it and inform the sender. Any views 
> > expressed in this message are those of the individual sender unless 
> > otherwise stated. Nothing contained in this message shall be construed as 
> > an offer or acceptance of any offer by Sasken Communication Technologies 
> > Limited ("Sasken") unless sent with that express intent and with due 
> > authority of Sasken. Sasken has taken enough precautions to prevent the 
> > spread of viruses. However the company accepts no liability for any damage 
> > caused by any virus transmitted by this email.
> > Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html
>
> > _______________________________________________
> > lttng-dev mailing list
> > lttng-dev@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

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

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

Reply via email to