Advertisement
RobertBerger

sumo+xenomai-3.0.7+tcf-agent+4.14.71 kernel

Oct 31st, 2018
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.48 KB | None | 0 0
  1. root@multi-v7-ml:~# strace /etc/init.d/tcf-agent start
  2. execve("/etc/init.d/tcf-agent", ["/etc/init.d/tcf-agent", "start"], 0xbef91de4 /* 13 vars */) = 0
  3. brk(NULL) = 0x10d000
  4. uname({sysname="Linux", nodename="multi-v7-ml", ...}) = 0
  5. mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ff4000
  6. access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
  7. openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  8. fstat64(3, {st_mode=S_IFREG|0644, st_size=100534, ...}) = 0
  9. mmap2(NULL, 100534, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6fdb000
  10. close(3) = 0
  11. openat(AT_FDCWD, "/lib/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3
  12. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\210_\300C4\0\0\0"..., 512) = 512
  13. fstat64(3, {st_mode=S_IFREG|0755, st_size=122644, ...}) = 0
  14. mmap2(0x43c00000, 186576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x43c00000
  15. mprotect(0x43c1c000, 61440, PROT_NONE) = 0
  16. mmap2(0x43c2b000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x43c2b000
  17. close(3) = 0
  18. openat(AT_FDCWD, "/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
  19. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0d\tgC4\0\0\0"..., 512) = 512
  20. fstat64(3, {st_mode=S_IFREG|0755, st_size=11156, ...}) = 0
  21. mmap2(0x43670000, 73916, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x43670000
  22. mprotect(0x43672000, 61440, PROT_NONE) = 0
  23. mmap2(0x43681000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x43681000
  24. close(3) = 0
  25. openat(AT_FDCWD, "/lib/tls/v7l/neon/vfp/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  26. stat64("/lib/tls/v7l/neon/vfp", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  27. openat(AT_FDCWD, "/lib/tls/v7l/neon/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  28. stat64("/lib/tls/v7l/neon", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  29. openat(AT_FDCWD, "/lib/tls/v7l/vfp/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  30. stat64("/lib/tls/v7l/vfp", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  31. openat(AT_FDCWD, "/lib/tls/v7l/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  32. stat64("/lib/tls/v7l", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  33. openat(AT_FDCWD, "/lib/tls/neon/vfp/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  34. stat64("/lib/tls/neon/vfp", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  35. openat(AT_FDCWD, "/lib/tls/neon/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  36. stat64("/lib/tls/neon", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  37. openat(AT_FDCWD, "/lib/tls/vfp/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  38. stat64("/lib/tls/vfp", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  39. openat(AT_FDCWD, "/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  40. stat64("/lib/tls", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  41. openat(AT_FDCWD, "/lib/v7l/neon/vfp/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  42. stat64("/lib/v7l/neon/vfp", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  43. openat(AT_FDCWD, "/lib/v7l/neon/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  44. stat64("/lib/v7l/neon", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  45. openat(AT_FDCWD, "/lib/v7l/vfp/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  46. stat64("/lib/v7l/vfp", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  47. openat(AT_FDCWD, "/lib/v7l/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  48. stat64("/lib/v7l", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  49. openat(AT_FDCWD, "/lib/neon/vfp/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  50. stat64("/lib/neon/vfp", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  51. openat(AT_FDCWD, "/lib/neon/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  52. stat64("/lib/neon", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  53. openat(AT_FDCWD, "/lib/vfp/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  54. stat64("/lib/vfp", 0xbef1a5e0) = -1 ENOENT (No such file or directory)
  55. openat(AT_FDCWD, "/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  56. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\34\207PC4\0\0\0"..., 512) = 512
  57. fstat64(3, {st_mode=S_IFREG|0755, st_size=1247540, ...}) = 0
  58. mmap2(0x434f0000, 1313392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x434f0000
  59. mprotect(0x4361c000, 61440, PROT_NONE) = 0
  60. mmap2(0x4362b000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12b000) = 0x4362b000
  61. mmap2(0x4362f000, 6768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4362f000
  62. close(3) = 0
  63. set_tls(0xb6ff52e0, 0xb6ff59d8, 0x434e1000, 0xb6ff52e0, 0x434e1000) = 0
  64. mprotect(0xee000, 4096, PROT_READ) = 0
  65. mprotect(0x43c2b000, 8192, PROT_READ) = 0
  66. mprotect(0x43681000, 4096, PROT_READ) = 0
  67. mprotect(0x4362b000, 8192, PROT_READ) = 0
  68. mprotect(0x434e0000, 4096, PROT_READ) = 0
  69. munmap(0xb6fdb000, 100534) = 0
  70. openat(AT_FDCWD, "/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
  71. close(3) = 0
  72. brk(NULL) = 0x10d000
  73. brk(0x12e000) = 0x12e000
  74. getuid32() = 0
  75. getgid32() = 0
  76. geteuid32() = 0
  77. getegid32() = 0
  78. gettimeofday({tv_sec=1530670979, tv_usec=519636}, NULL) = 0
  79. ioctl(-1, TIOCGPGRP, 0xbef1ab5c) = -1 EBADF (Bad file descriptor)
  80. sysinfo({uptime=32, loads=[15360, 4032, 1312], totalram=1044766720, freeram=984662016, sharedram=167936, bufferram=49152, totalswap=0, freeswap=0, procs=81, totalhigh=268435456, freehigh=234881024, mem_unit=1}) = 0
  81. rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
  82. rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x4351d2b0}, 8) = 0
  83. rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
  84. rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  85. rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
  86. rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  87. rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
  88. rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  89. rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
  90. rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  91. rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
  92. rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  93. rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
  94. rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  95. uname({sysname="Linux", nodename="multi-v7-ml", ...}) = 0
  96. stat64("/home/root", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
  97. stat64(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
  98. stat64("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  99. stat64("/home/root", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
  100. getpid() = 621
  101. getppid() = 619
  102. gettimeofday({tv_sec=1530670979, tv_usec=856831}, NULL) = 0
  103. getpid() = 621
  104. getpgrp() = 619
  105. ioctl(2, TIOCGPGRP, [619]) = 0
  106. rt_sigaction(SIGCHLD, {sa_handler=0x523b0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x4351d2b0}, 8) = 0
  107. ugetrlimit(RLIMIT_NPROC, {rlim_cur=7442, rlim_max=7442}) = 0
  108. openat(AT_FDCWD, "/etc/init.d/tcf-agent", O_RDONLY|O_LARGEFILE) = 3
  109. stat64("/etc/init.d/tcf-agent", {st_mode=S_IFREG|0755, st_size=1298, ...}) = 0
  110. ioctl(3, TCGETS, 0xbef1aafc) = -1 ENOTTY (Inappropriate ioctl for device)
  111. _llseek(3, 0, [0], SEEK_CUR) = 0
  112. read(3, "#!/bin/sh\n### BEGIN INIT INFO\n# "..., 80) = 80
  113. _llseek(3, 0, [0], SEEK_SET) = 0
  114. ugetrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
  115. fcntl64(255, F_GETFD) = -1 EBADF (Bad file descriptor)
  116. dup2(3, 255) = 255
  117. close(3) = 0
  118. fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
  119. fcntl64(255, F_GETFL) = 0x20000 (flags O_RDONLY|O_LARGEFILE)
  120. fstat64(255, {st_mode=S_IFREG|0755, st_size=1298, ...}) = 0
  121. _llseek(255, 0, [0], SEEK_CUR) = 0
  122. read(255, "#!/bin/sh\n### BEGIN INIT INFO\n# "..., 1298) = 1298
  123. pipe([3, 4]) = 0
  124. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  125. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  126. rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
  127. _llseek(255, -1038, [260], SEEK_CUR) = 0
  128. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb6ff4e88) = 622
  129. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  130. rt_sigaction(SIGCHLD, {sa_handler=0x523b0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x4351d2b0}, {sa_handler=0x523b0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x4351d2b0}, 8) = 0
  131. close(4) = 0
  132. read(3, "tcf-agent\n", 128) = 10
  133. read(3, "", 128) = 0
  134. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=622, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
  135. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 622
  136. wait4(-1, 0xbef1a388, WNOHANG, NULL) = -1 ECHILD (No child processes)
  137. sigreturn({mask=[]}) = 0
  138. close(3) = 0
  139. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  140. rt_sigaction(SIGINT, {sa_handler=0x4f15c, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  141. rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=0x4f15c, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  142. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  143. read(255, "\n. /etc/init.d/functions\n\ntest -"..., 1298) = 1038
  144. openat(AT_FDCWD, "/etc/init.d/functions", O_RDONLY|O_LARGEFILE) = 3
  145. fstat64(3, {st_mode=S_IFREG|0644, st_size=18597, ...}) = 0
  146. read(3, "# -*-Shell-script-*-\n#\n# functio"..., 18597) = 18597
  147. close(3) = 0
  148. rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
  149. umask(022) = 022
  150. stat64("/run/systemd/system", 0xbef1a288) = -1 ENOENT (No such file or directory)
  151. stat64("/dev/stderr", {st_mode=S_IFCHR|0600, st_rdev=makedev(207, 17), ...}) = 0
  152. stat64("/dev/stderr", {st_mode=S_IFCHR|0600, st_rdev=makedev(207, 17), ...}) = 0
  153. stat64("/sbin/consoletype", 0xbef1a1a8) = -1 ENOENT (No such file or directory)
  154. stat64("/etc/sysconfig/i18n", 0xbef1a278) = -1 ENOENT (No such file or directory)
  155. stat64("/etc/locale.conf", 0xbef1a270) = -1 ENOENT (No such file or directory)
  156. stat64("/etc/sysconfig/init", 0xbef1a1a8) = -1 ENOENT (No such file or directory)
  157. brk(0x14f000) = 0x14f000
  158. rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
  159. rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
  160. pipe([3, 4]) = 0
  161. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  162. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  163. rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
  164. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb6ff4e88) = 623
  165. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  166. rt_sigaction(SIGCHLD, {sa_handler=0x523b0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x4351d2b0}, {sa_handler=0x523b0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x4351d2b0}, 8) = 0
  167. close(4) = 0
  168. read(3, "console=ttymxc1,115200n8 ip=192."..., 128) = 128
  169. read(3, "t=192.168.42.102:/opt/poky/mira-"..., 128) = 98
  170. read(3, "", 128) = 0
  171. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=623, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  172. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 623
  173. wait4(-1, 0xbef19c78, WNOHANG, NULL) = -1 ECHILD (No child processes)
  174. sigreturn({mask=[]}) = 0
  175. close(3) = 0
  176. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  177. rt_sigaction(SIGINT, {sa_handler=0x4f15c, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  178. rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=0x4f15c, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  179. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  180. faccessat(AT_FDCWD, "/usr/sbin/tcf-agent", X_OK) = 0
  181. fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(207, 17), ...}) = 0
  182. ioctl(1, TCGETS, {B115200 opost isig icanon echo ...}) = 0
  183. write(1, "Starting tcf-agent: ", 20Starting tcf-agent: ) = 20
  184. rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
  185. rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
  186. rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
  187. _llseek(255, -14, [1284], SEEK_CUR) = 0
  188. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb6ff4e88) = 625
  189. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  190. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  191. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  192. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  193. rt_sigaction(SIGINT, {sa_handler=0x4f15c, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  194. wait4(-1,
  195.  
  196. >>>> here we are stuck for a couple of minutes <<<<
  197.  
  198. [ 347.110997] random: crng init done
  199.  
  200. >>>> do we maybe wait for the random/crng stuff ??? <<<<
  201.  
  202. [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 625
  203. rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=0x4f15c, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0
  204. x4351d2b0}, 8) = 0
  205. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  206. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=625, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
  207. wait4(-1, 0xbef1a1f8, WNOHANG, NULL) = -1 ECHILD (No child processes)
  208. sigreturn({mask=[]}) = 0
  209. write(1, "OK\n", 3OK
  210. ) = 3
  211. stat64(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
  212. stat64("/sbin/touch", 0xbef1a550) = -1 ENOENT (No such file or directory)
  213. stat64("/usr/sbin/touch", 0xbef1a550) = -1 ENOENT (No such file or directory)
  214. stat64("/bin/touch", {st_mode=S_IFREG|0755, st_size=77172, ...}) = 0
  215. stat64("/bin/touch", {st_mode=S_IFREG|0755, st_size=77172, ...}) = 0
  216. geteuid32() = 0
  217. getegid32() = 0
  218. getuid32() = 0
  219. getgid32() = 0
  220. access("/bin/touch", X_OK) = 0
  221. stat64("/bin/touch", {st_mode=S_IFREG|0755, st_size=77172, ...}) = 0
  222. geteuid32() = 0
  223. getegid32() = 0
  224. getuid32() = 0
  225. getgid32() = 0
  226. access("/bin/touch", R_OK) = 0
  227. stat64("/bin/touch", {st_mode=S_IFREG|0755, st_size=77172, ...}) = 0
  228. stat64("/bin/touch", {st_mode=S_IFREG|0755, st_size=77172, ...}) = 0
  229. geteuid32() = 0
  230. getegid32() = 0
  231. getuid32() = 0
  232. getgid32() = 0
  233. access("/bin/touch", X_OK) = 0
  234. stat64("/bin/touch", {st_mode=S_IFREG|0755, st_size=77172, ...}) = 0
  235. geteuid32() = 0
  236. getegid32() = 0
  237. getuid32() = 0
  238. getgid32() = 0
  239. access("/bin/touch", R_OK) = 0
  240. rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
  241. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb6ff4e88) = 633
  242. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  243. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  244. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  245. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  246. rt_sigaction(SIGINT, {sa_handler=0x4f15c, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  247. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 633
  248. rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, {sa_handler=0x4f15c, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x4351d2b0}, 8) = 0
  249. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  250. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=633, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
  251. wait4(-1, 0xbef1a210, WNOHANG, NULL) = -1 ECHILD (No child processes)
  252. sigreturn({mask=[]}) = 0
  253. read(255, "\nexit $RETVAL\n", 1298) = 14
  254. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  255. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  256. exit_group(0) = ?
  257. +++ exited with 0 +++
  258.  
  259. =======
  260. xenomai:
  261. root@multi-v7-ml:~# dmesg | grep random
  262. [ 0.022736] random: get_random_u32 called from bucket_table_alloc+0x110/0x23c with crng_init=0
  263. [ 5.120164] random: fast init done
  264. [ 5.883745] random: udevd: uninitialized urandom read (16 bytes read)
  265. [ 5.893875] random: udevd: uninitialized urandom read (16 bytes read)
  266. [ 5.904776] random: udevd: uninitialized urandom read (16 bytes read)
  267. [ 8.760638] urandom_read: 2 callbacks suppressed
  268. [ 8.760646] random: dd: uninitialized urandom read (512 bytes read)
  269. [ 9.431146] random: dbus-daemon: uninitialized urandom read (12 bytes read)
  270. [ 9.501441] random: dbus-daemon: uninitialized urandom read (12 bytes read)
  271. [ 9.778386] random: connmand: uninitialized urandom read (8 bytes read)
  272. [ 10.195638] random: sshd: uninitialized urandom read (32 bytes read)
  273. [ 373.111332] random: crng init done
  274. root@multi-v7-ml:~# uname -a
  275. Linux multi-v7-ml 4.14.71-xenomai-student-dirty #1 SMP Wed Oct 31 18:28:27 CET 2018 armv7l armv7l armv7l GNU/Linux
  276. root@multi-v7-ml:~#
  277. ======
  278. not xenomai:
  279. root@multi-v7-ml:~# dmesg | grep random
  280. [ 0.124678] random: get_random_u32 called from bucket_table_alloc+0x104/0x254 with crng_init=0
  281. [ 2.706942] random: fast init done
  282. [ 14.458354] random: udevd: uninitialized urandom read (16 bytes read)
  283. [ 14.472428] random: udevd: uninitialized urandom read (16 bytes read)
  284. [ 14.488806] random: udevd: uninitialized urandom read (16 bytes read)
  285. [ 15.547570] urandom_read: 1 callbacks suppressed
  286. [ 15.547585] random: udevd: uninitialized urandom read (16 bytes read)
  287. [ 23.173087] random: dd: uninitialized urandom read (512 bytes read)
  288. [ 24.683379] random: dbus-daemon: uninitialized urandom read (12 bytes read)
  289. [ 24.797186] random: dbus-daemon: uninitialized urandom read (12 bytes read)
  290. [ 25.168536] random: crng init done
  291. root@multi-v7-ml:~# uname -a
  292. Linux multi-v7-ml 4.14.47-custom-ml-debug #1 SMP Tue Jul 3 21:33:22 UTC 2018 armv7l armv7l armv7l GNU/Linux
  293. root@multi-v7-ml:~#
  294. =======
  295. another not xenomai:
  296. root@multi-v7-ml:~# dmesg | grep random
  297. [ 0.021354] random: get_random_u32 called from bucket_table_alloc+0x110/0x23c with crng_init=0
  298. [ 9.230111] random: fast init done
  299. [ 10.002102] random: udevd: uninitialized urandom read (16 bytes read)
  300. [ 10.012294] random: udevd: uninitialized urandom read (16 bytes read)
  301. [ 10.023286] random: udevd: uninitialized urandom read (16 bytes read)
  302. [ 12.905942] urandom_read: 2 callbacks suppressed
  303. [ 12.905948] random: dd: uninitialized urandom read (512 bytes read)
  304. [ 13.564992] random: dbus-daemon: uninitialized urandom read (12 bytes read)
  305. [ 13.633029] random: dbus-daemon: uninitialized urandom read (12 bytes read)
  306. [ 13.922393] random: connmand: uninitialized urandom read (8 bytes read)
  307. [ 14.354223] random: sshd: uninitialized urandom read (32 bytes read)
  308. [ 370.964456] random: crng init done
  309. root@multi-v7-ml:~# uname -a
  310. Linux multi-v7-ml 4.14.71-stable-student-dirty #1 SMP Wed Oct 31 17:44:53 CET 2018 armv7l armv7l armv7l GNU/Linux
  311. root@multi-v7-ml:~#
  312. =======
  313. ...
  314. Starting syslogd/klogd: done
  315. [ 14.904262] Bluetooth: Core ver 2.22
  316. [ 14.907937] NET: Registered protocol family 31
  317. [ 14.912387] Bluetooth: HCI device and connection manager initialized
  318. [ 14.918828] Bluetooth: HCI socket layer initialized
  319. [ 14.923722] Bluetooth: L2CAP socket layer initialized
  320. [ 14.928828] Bluetooth: SCO socket layer initialized
  321. * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
  322. Starting Telephony daemon
  323. Starting Mosquitto message broker mosquitto
  324. No kdump kernel image found.
  325. Starting Linux NFC daemon
  326. Starting crond: OK
  327. Starting tcf-agent:
  328.  
  329. >>>> takes a few minutes <<<<<
  330.  
  331. [ 370.964456] random: crng init done
  332. OK
  333. umount: /mnt/.psplash: not mounted.
  334.  
  335. Poky (Yocto Project Reference Distro) 2.5 multi-v7-ml /dev/ttymxc1
  336.  
  337. multi-v7-ml login: root
  338. ...
  339. =======
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement