[lttng-dev] problem starting trace on arm target

David Goulet david.goulet at polymtl.ca
Fri May 11 12:24:57 EDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Glad you fixed the problem!

It's no problem, don't hesitate to report problem you can't solve. It helps us
improve usability in some case or make things more user friendly.

Cheers!
David

On 11/05/12 07:48 AM, Fahad Usman wrote:
> Hi David, Thanks for the help. lttng-consumerd binary was actually not
> present at that path. I have placed it and now its working I can start
> tracing without any problems. Actually I was using  open embedded 
> (www.openembedded.org) framework to build lttng and other stuff. 
> lttng-consumerd binary is now moved to a path that's not very common, I had
> to add a rule to explicitly include consumerd into the file system.
> 
> The memory related problems still occur randomly, I am trying to find a
> definitive way to reproduce it
> 
> thanks for your support and sorry for making noise about something that was
> not actually a problem with lttng -- Fahad
> 
> 
> On Thu, May 10, 2012 at 7:43 PM, David Goulet <david.goulet at polymtl.ca>
> wrote: Hi Fahad,
> 
> So, it seems you don't have a consumer installed on your system that the 
> sessiond can access:
> 
> DEBUG3: Looking for a kernel consumer at these locations: [in 
> spawn_consumerd() at main.c:1678] DEBUG3:         1)  [in spawn_consumerd()
> at main.c:1679] DEBUG3:         2) /usr/lib/lttng/libexec/lttng-consumerd
> [in spawn_consumerd() at main.c:1680] DEBUG3:         3)
> /usr/lib/lttng/libexec/lttng-consumerd [in spawn_consumerd() at
> main.c:1681] PERROR: kernel start consumer exec: No such file or directory
> [in spawn_consumerd() at main.c:1795]
> 
> Also I'm starting to believe that you might have a memory limit problem
> since you are hitting this:
> 
> PERROR: sendmsg: Bad file descriptor [in lttcomm_send_unix_sock() at 
> sessiond-comm.c:310] PERROR: send consumer channel: Bad file descriptor
> [in send_kconsumer_session_streams() at main.c:636] PERROR: ioctl start
> session: No buffer space available [in kernel_start_session() at
> kernel.c:397]
> 
> Because of that, the kernel start session command on the tracer fails...
> Can you validate that you have enough memory during the commands ?
> 
> Moving the lttng-consumerd at the right location will at least help a bit
> :)
> 
> Thanks! David
> 
> On 09/05/12 11:30 AM, Fahad Usman wrote:
>>>> Hi David, here are the logs on the two terminals, Term1: 
>>>> http://pastebin.com/dYGCrGcb Term2: http://pastebin.com/4XCn4Asv
>>>> 
>>>> Please let me know if you want any other info from me.
>>>> 
>>>> -- Fahad
>>>> 
>>>> 
>>>> On Wed, May 9, 2012 at 6:08 PM, David Goulet <dgoulet at efficios.com>
>>>> wrote: Hi Fahad,
>>>> 
>>>> This is error is a bit peculiar...
>>>> 
>>>> Can you provide the full log of the session daemon like so.
>>>> 
>>>> (term1) # lttng-sessiond -vvv
>>>> 
>>>> (term2) the rest of the commands adding -vvv to "lttng" command
>>>> line.
>>>> 
>>>> Thanks! David
>>>> 
>>>> On 09/05/12 08:20 AM, Fahad Usman wrote:
>>>>>>> Hi, I am trying to use lttng-modules on an arm target, but when
>>>>>>> I try to start tracing I get some errors like PERROR: sendmsg:
>>>>>>> Bad file descriptor [in lttcomm_send_unix_sock() at
>>>>>>> sessiond-comm.c:310] PERROR: send consumer channel: Bad file
>>>>>>> descriptor [in send_kconsumer_session_streams() at main.c:636]
>>>>>>> please see pastebin (http://pastebin.com/ivnvQWa2) for complete
>>>>>>> logs
>>>>>>> 
>>>>>>> I am using Linux 2.6.38 on Freescale imx6 platform.
>>>>>>> Lttng-modules 2.0.2 and lttng-tools 2.0.1
>>>>>>> 
>>>>>>> -- Fahad
>>>>>>> 
>>>>>>> _______________________________________________ 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
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJPrT1ZAAoJEELoaioR9I022fgH/R75RcC57BA0NwXGGEBY4Run
2CwGpeEw9gb6lSSr6rM9Z/HBmsbQ71J0ecOWohg9fZ3xb+vDcT8csVB0Lnlb1+Pr
wSVLQpT3OALrLQJmQPt3ucAqpTQaILoU4h8JjKKhuzfXQbKl/bpPzZ1NLmLLYAWF
ODahqK5k/Nikm4G+MsFu9+5K6cBmlDTu6qcXIBoxfSWCzJEcFpjz7MAno78bXS34
ymFwnUKbwbYuZCWK/rR+TtknWC9KeXMylheLrb5QNtEEkiSafeZnZO+uOJirLrR3
/xhaKj0gvNylGKaZvxyD6+VaPH/2GmAzupiwbTWHUxSXywjh/z82ZRm6DdJxeHU=
=zLWd
-----END PGP SIGNATURE-----



More information about the lttng-dev mailing list