<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 14pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p>Dear friends,</p>
<p><br>
</p>
<p>I am trying to run two DAQ systems from a single server. For this I first copied the experiment folder, than compiled everything one the second RIO and finally did some adjustments to the settings.</p>
<p><br>
</p>
<p>The first system is started with the follwing command and runs just fine:</p>
<p><br>
</p>
<p></p>
<div><span style="font-size: 10pt;">../r3bfuser/build_cc_ppc-linux_4.2.2_debug/m_read_meb.drasi \</span><br>
<span style="font-size: 10pt;"> --triva=master,@0x02,fctime=10,ctime=300 \</span><br>
<span style="font-size: 10pt;"> --log-no-rate-limit \</span><br>
<span style="font-size: 10pt;"> --server=stream:8003 \</span><br>
<span style="font-size: 10pt;"> --server=drasi,dest=lyserv:7000 \</span><br>
<span style="font-size: 10pt;"> --buf=size=200Mi \</span><br>
<span style="font-size: 10pt;"> --max-ev-size=0x100000 \</span><br>
<span style="font-size: 10pt;"> --eb=lyserv:7000 \</span><br>
<span style="font-size: 10pt;"> --subev=crate=0,type=88,subtype=8800,control=0,procid=12 \</span><br>
<span style="font-size: 10pt;"> "$@"</span></div>
<br>
<p></p>
<p>For the second system (which is very similar) I tried to just increase the port numbers by 1000:</p>
<p><br>
</p>
<p></p>
<div><span style="font-size: 10pt;">../r3bfuser/build_cc_ppc-linux_4.2.2_debug/m_read_meb.drasi \</span><br>
<span style="font-size: 10pt;"> --triva=master,@0x02,fctime=10,ctime=300 \</span><br>
<span style="font-size: 10pt;"> --log-no-rate-limit \</span><br>
<span style="font-size: 10pt;"> --server=stream:9003 \</span><br>
<span style="font-size: 10pt;"> --server=drasi,dest=lyserv:8000 \</span><br>
<span style="font-size: 10pt;"> --buf=size=200Mi \</span><br>
<span style="font-size: 10pt;"> --max-ev-size=0x100000 \</span><br>
<span style="font-size: 10pt;"> --eb=lyserv:8000 \</span><br>
<span style="font-size: 10pt;"> --subev=crate=0,type=88,subtype=8800,control=0,procid=12 \</span><br>
<span style="font-size: 10pt;"> "$@"</span></div>
<p></p>
<p><br>
</p>
<p>In the various auxiliary scripts I also updated the ports numbers. For example in the event builder:</p>
<p><br>
</p>
<p></p>
<div><span style="font-size: 10pt;">../drasi/bin/lwrocmerge \</span><br>
<span style="font-size: 10pt;"> --label=EB \</span><br>
<span style="font-size: 10pt;"> --port=8000 \</span><br>
<span style="font-size: 10pt;"> --merge-mode=event \</span><br>
<span style="font-size: 10pt;"> --server=trans \</span><br>
<span style="font-size: 10pt;"> --server=stream,flush=1 \</span><br>
<span style="font-size: 10pt;"> --buf=size=500Mi \</span><br>
<span style="font-size: 10pt;"> --max-ev-size=1Mi \</span><br>
<span style="font-size: 10pt;"> --eb-master=rio4l-1 \</span><br>
<span style="font-size: 10pt;"> --drasi=rio4l-1 \</span><br>
<span style="font-size: 10pt;"> --file-writer \</span><br>
<span style="font-size: 10pt;"> "$@"</span></div>
<br>
<p></p>
<p>However, it seems that something is missing because the DAQ fails at startup:</p>
<p><br>
</p>
<p></p>
<div><span style="font-size: 10pt;">Executing 'main'.</span><br>
<span style="font-size: 10pt;">CPUS: 1</span><br>
<span style="font-size: 10pt;">delay: 1</span><br>
<span style="font-size: 10pt;">10: lwroc_hostname_util.c:109: Host 'lyserv' known as 192.168.1.1 (port: 8000).</span><br>
<span style="font-size: 10pt;">Message not logged - thread has no error buffer yet...</span><br>
<span style="font-size: 10pt;">CPUS: 1</span><br>
<span style="font-size: 10pt;">delay: 1</span><br>
<span style="font-size: 10pt;">10: lwroc_hostname_util.c:109: Host 'lyserv' known as 192.168.1.1 (port: 8000).</span><br>
<span style="font-size: 10pt;">Message not logged - thread has no error buffer yet...</span><br>
<span style="font-size: 10pt;">HOST: RIO4L-1</span><br>
<span style="font-size: 10pt;">Token: 21301afe (21301afe:21301afe) [/mbsusr/mbsdaq/.drasi_tokens/blub]</span><br>
<span style="font-size: 10pt;">10: lwroc_hostname_util.c:460: Own address: 192.168.1.71/255.255.255.0 (eth1).</span><br>
<span style="font-size: 10pt;">cfg: 'master,@0x02,fctime=10,ctime=300' => 33554432</span><br>
<span style="font-size: 10pt;">10: lwroc_data_pipe.c:146: Data buffer READOUT_PIPE, fmt LMD, size 209715200 = 0x0c800000, 3 consumers.</span><br>
<span style="font-size: 10pt;">10: lwroc_triva_readout.c:66: Silence TRIVA (HALT)</span><br>
<span style="font-size: 10pt;">10: lwroc_net_io.c:169: Started server on port 56583 (data port 34116).</span><br>
<span style="font-size: 10pt;">10: lwroc_net_trans.c:1808: [stream:9003] Started stream server on port 9003, data 56265.</span><br>
<span style="font-size: 10pt;">client union size: 244 240 188 508 640 204 204 => 640</span><br>
<span style="font-size: 10pt;">10: lwroc_udp_awaken_hints.c:159: UDP awaken hints file: /tmp/drasi.u1001/drasi.hints.u1001.RIO4L-1:56583</span><br>
<span style="font-size: 10pt;">10: lwroc_main.c:706: Log message rate limit not in effect.</span><br>
<span style="font-size: 10pt;">10: lwroc_readout.c:112: call readout_init...</span><br>
<span style="font-size: 10pt;">10: lwroc_thread_util.c:118: This is the triva control thread!</span><br>
<span style="font-size: 10pt;">10: lwroc_thread_util.c:118: This is the net io thread!</span><br>
<span style="font-size: 10pt;">10: lwroc_thread_util.c:118: This is the slow_async thread!</span><br>
<span style="font-size: 10pt;">10: lwroc_thread_util.c:118: This is the data server thread!</span><br>
<span style="font-size: 10pt;">8: lwroc_message_wait.c:86: Waited 1 seconds for msg client.</span><br>
<span style="font-size: 10pt;">8: lwroc_triva_state.c:414: Waited 1 seconds for initial slave and EB connection(s):</span><br>
<span style="font-size: 10pt;">8: lwroc_triva_state.c:422: [EB lyserv:8000] (state 0)</span><br>
<span style="font-size: 10pt;">10: lwroc_message_internal.c:485: Message client connected!</span><br>
<span style="font-size: 10pt;">8: lwroc_triva_state.c:414: Waited 5 seconds for initial slave and EB connection(s):</span><br>
<span style="font-size: 10pt;">8: lwroc_triva_state.c:422: [EB lyserv:8000] (state 0)</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">8: lwroc_triva_state.c:414: Waited 10 seconds for initial slave and EB connection(s):</span><br>
<span style="font-size: 10pt;">8: lwroc_triva_state.c:422: [EB lyserv:8000] (state 0)</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">8: lwroc_triva_state.c:414: Waited 20 seconds for initial slave and EB connection(s):</span><br>
<span style="font-size: 10pt;">8: lwroc_triva_state.c:422: [EB lyserv:8000] (state 0)</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">8: lwroc_triva_state.c:414: Waited 40 seconds for initial slave and EB connection(s):</span><br>
<span style="font-size: 10pt;">8: lwroc_triva_state.c:422: [EB lyserv:8000] (state 0)</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">10: lwroc_net_outgoing.c:383: [revlink: lyserv:8000] Timeout waiting for outgoing link establishment.</span><br>
<span style="font-size: 10pt;">^C8: lwroc_main.c:105: SIGINT received.</span><br>
<span style="font-size: 10pt;">10: lwroc_thread_util.c:62: Set terminate first! (main)</span><br>
<span style="font-size: 10pt;">10: lwroc_thread_util.c:82: main thread done! (Next term: data server)</span><br>
<span style="font-size: 10pt;">10: lwroc_thread_util.c:82: data server thread done! (Next term: slow_async)</span><br>
<span style="font-size: 10pt;">10: lwroc_thread_util.c:82: slow_async thread done! (Next term: net io)</span><br>
<span style="font-size: 10pt;">10: lwroc_thread_util.c:82: net io thread done! (Next term: triva control)</span><br>
<span style="font-size: 10pt;">Performing hardware cleanup (TRIVA HALT, RESET)...</span></div>
<br>
<p></p>
<p>I would really appreciate if you could give me a hint what is going on. Many thanks!</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Best greetings</p>
<p>Günter<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<br>
</div>
</body>
</html>