A typical log would look like this (works for 5 or so seconds then stops):
Code:
Nov 5 23:10:56 dm820 user.warn kernel: [31258.608000] audio ch0: lock
Nov 5 23:10:56 dm820 user.warn kernel: [31258.608000] audio ch0: sample rate changed isr (48000)
Nov 5 23:10:56 dm820 user.warn kernel: [31258.608000] audio ch0: adjusting GA threshold to: 36ms
Nov 5 23:10:56 dm820 user.info astra[631]: [Abertis PID 703 #1] PMT: pnr: 1703
Nov 5 23:10:56 dm820 user.info astra[631]: [Abertis PID 703 #1] PMT: pid: 8191 PCR
Nov 5 23:10:56 dm820 user.info astra[631]: [Abertis PID 703 #1] PMT: CAS: caid: 0x2600 pid: 8191
Nov 5 23:10:56 dm820 user.info astra[631]: [Abertis PID 703 #1] PMT: Service: HSA-65U3
Nov 5 23:10:56 dm820 user.info astra[631]: [Abertis PID 703 #1] PMT: Provider: HSA-65U
Nov 5 23:10:56 dm820 user.info astra[631]: [Abertis PID 703 #1] DATA: pid: 703 type: User private (0x90)
Nov 5 23:10:56 dm820 user.info astra[631]: [Abertis PID 703 #1] DATA: descriptor: 0xFB06000900000000
Nov 5 23:10:56 dm820 user.info astra[631]: [Abertis PID 703 #1] PMT: crc32: 0x347205E4
Nov 5 23:10:56 dm820 user.err astra[631]: [Abertis PID 703 #1] Bitrate:21071Kbit/s PES:0 CC:3
Nov 5 23:10:57 dm820 user.warn kernel: [31259.218000] audio ch0: status ready isr
Nov 5 23:10:57 dm820 user.warn kernel: [31259.427000] VIDEO0: first pts 0x1b12a6f58
Nov 5 23:10:57 dm820 user.warn kernel: [31259.577000] VIDEO0: enable tsm
Nov 5 23:10:57 dm820 user.err astra[631]: [Abertis PID 703 #1] Bitrate:20021Kbit/s PES:0 CC:0
Nov 5 23:10:58 dm820 user.err astra[631]: [Abertis PID 703 #1] Bitrate:21561Kbit/s PES:0 CC:0
Nov 5 23:10:58 dm820 user.err astra[631]: [Abertis PID 703] Failed to switch to reserve
Nov 5 23:11:00 dm820 user.warn kernel: [31262.517000] rtc set to 1541455856
Nov 5 23:11:00 dm820 user.warn kernel: [31262.519000] rtc set to valid now
Nov 5 23:11:04 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 388 packets while waiting for child
Nov 5 23:11:05 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 187 packets while waiting for child
Nov 5 23:11:09 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 231 packets while waiting for child
Nov 5 23:11:11 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 563 packets while waiting for child
Nov 5 23:11:11 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 267 packets while waiting for child
Nov 5 23:11:16 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 639 packets while waiting for child
Nov 5 23:11:23 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 555 packets while waiting for child
Nov 5 23:11:27 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 211 packets while waiting for child
Nov 5 23:11:28 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 187 packets while waiting for child
Nov 5 23:11:30 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 235 packets while waiting for child
Nov 5 23:11:33 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 183 packets while waiting for child
Nov 5 23:11:35 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 563 packets while waiting for child
After a while it works again for up to 10 seconds, log:
Code:
Nov 5 23:12:34 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 983 packets while waiting for child
Nov 5 23:12:39 dm820 user.debug astra[631]: [child/pipe_xfrm Abertis PID 703 #1] stderr pipe got closed on far side
Nov 5 23:12:39 dm820 user.debug astra[631]: [child/pipe_xfrm Abertis PID 703 #1] caught signal 11 (Segmentation fault)
Nov 5 23:12:39 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] process exited with code 139; restarting in 5 seconds
Nov 5 23:12:44 dm820 user.debug astra[631]: [pipe_xfrm Abertis PID 703 #1] attempting restart...
Nov 5 23:12:44 dm820 user.debug astra[631]: [child/pipe_xfrm Abertis PID 703 #1] attempting to execute `/etc/astra/scripts/abertis 703'
Nov 5 23:12:44 dm820 user.info astra[631]: [pipe_xfrm Abertis PID 703 #1] process started (pid = 8786)
Nov 5 23:12:44 dm820 user.err astra[631]: [pipe_xfrm Abertis PID 703 #1] dropped 67584 packets while waiting for child
Segfault and code 139... on the autonomicas it works flawlessly.
The process
/etc/astra/scripts/abertis 703
gets a new PID every couple of seconds, so obviously it crashes and gets restarted all the time.
The box has
- 7.000 MIPS Dual Core Processor
- 4 GB Flash
- 2 GB RAM
Specs sound ok?
Memory use doesn't seem to be the problem as far as I can tell:
Code:
root@dm820:~# pmap -d 10231
10231: /etc/astra/scripts/abertis 703
Address Kbytes Mode Offset Device Mapping
00400000 4 r-x-- 0000000000000000 0b3:00001 abertis
00410000 4 rw--- 0000000000000000 0b3:00001 abertis
00bd8000 132 rwx-- 0000000000000000 000:00000 [ anon ]
76e84000 1288 r-x-- 0000000000000000 0b3:00001 libc-2.25.so
76fc6000 64 ----- 0000000000142000 0b3:00001 libc-2.25.so
76fd6000 12 r---- 0000000000142000 0b3:00001 libc-2.25.so
76fd9000 12 rw--- 0000000000145000 0b3:00001 libc-2.25.so
76fdc000 8 rw--- 0000000000000000 000:00000 [ anon ]
76fde000 128 r-x-- 0000000000000000 0b3:00001 ld-2.25.so
7700b000 8 rw--- 0000000000000000 000:00000 [ anon ]
7700d000 4 r---- 000000000001f000 0b3:00001 ld-2.25.so
7700e000 4 rw--- 0000000000020000 0b3:00001 ld-2.25.so
7ff40000 132 rwx-- 0000000000000000 000:00000 [ stack ]
7ffff000 4 r-x-- 0000000000000000 000:00000 [ anon ]
mapped: 1804K writeable/private: 300K shared: 0K
Is the code of the abertis executable available anywhere?