Difference between revisions of "G2p Remote Crate Resets"

From Hall A Wiki
Jump to: navigation, search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
There are a few ways to reboot and reset g2p DAQ crates.
+
==Remote Crate Resets==
  
==Quick Resets==
+
The following is mainly about how to remotely reset the crates when the crates get hung up, and cannot be rebooted.
  
Problems with CODA 2.6.1 can usually be solved with a simple Reset (<< in rcgui) or with a Cold Start. '''Call an expert if you are stuck. Do NOT waste an hour stuck on resets.''' <br>
+
=====ROC1/ROC2/ROC6=====
  
If you reboot the ROC, or if something on the workstation is hung up, try pushing the ”Reset” button in runcontrol (<<” in rcgui). Then Configure, Download, and Start a run as usual.
+
* Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
If a “quick” reset doesn’t work, try a Cold Start (see below)
+
 
+
==Remote Crate Resets==
+
 
+
===ROC1/ROC2/ROC6===
+
 
+
* Type "reboot" in the portserver terminal window. Another possibility is to type "ctrl-X" at the vxWorks prompt when typing reboot does not work.
+
 
* If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "SFI (Fastbus ROC1 and ROC2) #1" and click on "click to reset" button. After rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.
+
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "SFI (Fastbus ROC1 and ROC2) #1" and click on "click to reset" button. After rebooting, in the runcontrol GUI, click Reset, click Download, and then start a run.
* If doing above doesn't help, then under "Resets from the Electron Detector Stack (right) Crate" look for "Lower Fastbus AC" and click on "click to reset" button.For ROC1,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document below [[https://hallaweb.jlab.org/wiki/index.php/Rebooting_and_Resetting#Special_Note_on_ROC3.2FROC1]].
+
* If doing above doesn't help, then under "Resets from the Electron Detector Stack (right) Crate" look for "Lower Fastbus AC" and click on "click to reset" button.For ROC1,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document below.
* If it still doesn't help, you can try a cold restart,see instruction below.
+
  
===TS0===
+
=====TS0=====
  
* Type "reboot" in the portserver terminal window. Another possibility is to type "ctrl-X" at the vxWorks prompt when typing reboot does not work.
+
* Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
 
* If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "Trigger Supervisor" and click on "click to reset" button.  
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "Trigger Supervisor" and click on "click to reset" button.  
* After rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.
+
* After rebooting, in the runcontrol GUI, click Abort, click Download, and then start a run.
* If it still doesn't help, you can try a cold restart,see instruction below.
+
  
=== ROC 26 ===
+
=====ROC26=====
  
* Type "reboot" in the portserver terminal window. Another possibility is to type "ctrl-X" at the vxWorks prompt when typing reboot does not work.
+
* Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
 
* If doing above doesn't help then direct a webbrowser to [http://hareboot32 hareboot32], the password is written on the "Passwords" sheet near the white board. Click "Control Action" perform and select "Immediate Reboot" for Outlet 8 "happex7 RHRS(ROC 26)", then click "apply".
 
* If doing above doesn't help then direct a webbrowser to [http://hareboot32 hareboot32], the password is written on the "Passwords" sheet near the white board. Click "Control Action" perform and select "Immediate Reboot" for Outlet 8 "happex7 RHRS(ROC 26)", then click "apply".
* After rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.
+
* After rebooting, in the runcontrol GUI, click Abort, click Download, and then start a run.
* If it still doesn't help, you can try a cold restart,see instruction below.
+
  
===ROC3/ROC4/ROC5===
+
=====ROC3/ROC4/ROC5=====
  
* Type "reboot" in the portserver terminal window. Another possibility is to type "ctrl-X" at the vxWorks prompt when typing reboot does not work.
+
* Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
 
