G2p Remote Crate Resets
There are a few ways to reboot and reset g2p DAQ crates.
Contents
Quick 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 or a Remote Crate Reset(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.
- 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”
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 above[[2]].
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 above[[3]].
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 above[[4]].
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 [[5]].
- If it still doesn't help, you can try a Cold Restart,see instruction above[[6]].
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 above[[7]].
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 above[[8]].
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:
- Go to the vxWorks prompt for ROC3 and type ”c”.
- 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)
- Type ”@” to reboot the ROC.