]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
during 1st pion-test ,mt
authorhadaq@countinghouse <hadaq@lxhadesdaq>
Fri, 25 Apr 2014 19:32:25 +0000 (21:32 +0200)
committerhadaq@countinghouse <hadaq@lxhadesdaq>
Fri, 25 Apr 2014 19:32:25 +0000 (21:32 +0200)
main/startup_briccolage.sh

index 5e070dda8a5e05f92420f9959cf7fa8d10ec143e..6cc3be3a986da3472bd51e08b8d638766d66f876 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+
 notifyall.sh "DAQ" "<I> DAQ is going to be restarted." "STARTUP" &
 
 #Stop monitoring scripts
@@ -6,7 +7,7 @@ notifyall.sh "DAQ" "<I> 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 "  <EB>      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 "  <Startup> Restart Monitoring"
  /home/hadaq/jan/crashlog.pl  #Log timeouts after restart
- nohup ssh hades33 "cd /home/hadaq/trbsoft/hadesdaq/hmon; ./start.sh &" </dev/null 1>/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 "  <Startup> Everything done. Closing window."
- disown
+ nohup ssh hades33 "cd /home/hadaq/trbsoft/hadesdaq/hmon; ./start.sh &" </dev/null &>/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 "  <Startup> Everything done. Closing window automatically after 10 seconds."
+ sleep 10;
+ #disown