* If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "SFI (Fastbus ROC3 &amp; ROC4) #1Lower Fastbus AC" and click on "click to reset" button. After rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.
+
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "SFI (Fastbus ROC3 &amp; ROC4) #1" and click on "click to reset" button. After rebooting, in the runcontrol GUI, click Reset, click Download, and then start a run.
* If doing all above doesn't help then under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Lower Fastbus AC" and click on "click to reset" button. For ROC3,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document below [[https://hallaweb.jlab.org/wiki/index.php/Rebooting_and_Resetting#Special_Note_on_ROC3.2FROC1]].
+
* If doing all above doesn't help then under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Lower Fastbus AC" and click on "click to reset" button. For ROC3,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document below.
* If it still doesn't help, you can try a cold restart,see instruction below.
+
  
===TS11===
+
=====TS11=====
  
* Type "reboot" in the portserver terminal window. Another possibility is to type "ctrl-X" at the vxWorks prompt when typing reboot does not work.
+
* Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
 
* If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Trigger Supervisor" and click on "click to reset" button.  
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Trigger Supervisor" and click on "click to reset" button.  
* After rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.
+
* After rebooting, in the runcontrol GUI, click Reset, click Download, and then start a run.
* If it still doesn't help, you can try a cold restart,see instruction below.
+
  
=== ROC 25 ===
+
=====ROC 25=====
  
* Type "reboot" in the portserver terminal window. Another possibility is to type "ctrl-X" at the vxWorks prompt when typing reboot does not work.
+
* Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
 
* If doing above doesn't help then direct a webbrowser to [http://hareboot28 hareboot28],the password is written on the "Passwords" sheet near the white board. Click "Control Action" perform and select "Immediate Reboot" for Outlet 1 "happex8 LHRS(ROC 25)", then click "apply".
 
* If doing above doesn't help then direct a webbrowser to [http://hareboot28 hareboot28],the password is written on the "Passwords" sheet near the white board. Click "Control Action" perform and select "Immediate Reboot" for Outlet 1 "happex8 LHRS(ROC 25)", then click "apply".
* After rebooting, in the runcontrol GUI, click Abort, click Reset, click Download.
+
* After rebooting, in the runcontrol GUI, click Abort, click Download, and then start a run.
* If it still doesn't help, you can try a cold restart,see instruction below.
+
  
==Special Note on ROC3/ROC1==
+
=====Special Note on ROC3/ROC1=====
  
