Guest User

fan_control strace

a guest
Dec 7th, 2017
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. write(2, "[fan_control.c:273] ", 20) = 20
  2. write(2, "4\n", 2) = 2
  3. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  4. rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
  5. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  6. nanosleep({1, 0}, 0x7ffefe94ed30) = 0
  7. write(2, "[fan_control.c:273] ", 20) = 20
  8. write(2, "3\n", 2) = 2
  9. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  10. rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
  11. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  12. nanosleep({1, 0}, 0x7ffefe94ed30) = 0
  13. write(2, "[fan_control.c:273] ", 20) = 20
  14. write(2, "2\n", 2) = 2
  15. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  16. rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
  17. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  18. nanosleep({1, 0}, 0x7ffefe94ed30) = 0
  19. write(2, "[fan_control.c:273] ", 20) = 20
  20. write(2, "1\n", 2) = 2
  21. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  22. rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
  23. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  24. nanosleep({1, 0}, 0x7ffefe94ed30) = 0
  25. eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 3
  26. epoll_create1(EPOLL_CLOEXEC) = 4
  27. timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC) = 5
  28. epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=10297400, u64=10297400}}) = 0
  29. write(3, "\1\0\0\0\0\0\0\0", 8) = 8
  30. epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLERR, {u32=10297412, u64=10297412}}) = 0
  31. socket(AF_UNIX, SOCK_STREAM, 0) = 6
  32. epoll_ctl(4, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP|EPOLLET, {u32=10298512, u64=10298512}}) = 0
  33. connect(6, {sa_family=AF_UNIX, sun_path="/var/run/wdtms.sock"}, 21) = 0
  34. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999981000}}, {it_interval={0, 0}, it_value={0, 0}}) = 0
  35. ioctl(6, FIONBIO, [1]) = 0
  36. sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=169}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 169
  37. epoll_wait(4, [{EPOLLIN, {u32=10297400, u64=10297400}}], 128, 0) = 1
  38. epoll_wait(4, [], 128, 0) = 0
  39. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999991000}}, {it_interval={0, 0}, it_value={4, 999368768}}) = 0
  40. recvmsg(6, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
  41. epoll_wait(4, [{EPOLLIN, {u32=10298512, u64=10298512}}], 128, -1) = 1
  42. recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 282
  43. epoll_wait(4, [], 128, 0) = 0
  44. shutdown(6, SHUT_RDWR) = 0
  45. close(6) = 0
  46. close(4) = 0
  47. close(5) = 0
  48. close(3) = 0
  49. open("/tmp/board_temperature", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
  50. fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
  51. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f09d15e5000
  52. write(3, "31\n0\n", 5) = 5
  53. close(3) = 0
  54. munmap(0x7f09d15e5000, 4096) = 0
  55. access("/tmp/system_busy", F_OK) = -1 ENOENT (No such file or directory)
  56. socket(AF_UNIX, SOCK_STREAM, 0) = 3
  57. fcntl(3, F_SETFD, FD_CLOEXEC) = 0
  58. connect(3, {sa_family=AF_UNIX, sun_path="/var/run/xmldb_sock"}, 110) = 0
  59. sendto(3, "\1\0\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 22, MSG_NOSIGNAL, NULL, 0) = 22
  60. sendto(3, "/runtime/hd_sleep\0", 18, MSG_NOSIGNAL, NULL, 0) = 18
  61. select(4, [3], NULL, NULL, NULL) = 1 (in [3])
  62. read(3, "0\0", 32) = 2
  63. close(3) = 0
  64. write(2, "[fan_control.c:424] ", 20) = 20
  65. write(2, "standby_flag=0\n", 15) = 15
  66. pipe2([3, 4], O_CLOEXEC) = 0
  67. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f09d15d4a10) = 30328
  68. close(4) = 0
  69. fcntl(3, F_SETFD, 0) = 0
  70. fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  71. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f09d15e5000
  72. read(3, "sda\n", 4096) = 4
  73. close(3) = 0
  74. wait4(30328, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 30328
  75. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30328, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  76. munmap(0x7f09d15e5000, 4096) = 0
  77. eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 3
  78. epoll_create1(EPOLL_CLOEXEC) = 4
  79. timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC) = 5
  80. epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=10295800, u64=10295800}}) = 0
  81. write(3, "\1\0\0\0\0\0\0\0", 8) = 8
  82. epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLERR, {u32=10295812, u64=10295812}}) = 0
  83. socket(AF_UNIX, SOCK_STREAM, 0) = 6
  84. epoll_ctl(4, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP|EPOLLET, {u32=10295904, u64=10295904}}) = 0
  85. connect(6, {sa_family=AF_UNIX, sun_path="/var/run/wdtms.sock"}, 21) = 0
  86. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999983000}}, {it_interval={0, 0}, it_value={0, 0}}) = 0
  87. ioctl(6, FIONBIO, [1]) = 0
  88. sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=212}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 212
  89. epoll_wait(4, [{EPOLLIN, {u32=10295800, u64=10295800}}], 128, 0) = 1
  90. epoll_wait(4, [], 128, 0) = 0
  91. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999993000}}, {it_interval={0, 0}, it_value={4, 999422282}}) = 0
  92. recvmsg(6, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
  93. epoll_wait(4, [{EPOLLIN, {u32=10295904, u64=10295904}}], 128, -1) = 1
  94. recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 286
  95. epoll_wait(4, [], 128, 0) = 0
  96. shutdown(6, SHUT_RDWR) = 0
  97. close(6) = 0
  98. close(4) = 0
  99. close(5) = 0
  100. close(3) = 0
  101. write(2, "[fan_control.c:511] ", 20) = 20
  102. write(2, "HD1 temperature 32\n", 19) = 19
  103. socket(AF_UNIX, SOCK_STREAM, 0) = 3
  104. fcntl(3, F_SETFD, FD_CLOEXEC) = 0
  105. connect(3, {sa_family=AF_UNIX, sun_path="/var/run/xmldb_sock_sysinfo"}, 110) = 0
  106. sendto(3, "\2\0\26\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\36\317\t\177", 22, MSG_NOSIGNAL, NULL, 0) = 22
  107. sendto(3, "/disks/disk:1/temp 32\0", 22, MSG_NOSIGNAL, NULL, 0) = 22
  108. read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 22) = 22
  109. close(3) = 0
  110. socket(AF_UNIX, SOCK_STREAM, 0) = 3
  111. fcntl(3, F_SETFD, FD_CLOEXEC) = 0
  112. connect(3, {sa_family=AF_UNIX, sun_path="/var/run/xmldb_sock_sysinfo"}, 110) = 0
  113. sendto(3, "\2\0\32\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\36\317\t\177", 22, MSG_NOSIGNAL, NULL, 0) = 22
  114. sendto(3, "/disks/disk:1/over_temp 0\0", 26, MSG_NOSIGNAL, NULL, 0) = 26
  115. read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 22) = 22
  116. close(3) = 0
  117. pipe2([3, 4], O_CLOEXEC) = 0
  118. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f09d15d4a10) = 30330
  119. close(4) = 0
  120. fcntl(3, F_SETFD, 0) = 0
  121. fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  122. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f09d15e5000
  123. read(3, "sdb\n", 4096) = 4
  124. close(3) = 0
  125. wait4(30330, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 30330
  126. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30330, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  127. munmap(0x7f09d15e5000, 4096) = 0
  128. eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 3
  129. epoll_create1(EPOLL_CLOEXEC) = 4
  130. timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC) = 5
  131. epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=10298264, u64=10298264}}) = 0
  132. write(3, "\1\0\0\0\0\0\0\0", 8) = 8
  133. epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLERR, {u32=10298276, u64=10298276}}) = 0
  134. socket(AF_UNIX, SOCK_STREAM, 0) = 6
  135. epoll_ctl(4, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP|EPOLLET, {u32=10295712, u64=10295712}}) = 0
  136. connect(6, {sa_family=AF_UNIX, sun_path="/var/run/wdtms.sock"}, 21) = 0
  137. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999982000}}, {it_interval={0, 0}, it_value={0, 0}}) = 0
  138. ioctl(6, FIONBIO, [1]) = 0
  139. sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=212}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 212
  140. epoll_wait(4, [{EPOLLIN, {u32=10298264, u64=10298264}}], 128, 0) = 1
  141. epoll_wait(4, [], 128, 0) = 0
  142. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999993000}}, {it_interval={0, 0}, it_value={4, 999391543}}) = 0
  143. recvmsg(6, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
  144. epoll_wait(4, [{EPOLLIN, {u32=10295712, u64=10295712}}], 128, -1) = 1
  145. recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 286
  146. epoll_wait(4, [], 128, 0) = 0
  147. shutdown(6, SHUT_RDWR) = 0
  148. close(6) = 0
  149. close(4) = 0
  150. close(5) = 0
  151. close(3) = 0
  152. write(2, "[fan_control.c:511] ", 20) = 20
  153. write(2, "HD2 temperature 32\n", 19) = 19
  154. socket(AF_UNIX, SOCK_STREAM, 0) = 3
  155. fcntl(3, F_SETFD, FD_CLOEXEC) = 0
  156. connect(3, {sa_family=AF_UNIX, sun_path="/var/run/xmldb_sock_sysinfo"}, 110) = 0
  157. sendto(3, "\2\0\26\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\36\317\t\177", 22, MSG_NOSIGNAL, NULL, 0) = 22
  158. sendto(3, "/disks/disk:2/temp 32\0", 22, MSG_NOSIGNAL, NULL, 0) = 22
  159. read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 22) = 22
  160. close(3) = 0
  161. socket(AF_UNIX, SOCK_STREAM, 0) = 3
  162. fcntl(3, F_SETFD, FD_CLOEXEC) = 0
  163. connect(3, {sa_family=AF_UNIX, sun_path="/var/run/xmldb_sock_sysinfo"}, 110) = 0
  164. sendto(3, "\2\0\32\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\36\317\t\177", 22, MSG_NOSIGNAL, NULL, 0) = 22
  165. sendto(3, "/disks/disk:2/over_temp 0\0", 26, MSG_NOSIGNAL, NULL, 0) = 26
  166. read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 22) = 22
  167. close(3) = 0
  168. pipe2([3, 4], O_CLOEXEC) = 0
  169. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f09d15d4a10) = 30332
  170. close(4) = 0
  171. fcntl(3, F_SETFD, 0) = 0
  172. fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  173. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f09d15e5000
  174. read(3, "sdc\n", 4096) = 4
  175. close(3) = 0
  176. wait4(30332, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 30332
  177. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30332, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  178. munmap(0x7f09d15e5000, 4096) = 0
  179. eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 3
  180. epoll_create1(EPOLL_CLOEXEC) = 4
  181. timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC) = 5
  182. epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=10298568, u64=10298568}}) = 0
  183. write(3, "\1\0\0\0\0\0\0\0", 8) = 8
  184. epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLERR, {u32=10298580, u64=10298580}}) = 0
  185. socket(AF_UNIX, SOCK_STREAM, 0) = 6
  186. epoll_ctl(4, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP|EPOLLET, {u32=10295712, u64=10295712}}) = 0
  187. connect(6, {sa_family=AF_UNIX, sun_path="/var/run/wdtms.sock"}, 21) = 0
  188. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999981000}}, {it_interval={0, 0}, it_value={0, 0}}) = 0
  189. ioctl(6, FIONBIO, [1]) = 0
  190. sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=212}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 212
  191. epoll_wait(4, [{EPOLLIN, {u32=10298568, u64=10298568}}], 128, 0) = 1
  192. epoll_wait(4, [], 128, 0) = 0
  193. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999990000}}, {it_interval={0, 0}, it_value={4, 999245789}}) = 0
  194. recvmsg(6, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
  195. epoll_wait(4, [{EPOLLIN, {u32=10295712, u64=10295712}}], 128, -1) = 1
  196. recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 286
  197. epoll_wait(4, [], 128, 0) = 0
  198. shutdown(6, SHUT_RDWR) = 0
  199. close(6) = 0
  200. close(4) = 0
  201. close(5) = 0
  202. close(3) = 0
  203. write(2, "[fan_control.c:511] ", 20) = 20
  204. write(2, "HD3 temperature 32\n", 19) = 19
  205. socket(AF_UNIX, SOCK_STREAM, 0) = 3
  206. fcntl(3, F_SETFD, FD_CLOEXEC) = 0
  207. connect(3, {sa_family=AF_UNIX, sun_path="/var/run/xmldb_sock_sysinfo"}, 110) = 0
  208. sendto(3, "\2\0\26\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\36\317\t\177", 22, MSG_NOSIGNAL, NULL, 0) = 22
  209. sendto(3, "/disks/disk:3/temp 32\0", 22, MSG_NOSIGNAL, NULL, 0) = 22
  210. read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 22) = 22
  211. close(3) = 0
  212. socket(AF_UNIX, SOCK_STREAM, 0) = 3
  213. fcntl(3, F_SETFD, FD_CLOEXEC) = 0
  214. connect(3, {sa_family=AF_UNIX, sun_path="/var/run/xmldb_sock_sysinfo"}, 110) = 0
  215. sendto(3, "\2\0\32\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\36\317\t\177", 22, MSG_NOSIGNAL, NULL, 0) = 22
  216. sendto(3, "/disks/disk:3/over_temp 0\0", 26, MSG_NOSIGNAL, NULL, 0) = 26
  217. read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 22) = 22
  218. close(3) = 0
  219. pipe2([3, 4], O_CLOEXEC) = 0
  220. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f09d15d4a10) = 30334
  221. close(4) = 0
  222. fcntl(3, F_SETFD, 0) = 0
  223. fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  224. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f09d15e5000
  225. read(3, "sdd\n", 4096) = 4
  226. close(3) = 0
  227. wait4(30334, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 30334
  228. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30334, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  229. munmap(0x7f09d15e5000, 4096) = 0
  230. eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 3
  231. epoll_create1(EPOLL_CLOEXEC) = 4
  232. timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC) = 5
  233. epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=10298536, u64=10298536}}) = 0
  234. write(3, "\1\0\0\0\0\0\0\0", 8) = 8
  235. epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLERR, {u32=10298548, u64=10298548}}) = 0
  236. socket(AF_UNIX, SOCK_STREAM, 0) = 6
  237. epoll_ctl(4, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP|EPOLLET, {u32=10295712, u64=10295712}}) = 0
  238. connect(6, {sa_family=AF_UNIX, sun_path="/var/run/wdtms.sock"}, 21) = 0
  239. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999981000}}, {it_interval={0, 0}, it_value={0, 0}}) = 0
  240. ioctl(6, FIONBIO, [1]) = 0
  241. sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=212}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 212
  242. epoll_wait(4, [{EPOLLIN, {u32=10298536, u64=10298536}}], 128, 0) = 1
  243. epoll_wait(4, [], 128, 0) = 0
  244. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999993000}}, {it_interval={0, 0}, it_value={4, 999485047}}) = 0
  245. recvmsg(6, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
  246. epoll_wait(4, [{EPOLLIN, {u32=10295712, u64=10295712}}], 128, -1) = 1
  247. recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 286
  248. epoll_wait(4, [], 128, 0) = 0
  249. shutdown(6, SHUT_RDWR) = 0
  250. close(6) = 0
  251. close(4) = 0
  252. close(5) = 0
  253. close(3) = 0
  254. write(2, "[fan_control.c:511] ", 20) = 20
  255. write(2, "HD4 temperature 32\n", 19) = 19
  256. socket(AF_UNIX, SOCK_STREAM, 0) = 3
  257. fcntl(3, F_SETFD, FD_CLOEXEC) = 0
  258. connect(3, {sa_family=AF_UNIX, sun_path="/var/run/xmldb_sock_sysinfo"}, 110) = 0
  259. sendto(3, "\2\0\26\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\36\317\t\177", 22, MSG_NOSIGNAL, NULL, 0) = 22
  260. sendto(3, "/disks/disk:4/temp 32\0", 22, MSG_NOSIGNAL, NULL, 0) = 22
  261. read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 22) = 22
  262. close(3) = 0
  263. socket(AF_UNIX, SOCK_STREAM, 0) = 3
  264. fcntl(3, F_SETFD, FD_CLOEXEC) = 0
  265. connect(3, {sa_family=AF_UNIX, sun_path="/var/run/xmldb_sock_sysinfo"}, 110) = 0
  266. sendto(3, "\2\0\32\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\36\317\t\177", 22, MSG_NOSIGNAL, NULL, 0) = 22
  267. sendto(3, "/disks/disk:4/over_temp 0\0", 26, MSG_NOSIGNAL, NULL, 0) = 26
  268. read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 22) = 22
  269. close(3) = 0
  270. write(2, "[fan_control.c:1939] ", 21) = 21
  271. write(2, "current board temperature is 31\n", 32) = 32
  272. write(2, "[fan_control.c:1940] ", 21) = 21
  273. write(2, "current hdd temperature is 32\n", 30) = 30
  274. write(2, "[fan_control.c:656] ", 20) = 20
  275. write(2, "temperature=32\n", 15) = 15
  276. eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 3
  277. epoll_create1(EPOLL_CLOEXEC) = 4
  278. timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC) = 5
  279. epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=10298472, u64=10298472}}) = 0
  280. write(3, "\1\0\0\0\0\0\0\0", 8) = 8
  281. epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLERR, {u32=10298484, u64=10298484}}) = 0
  282. socket(AF_UNIX, SOCK_STREAM, 0) = 6
  283. epoll_ctl(4, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP|EPOLLET, {u32=10295712, u64=10295712}}) = 0
  284. connect(6, {sa_family=AF_UNIX, sun_path="/var/run/wdtms.sock"}, 21) = 0
  285. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999984000}}, {it_interval={0, 0}, it_value={0, 0}}) = 0
  286. ioctl(6, FIONBIO, [1]) = 0
  287. sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=202}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 202
  288. epoll_wait(4, [{EPOLLIN, {u32=10298472, u64=10298472}}], 128, 0) = 1
  289. epoll_wait(4, [], 128, 0) = 0
  290. timerfd_settime(5, 0, {it_interval={0, 0}, it_value={4, 999993000}}, {it_interval={0, 0}, it_value={4, 999483271}}) = 0
  291. recvmsg(6, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
  292. epoll_wait(4, [{EPOLLIN, {u32=10295712, u64=10295712}}], 128, -1) = 1
  293. recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version=\"1.0\" encoding=\"ut"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 253
  294. epoll_wait(4, [], 128, 0) = 0
  295. shutdown(6, SHUT_RDWR) = 0
  296. close(6) = 0
  297. close(4) = 0
  298. close(5) = 0
  299. close(3) = 0
  300. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
  301. sendto(3, "\t\1\0\1\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377 \0\0\0"..., 160, 0, {sa_family=AF_INET, sin_port=htons(24629), sin_addr=inet_addr("127.0.0.1")}, 16) = 160
  302. select(4, [3], NULL, NULL, {6, 0}) = 1 (in [3], left {5, 999997})
  303. recvfrom(3, "\t\1\2\1\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377 \0\0\0"..., 160, 0, {sa_family=AF_INET, sin_port=htons(24629), sin_addr=inet_addr("127.0.0.1")}, [16]) = 160
  304. close(3) = 0
  305. write(2, "[fan_control.c:887] ", 20) = 20
  306. write(2, "calculate temperature=32\n", 25) = 25
  307. write(2, "[fan_control.c:890] ", 20) = 20
  308. write(2, "WD daemon send alert\n", 21) = 21
  309. write(2, "[fan_control.c:268] ", 20) = 20
  310. write(2, "sleep duration is 60\n", 21) = 21
  311. write(2, "[fan_control.c:273] ", 20) = 20
  312. write(2, "60\n", 3) = 3
  313. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  314. rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
  315. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  316. nanosleep({1, 0}, 0x7ffefe94ed30) = 0
  317. write(2, "[fan_control.c:273] ", 20) = 20
  318. write(2, "59\n", 3) = 3
  319. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  320. rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
  321. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  322. nanosleep({1, 0}, 0x7ffefe94ed30) = 0
  323. write(2, "[fan_control.c:273] ", 20) = 20
  324. write(2, "58\n", 3) = 3
  325. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  326. rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
  327. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  328. nanosleep({1, 0}, 0x7ffefe94ed30) = 0
  329. write(2, "[fan_control.c:273] ", 20) = 20
  330. write(2, "57\n", 3) = 3
  331. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
RAW Paste Data