Difference between revisions of "G2p Remote Crate Resets"

From Hall A Wiki
Jump to: navigation, search
Line 7: Line 7:
 
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.
 
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.
 
If a “quick” reset doesn’t work, try a Cold Start (see below)
 
If a “quick” reset doesn’t work, try a Cold Start (see below)
 +
 +
==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>
  
 
==Remote Crate Resets==
 
==Remote Crate Resets==
Line 63: Line 81:
 
#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>
 

Revision as of 15:09, 29 February 2012

There are a few ways to reboot and reset g2p DAQ crates.

Quick Resets

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.

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. If a “quick” reset doesn’t work, try a Cold Start (see below)

Cold Restarts (Starting CODA from scratch)

  1. 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.
  2. Eventually runcontrol (rcgui) will pop up.
    1. In runcontrol press the Platform button and then ”connect”.
    2. 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.
    3. 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.
    4. Then you may download, which is the next button to the right, it looks like a tape drive.
    5. 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.
    6. To start a run, press the >> button.
    7. To end a run press the square box that’s sorta in the middle.
    8. To reset, press the << button.
  3. Start datamon by typing “datamon”


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

ssh -l a-onl adaql1(adaql2) 
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:
emacs /prescale/prescaleL(or)R.dat 

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)
  • 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.
  • 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 [[1]].
  • If it still doesn't help, you can try a cold restart,see instruction below.

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.
  • 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 Reset, and then click Download.
  • If it still doesn't help, you can try a cold restart,see instruction below.

ROC 26

  • 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 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 Reset, and then click Download.
  • If it still doesn't help, you can try a cold restart,see instruction below.

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.
  • 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) #1Lower Fastbus AC" and click on "click to reset" button. After rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.
  • 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 [[2]].
  • If it still doesn't help, you can try a cold restart,see instruction below.

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.
  • 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 Abort, click Reset, and then click Download.
  • If it still doesn't help, you can try a cold restart,see instruction below.

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.
  • 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 Reset, click Download.
  • If it still doesn't help, you can try a cold restart,see instruction below.

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.