If the LHRS (RHRS) crate is power cycled, the boot parameters for ROC3(ROC1) will need to be re-entered. The boot parameters are located  in doc/vmeram g2p.doc and also on the g2p Wiki[[https://hallaweb.jlab.org/wiki/index.php/Boot_Parameters_for_g2p Boot_Parameters_for_g2p]]. To change the boot parameters do the following:  
+
* If the LHRS (RHRS) crate is power cycled, the boot parameters for ROC3(ROC1) will need to be re-entered. The boot parameters are located  in doc/vmeram g2p.doc and also on the g2p Wiki[[https://hallaweb.jlab.org/wiki/index.php/Boot_Parameters_for_g2p Boot_Parameters_for_g2p]]. To change the boot parameters do the following:  
 
#Go to the vxWorks prompt for ROC3 and type ”c”.  
 
#Go to the vxWorks prompt for ROC3 and type ”c”.  
 
#This will allow you to enter the parameters, one line at a time.  
 
#This will allow you to enter the parameters, one line at a time.  
 
#When finished, type ”p” to print the boot parameters (and check that they are correct)  
 
#When finished, type ”p” to print the boot parameters (and check that they are correct)  
 
#Type ”@” to reboot the ROC.
 
#Type ”@” to reboot the ROC.
 
==Cold Restarts (Starting CODA from scratch)==
 
 
#To perform a cold start of the processes on the Linux computer (adaql1 or adaql2), simply type “startcoda” on the a-onl account. This performs a “kcoda” for you, as well as starts all the components you need.
 
#Eventually runcontrol (rcgui) will pop up.
 
##In runcontrol press the Platform button and then ”connect”.
 
##After “connect”, verify you have the correct session (LHRS/RHRS) and configuration (LHRSHAP/RHRSBUFF). Usually you will, but if not you’ll need to select the session and config.
 
##You may now do the “configure” by pressing the button with crossed screwdriver and wrench in the upper left corner. Be patient, configure takes awhile.
 
##Then you may download, which is the next button to the right, it looks like a tape drive.
 
##In general, the button names can be discovered by putting the mouse on it and letting it sit there for a few seconds; a small box appears with the name of the button. <br>
 
##To start a run, press the >> button.
 
##To end a run press the square box that’s sorta in the middle.
 
##To reset, press the << button.
 
# Start datamon by typing “datamon”
 
<br>
 
If you ever logout of the DAQ computer adaql1 or adaql2 or have rebooted it, here is how to restart the preferred setup. Login to the adaql1(adaql2) console as ”adaq” and then
 
<pre>ssh -l a-onl adaql1(adaql2) </pre> Reason is that if you login directly as a-onl, some GUI windows like start-run don’t pop up. Just do what I said. Start CODA by typing “startcoda” as explained above. Emacs the prescale file in the background:
 
<pre>emacs /prescale/prescaleL(or)R.dat </pre>
 

Latest revision as of 14:46, 1 March 2012

Remote Crate Resets

The following is mainly about how to remotely reset the crates when the crates get hung up, and cannot be rebooted.

ROC1/ROC2/ROC6
  • Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
  • If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
  • Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "SFI (Fastbus ROC1 and ROC2) #1" and click on "click to reset" button. After rebooting, in the runcontrol GUI, click Reset, click Download, and then start a run.
  • If doing above doesn't help, then under "Resets from the Electron Detector Stack (right) Crate" look for "Lower Fastbus AC" and click on "click to reset" button.For ROC1,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document below.
TS0
  • Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
  • If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
  • Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "Trigger Supervisor" and click on "click to reset" button.
  • After rebooting, in the runcontrol GUI, click Abort, click Download, and then start a run.
ROC26
  • Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
  • If doing above doesn't help then direct a webbrowser to hareboot32, the password is written on the "Passwords" sheet near the white board. Click "Control Action" perform and select "Immediate Reboot" for Outlet 8 "happex7 RHRS(ROC 26)", then click "apply".
  • After rebooting, in the runcontrol GUI, click Abort, click Download, and then start a run.
ROC3/ROC4/ROC5
  • Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
  • If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
  • Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "SFI (Fastbus ROC3 & ROC4) #1" and click on "click to reset" button. After rebooting, in the runcontrol GUI, click Reset, click Download, and then start a run.
  • If doing all above doesn't help then under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Lower Fastbus AC" and click on "click to reset" button. For ROC3,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document below.
TS11
  • Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
  • If doing above doesn't help then go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
  • Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Trigger Supervisor" and click on "click to reset" button.
  • After rebooting, in the runcontrol GUI, click Reset, click Download, and then start a run.
ROC 25
  • Type "reboot" in the portserver terminal window. Wait until the ROC finished the booting script.
  • If doing above doesn't help then direct a webbrowser to hareboot28,the password is written on the "Passwords" sheet near the white board. Click "Control Action" perform and select "Immediate Reboot" for Outlet 1 "happex8 LHRS(ROC 25)", then click "apply".
  • After rebooting, in the runcontrol GUI, click Abort, click Download, and then start a run.
Special Note on ROC3/ROC1
  • If the LHRS (RHRS) crate is power cycled, the boot parameters for ROC3(ROC1) will need to be re-entered. The boot parameters are located in doc/vmeram g2p.doc and also on the g2p Wiki[Boot_Parameters_for_g2p]. To change the boot parameters do the following:
  1. Go to the vxWorks prompt for ROC3 and type ”c”.
  2. This will allow you to enter the parameters, one line at a time.
  3. When finished, type ”p” to print the boot parameters (and check that they are correct)
  4. Type ”@” to reboot the ROC.