hi all:
I cross compile below elements for arm successfully.
1. userspace-rcu-0.8.4
2. popt-1.16
3. lttng-ust-2.3.2
4. lttng-tools-2.3.2
5. lttng-modules-2.4.0

I follow execution steps:
1. lttng-sessiond -vvv &
2. ps (to check whether lttng-sessiond execute successfully)
3. lttng -vvv create /mtd_unirw/testsession, where "
/mtd_unirw/testsession" is rw area of my rootfs to save sessions

I met bellow messages
No session daemon is available

when I am checking the debug message when running lttng-sessiond, I
cannot find any error message.
And from ps, lttng-sessiond is running good.
(I attach my log for your reference)

did I miss any setting or should I open more debug message to find out
where I am wrong?

appreciate your kind help in advance,
VDLinux#> lttng-sessiond -vvv &
VDLinux#> DEBUG3 [155/155]: Creating LTTng run directory: /mtd_unirw (in create_lttng_rundir() at main.c:4165)
DEBUG2 [155/155]: Kernel consumer err path: /mtd_unirw/kconsumerd/error (in main() at main.c:4462)
DEBUG2 [155/155]: Kernel consumer cmd path: /mtd_unirw/kconsumerd/command (in main() at main.c:4464)
DEBUG1 [155/155]: Client socket path /mtd_unirw/client-lttng-sessiond (in main() at main.c:4517)
DEBUG1 [155/155]: Application socket path /mtd_unirw/lttng-ust-sock-5 (in main() at main.c:4518)
DEBUG1 [155/155]: Application wait path /lttng-ust-wait-5 (in main() at main.c:4519)
DEBUG1 [155/155]: LTTng run directory path: /mtd_unirw (in main() at main.c:4520)
DEBUG2 [155/155]: UST consumer 32 bits err path: /mtd_unirw/ustconsumerd32/error (in main() at main.c:4529)
DEBUG2 [155/155]: UST consumer 32 bits cmd path: /mtd_unirw/ustconsumerd32/command (in main() at main.c:4531)
DEBUG2 [155/155]: UST consumer 64 bits err path: /mtd_unirw/ustconsumerd64/error (in main() at main.c:4540)
DEBUG2 [155/155]: UST consumer 64 bits cmd path: /mtd_unirw/ustconsumerd64/command (in main() at main.c:4542)
DEBUG3 [155/155]: Created hashtable size 4 at 0x49a088 of type 1 (in lttng_ht_new() at hashtable.c:112)
DEBUG3 [155/155]: Created hashtable size 4 at 0x49a288 of type 1 (in lttng_ht_new() at hashtable.c:112)
DEBUG3 [155/155]: Created hashtable size 4 at 0x49a4b0 of type 1 (in lttng_ht_new() at hashtable.c:112)
DEBUG2 [155/155]: Creating consumer directory: /mtd_unirw/kconsumerd (in set_consumer_sockets() at main.c:4207)
DEBUG1 [155/155]: Modprobe successfully lttng-tracer (in modprobe_lttng_control() at modprobe.c:192)
DEBUG2 [155/155]: Kernel tracer version validated (major version 2) (in kernel_validate_version() at kernel.c:700)
DEBUG1 [155/155]: Modprobe successfully lttng-ftrace (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-kprobes (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-kretprobes (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-lib-ring-buffer (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-ring-buffer-client-discard (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-ring-buffer-client-overwrite (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-ring-buffer-metadata-client (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-ring-buffer-client-mmap-discard (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-ring-buffer-client-mmap-overwrite (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-ring-buffer-metadata-mmap-client (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-types (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-asoc (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-block (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-btrfs (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-compaction (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-ext3 (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-ext4 (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-gpio (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-irq (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-jbd (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-jbd2 (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-kmem (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-kvm (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-kvm-x86 (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-kvm-x86-mmu (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-lock (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-module (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-napi (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-net (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-power (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-printk (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-random (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-rcu (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-regmap (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-regulator (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-rpm (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-sched (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-scsi (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-signal (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-skb (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-sock (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-statedump (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-sunrpc (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-timer (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-udp (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-vmscan (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-workqueue (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Modprobe successfully lttng-probe-writeback (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [155/155]: Kernel tracer fd 6 (in init_kernel_tracer() at main.c:2337)
DEBUG2 [155/155]: Creating consumer directory: /mtd_unirw/ustconsumerd64 (in set_consumer_sockets() at main.c:4207)
DEBUG2 [155/155]: Creating consumer directory: /mtd_unirw/ustconsumerd32 (in set_consumer_sockets() at main.c:4207)
DEBUG1 [155/155]: Signal handler set for SIGTERM, SIGPIPE and SIGINT (in set_signal_handler() at main.c:4309)
DEBUG3 [155/155]: Session daemon client socket 9 and application socket 10 created (in init_daemon_socket() at main.c:4070)
Warning: No tracing group detected
DEBUG1 [155/155]: All permissions are set (in set_permissions() at main.c:4153)
DEBUG3 [155/155]: Created hashtable size 4 at 0x49b3f0 of type 2 (in lttng_ht_new() at hashtable.c:112)
DEBUG3 [155/155]: Global buffer per UID registry initialized (in buffer_reg_init_uid_registry() at buffer-registry.c:99)
DEBUG3 [155/155]: Created hashtable size 4 at 0x49b5d8 of type 2 (in lttng_ht_new() at hashtable.c:112)
DEBUG3 [155/155]: Global buffer per PID registry initialized (in buffer_reg_init_pid_registry() at buffer-registry.c:220)
DEBUG1 [155/155]: epoll set max size is 204905 (in compat_epoll_set_max_size() at compat-epoll.c:274)
DEBUG1 [155/155]: Command subsystem initialized (in cmd_init() at cmd.c:2882)
DEBUG1 [155/155]: Pid 155 written in file /mtd_unirw/lttng-sessiond.pid (in utils_create_pid_file() at utils.c:280)
DEBUG1 [155/155]: TCP inet operation timeout set to 216 sec (in lttcomm_inet_init() at inet.c:523)
DEBUG1 [155/155]: Health check time delta in seconds set to 236 (in health_init() at health.c:272)
DEBUG1 [155/254]: [ht-thread] startup. (in thread_ht_cleanup() at ht-cleanup.c:34)
DEBUG1 [155/255]: [thread] Manage health check started (in thread_manage_health() at main.c:3413)
DEBUG3 [155/254]: [ht-thread] Polling on 2 fds. (in thread_ht_cleanup() at ht-cleanup.c:58)
DEBUG1 [155/256]: [thread] Manage client started (in thread_manage_clients() at main.c:3616)
DEBUG1 [155/256]: Accepting client command ... (in thread_manage_clients() at main.c:3662)
DEBUG1 [155/257]: [thread] Dispatch UST command started (in thread_dispatch_ust_registration() at main.c:1504)
DEBUG1 [155/257]: Futex n to 1 prepare done (in futex_nto1_prepare() at futex.c:75)
DEBUG1 [155/257]: Woken up but nothing in the UST command queue (in thread_dispatch_ust_registration() at main.c:1527)
DEBUG1 [155/258]: [thread] Manage application registration started (in thread_registration_apps() at main.c:1727)
DEBUG1 [155/255]: Health check ready (in thread_manage_health() at main.c:3455)
DEBUG1 [155/258]: Notifying applications of session daemon state: 1 (in notify_ust_apps() at main.c:555)
DEBUG1 [155/259]: [thread] Manage application started (in thread_manage_apps() at main.c:1218)
DEBUG1 [155/259]: Apps thread polling on 2 fds (in thread_manage_apps() at main.c:1248)
DEBUG1 [155/260]: [ust-thread] Manage application notify command (in ust_thread_manage_notify() at ust-thread.c:37)
DEBUG3 [155/260]: [ust-thread] Manage notify polling on 2 fds (in ust_thread_manage_notify() at ust-thread.c:61)
DEBUG1 [155/261]: [thread] Thread manage kernel started (in thread_manage_kernel() at main.c:756)
DEBUG1 [155/261]: Updating kernel poll set (in update_kernel_poll() at main.c:616)
DEBUG1 [155/261]: Thread kernel polling on 2 fds (in thread_manage_kernel() at main.c:801)
DEBUG1 [155/258]: Got the wait shm fd 26 (in get_wait_shm() at shm.c:115)
DEBUG1 [155/258]: Futex wait update active 1 (in futex_wait_update() at futex.c:63)
DEBUG1 [155/258]: Accepting application registration (in thread_registration_apps() at main.c:1764)

VDLinux#> 
VDLinux#> 
VDLinux#> 
VDLinux#> [ 1][   31.291527] [CIP_KERNEL] a000085 authuld length is over 0xFFFF: check if authuld sign is added in rootfs 
[ 1][   31.301618] [CIP_KERNEL] /bin/authuld size is different (mac_gen:167772293, real:47688)
[ 1][   31.309972] [CIP_KERNEL] authuld authentication failed

VDLinux#> 
VDLinux#> 
VDLinux#> 
VDLinux#> ps
  PID USER       VSZ STAT COMMAND
    1 root      1696 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW<  [kworker/0:0H]
    6 root         0 SW   [kworker/u:0]
    7 root         0 SW<  [kworker/u:0H]
    8 root         0 SW   [migration/0]
    9 root         0 SW   [rcu_preempt]
   10 root         0 SW   [rcu_bh]
   11 root         0 SW   [rcu_sched]
   12 root         0 SW   [watchdog/0]
   13 root         0 SW   [watchdog/1]
   14 root         0 SW   [ksoftirqd/1]
   15 root         0 SW   [migration/1]
   16 root         0 SW   [kworker/1:0]
   17 root         0 SW<  [kworker/1:0H]
   18 root         0 SW   [watchdog/2]
   19 root         0 SW   [ksoftirqd/2]
   20 root         0 SW   [migration/2]
   21 root         0 SW   [kworker/2:0]
   22 root         0 SW<  [kworker/2:0H]
   23 root         0 SW   [watchdog/3]
   24 root         0 SW   [ksoftirqd/3]
   25 root         0 SW   [migration/3]
   26 root         0 SW   [kworker/3:0]
   27 root         0 SW<  [kworker/3:0H]
   28 root         0 SW<  [khelper]
   29 root         0 SW   [kworker/u:1]
   34 root         0 SW   [bdi-default]
   35 root         0 SW<  [kblockd]
   36 root         0 SW   [kdtvlogd]
   37 root         0 SW   [Kdbg_worker]
   38 root         0 SW   [kswapd0]
   45 root         0 SW<  [vdbinder]
   46 root         0 SW<  [deferwq]
   47 root         0 SW   [kworker/u:2]
   48 root         0 SW   [kworker/0:1]
   49 root         0 SW   [mmcqd/0]
   50 root         0 SW   [mmcqd/0boot0]
   51 root         0 SW   [mmcqd/0boot1]
   52 root         0 SW   [mmcqd/0rpmb]
   53 root         0 Z    [swapper/0]
   63 root      1700 S    -/bin/sh
   90 root         0 SW   [flush-179:0]
   91 root         0 SW<  [kworker/0:1H]
  110 root         0 SW   [kworker/3:1]
  112 root         0 SW   [kworker/1:1]
  114 root         0 SW   [kworker/2:1]
  155 root     19548 S    lttng-sessiond -vvv
  262 root      4228 R    ps
VDLinux#> 
VDLinux#> 
VDLinux#> 
VDLinux#> lttng -vvv create /mtd_unirw/testsession
DEBUG1 [263/263]: Session daemon at: //bin/lttng-sessiond (in check_sessiond() at lttng.c:364)
Spawning a session daemon
Warning: No tracing group detected
DEBUG1 [263/263]: SIGUSR1 caught (in sighandler() at lttng.c:187)
DEBUG3 [263/263]: URI string: file:////lttng-traces//mtd_unirw/testsession-19700101-000051 (in uri_parse() at uri.c:291)
DEBUG3 [263/263]: URI file destination: //lttng-traces//mtd_unirw/testsession-19700101-000051 (in uri_parse() at uri.c:328)
DEBUG3 [263/263]: URI dtype: 3, proto: 0, host: , subdir: , ctrl: 0, data: 0 (in uri_parse() at uri.c:505)
Error: No session daemon is available
DEBUG1 [263/263]: Clean exit (in clean_exit() at lttng.c:158)
VDLinux#> 
VDLinux#> 
VDLinux#> 
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to