From: hadaq@countinghouse Date: Fri, 25 Apr 2014 19:32:25 +0000 (+0200) Subject: during 1st pion-test ,mt X-Git-Tag: pre2018~85 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=ec8913e085d19f980df00d8789e14f4266885d1a;p=hadesdaq.git during 1st pion-test ,mt --- diff --git a/main/startup_briccolage.sh b/main/startup_briccolage.sh index 5e070dd..6cc3be3 100755 --- a/main/startup_briccolage.sh +++ b/main/startup_briccolage.sh @@ -1,4 +1,5 @@ #!/bin/bash + notifyall.sh "DAQ" " DAQ is going to be restarted." "STARTUP" & #Stop monitoring scripts @@ -6,7 +7,7 @@ notifyall.sh "DAQ" " DAQ is going to be restarted." "STARTUP" & ssh hades33 "cd /home/hadaq/trbsoft/hadesdaq/hmon; ./stop.sh" & ssh hades33 "killall -USR1 speakdaemon.pl" & killall mdc_calibration_masks.pl; - + #Stop Eventbuilder echo " Killing EB, scheduling restart"; @@ -48,6 +49,9 @@ switchport.pl 0x1003 5 off # 2012-10-5: 06:50 removed, busy several times. #switchport.pl 0x1052 3 off #0x214a +#2014-04-16 frquent reinits +switchport.pl 0x1151 8 off #2257 + #Retransmission on as early as possible trbcmd setbit 0xfffd 0x22 0x08000000 #enable retransmission on oep trbcmd setbit 0xfe11 0x22 0x08000000 #enable retransmission on mdchub @@ -63,9 +67,10 @@ switchport.pl 0x1003 5 off #startup for MDC-tests time ./startup.pl -f main_hades.script -eb off -o file \ - -m TOF -m RPC -m WALL -m RICH -m SHOWER \ + -m TOF -m RPC -m NOWALL -m RICH -m NOSHOWER \ -m STARTCTS -m NORESET -m CONFIGONLY -m MON_CTS \ - -m MDC -m MDCreg0current -m MDCnomasks -m MDCDATASET -m MDCindiv + -m NOMDC + # -m MDC -m MDCreg0current -m MDCnomasks -m MDCDATASET -m MDCindiv ######################################## ### DO NOT CHANGE ANY MDC SETTINGS HERE - without changing them in reviveoep.pl as well!!!!!! @@ -79,8 +84,10 @@ switchport.pl 0x1003 5 off trbcmd w 0x0003 0xa0f3 0xff1 -/home/hadaq/trbsoft/hadesdaq/utils/move_doublecpu_irq.sh & -scp /home/hadaq/oper/daq2ora/daq2ora_current.txt hades33:/home/hadaq/trbsoft/hadesdaq/hmon/files/ & +#/home/hadaq/trbsoft/hadesdaq/utils/move_doublecpu_irq.sh &>/dev/null & +/home/hadaq/trbsoft/hadesdaq/utils/move_doublecpu_irq.sh & + +scp /home/hadaq/oper/daq2ora/daq2ora_current.txt hades33:/home/hadaq/trbsoft/hadesdaq/hmon/files/ 1>/dev/null & #Start-up finished @@ -90,11 +97,13 @@ scp /home/hadaq/oper/daq2ora/daq2ora_current.txt hades33:/home/hadaq/trbsoft/had #Start Monitoring echo " Restart Monitoring" /home/hadaq/jan/crashlog.pl #Log timeouts after restart - nohup ssh hades33 "cd /home/hadaq/trbsoft/hadesdaq/hmon; ./start.sh &" /dev/null 2>/dev/null & - nohup /home/hadaq/trbsoft/hadesdaq/utils/mdc_calibration_masks.pl & - nohup ssh hades33 "sleep 20; killall -USR2 speakdaemon.pl" 1>/dev/null 2>/dev/null & - echo " Everything done. Closing window." - disown + nohup ssh hades33 "cd /home/hadaq/trbsoft/hadesdaq/hmon; ./start.sh &" /dev/null & + nohup /home/hadaq/trbsoft/hadesdaq/utils/mdc_calibration_masks.pl &>/dev/null & + nohup ssh hades33 "sleep 20; killall -USR2 speakdaemon.pl" &>/dev/null & + echo " Everything done. Closing window automatically after 10 seconds." + sleep 10; + #disown +