[lttng-dev] Fwd: lttng issue

Michael Jeanson mjeanson at efficios.com
Wed Jul 12 10:34:08 EDT 2023


On 2023-07-12 09:24, Mathieu Desnoyers via lttng-dev wrote:
> On 7/10/23 13:28, Bala Gundeboina via lttng-dev wrote:
>>
>>
>> Hi ,
>>       i have copied the dependencies that i have installed on TDA4 evm board 
>> and i have copied  the dependency to the TI board and i getting below error 
>> , i found the were this lock will create but in that folder(/var/run/lttng) 
>> no lock file is present.
>> lttng create my-kernel-session --output=/home/root/
>> Spawning a session daemon
>> Warning: Failed to produce a random seed using getrandom(), falling back to 
>> pseudo-random device seed generation which will block until its pool is 
>> initialized: Failed to get true random data using getre
> 
> The issue appears to be caused by failure to obtain peudo-random numbers with 
> getrandom(), so there may be something missing on your system in that area. 
> Running lttng-sessiond under strace may help figure out exactly how this is 
> failing.

getrandom() requires Linux 3.17 and glibc 2.25, this warning is common on old 
enterprise linux distros.

> 
> Also providing the output of lttng-sessiond in verbose mode would be helpful 
> (lttng-sessiond -vvv).
> 
> Thanks,
> 
> Mathieu
> 
> 
>> PERROR - 15:35:47.868588025 [Main]: remove lock file: No such file or 
>> directory (in sessiond_cleanup_lock_file() at main.cpp:955)
>> Error: Session daemon terminated with an error (exit status: 1)
>> Error: Problem occurred while launching session daemon (//bin/lttng-sessiond)
>>
>> Can you please sort it out and is there any dependency i am missing:
>> sudo cp -Par bin/lttng /media/bala/root/bin/
>> sudo cp -Par bin/lttng-sessiond /media/bala/root/bin/
>> sudo cp -Par lib/liblttng-ctl.so /media/bala/root/lib/
>> sudo cp -Par lib/liblttng-ctl.so.0 /media/bala/root/lib/
>> sudo cp -Par lib/liblttng-ctl.so.0.0.0 /media/bala/root/lib/
>> sudo cp -Par lib/liblttng-ust-ctl.so.5 /media/bala/root/lib/
>> sudo cp -Par lib/librt.so.1 /media/bala/root/lib/
>> sudo cp -Par lib/librt-2.30.so /media/bala/root/lib/
>> sudo cp -Par lib/libm-2.30.so /media/bala/root/lib/
>> sudo cp -Par lib/libm.so.6 /media/bala/root/lib/
>> sudo cp -aPr liburcu-common.so.8 /media/bala/root1/usr/lib/
>> sudocp -aPr liburcu-common.so /media/bala/root1/usr/lib/
>> sudo cp -aPr liburcu-common.so.8.1.0 /media/bala/root1/usr/lib/
>>
>> sudo cp -Par lib/libgcc_s.so /media/bala/root/lib/
>> sudo cp -Par lib/libgcc_s.so.1 /media/bala/root/lib/
>> sudo cp -Par lib/libpthread-2.30.so /media/bala/root/lib/
>> sudo cp -Par lib/libpthread.so.0 /media/bala/root/lib/
>> sudo cp -Par lib/libc.so.6 /media/bala/root/lib/
>> sudo cp -Par lib/libdl.so.2 /media/bala/root/lib/
>> sudo cp -Par lib/libdl-2.30.so /media/bala/root/lib/
>> sudo cp -Par lib/libz.so.1 /media/bala/root/lib/
>> sudo cp -Par lib/libz.so.1.2.11 /media/bala/root/lib/
>> sudo cp -Par lib/ld-linux-aarch64.so.1 /media/bala/root/lib/
>> sudo cp -Par lib/ld-2.30.so /media/bala/root/lib
>> sudo cp -aPr liburcu-cds.so /media/bala/root1/usr/lib/
>> sudo cp -aPr liburcu-cds.so.8 /media/bala/root1/usr/
>> sudo cp -aPr liburcu-cds.so.8.1.0 /media/bala/root1/usr/lib/
>>
>>
>> sudo cp -Par lib/liblttng-ust-common.so /media/bala/root/lib/
>> sudo cp -Par lib/liblttng-ust-ctl.so.5.0.0 /media/bala/root/lib/
>> sudo cp -Par lib/liblttng-ust-common.so.1.0.0 /media/bala/root/lib/
>> sudo cp -Par usr/lib/libstdc++.so /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/libstdc++.so.6 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/libstdc++.so.6.0.28 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/libxml2.so /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/libxml2.so.2 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/libxml2.so.2.9.10 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/libpopt.so /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/libpopt.so.0 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/libpopt.so.0.0.0 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/libpopt.so.0.0.2 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/liburcu.so /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/liburcu.so.8 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/liburcu.so.8.1.0 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/liburcu-cds.so.8 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/liburcu-common.so.8 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/liburcu-cds.so.8.1.0 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/liburcu-common.so.8.1.0 /media/bala/root/usr/lib/
>> sudo cp -Par usr/local/local/lib/libnuma.so.1 /media/bala/root/usr/lib/
>> sudo cp -Par usr/local/local/lib/libnuma.so.1.0.0 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/libkmod.so.2.3.4 /media/bala/root/usr/lib/
>> sudo cp -Par usr/lib/libkmod.so.2 /media/bala/root/usr/lib/
>>
>>
>> Thanks & Regards
>> Bala G
>>
>>
>> This message contains information that may be privileged or confidential and 
>> is the property of the KPIT Technologies Ltd. It is intended only for the 
>> person to whom it is addressed. If you are not the intended recipient, you 
>> are not authorized to read, print, retain copy, disseminate, distribute, or 
>> use this message or any part thereof. If you receive this message in error, 
>> please notify the sender immediately and delete all copies of this message. 
>> KPIT Technologies Ltd. does not accept any liability for virus infected mails.
>>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> 



More information about the lttng-dev mailing list