Project

General

Profile

Wiki » History » Version 15

Vivian O'Dell, 10/24/2019 11:00 AM

1 2 Gregory Rakness
h1. Mu2e otsdaq Tracker
2 1 Ryan Rivera
3 5 Vivian O'Dell
{{toc}}
4 5 Vivian O'Dell
5 2 Gregory Rakness
h2. Quickstart instructions:
6 2 Gregory Rakness
7 2 Gregory Rakness
This code is an extension of the "*OTS-DAQ*":https://cdcvs.fnal.gov/redmine/projects/otsdaq project and requires it to function.  To setup OTS-DAQ use the instructions listed "*here*":https://cdcvs.fnal.gov/redmine/projects/otsdaq/wiki/Instructions_for_using_MRB_with_OTSDAQ for installing the core OTS-DAQ packages.  *This must be done first!*  Once the OTSDAQ core dependencies are set up, the mu2e otsdaq Tracker interface code can be included.  
8 2 Gregory Rakness
9 2 Gregory Rakness
If you are one of the project managers and plan on making modifications to the code, you can checkout the repository doing the following assuming you have valid kerberos credentials,
10 2 Gregory Rakness
11 2 Gregory Rakness
<pre>
12 2 Gregory Rakness
cd $MRB_SOURCE # this is the 'srcs' directory that will be set in the course of setting up OTS-DAQ
13 2 Gregory Rakness
mrb gitCheckout -d otsdaq_mu2e ssh://p-mu2e-otsdaq@cdcvs.fnal.gov/cvs/projects/mu2e-otsdaq
14 2 Gregory Rakness
mrb gitCheckout -d pcie_linux_kernel_module ssh://p-pcie_linux_kernel_module@cdcvs.fnal.gov/cvs/projects/pcie_linux_kernel_module
15 4 Ryan Rivera
mrb gitCheckout -d otsdaq_mu2e_tracker ssh://p-mu2e-otsdaq-tracker@cdcvs.fnal.gov/cvs/projects/mu2e-otsdaq-tracker
16 2 Gregory Rakness
</pre>
17 2 Gregory Rakness
18 2 Gregory Rakness
Otherwise, you can just clone the directory using the http sever,
19 2 Gregory Rakness
20 2 Gregory Rakness
<pre>
21 2 Gregory Rakness
cd $MRB_SOURCE # this is the srcs directory that will be set in the course of setting up OTS-DAQ
22 2 Gregory Rakness
mrb gitCheckout -d otsdaq_mu2e_tracker http://cdcvs.fnal.gov/projects/mu2e-otsdaq-tracker
23 2 Gregory Rakness
</pre>
24 2 Gregory Rakness
25 2 Gregory Rakness
Alternatively, if you do not have mrb set up, you can check out the code using git directly,
26 2 Gregory Rakness
27 2 Gregory Rakness
<pre>
28 2 Gregory Rakness
git clone http://cdcvs.fnal.gov/projects/otsdaq_mu2e otsdaq_mu2e
29 1 Ryan Rivera
git clone http://cdcvs.fnal.gov/projects/pcie_linux_kernel_module pcie_linux_kernel_module
30 3 Ryan Rivera
31 3 Ryan Rivera
#write access
32 4 Ryan Rivera
git clone ssh://p-mu2e-otsdaq-tracker@cdcvs.fnal.gov/cvs/projects/mu2e-otsdaq-tracker otsdaq_mu2e_tracker 
33 3 Ryan Rivera
34 3 Ryan Rivera
#read only
35 2 Gregory Rakness
git clone http://cdcvs.fnal.gov/projects/mu2e-otsdaq-tracker otsdaq_mu2e_tracker
36 2 Gregory Rakness
</pre>
37 2 Gregory Rakness
38 2 Gregory Rakness
If you don't checkout using ssh, you will not be able to push your changes to redmine.
39 2 Gregory Rakness
40 2 Gregory Rakness
Once the package is checked out or if you are starting a new session, source the environment,
41 2 Gregory Rakness
42 2 Gregory Rakness
<pre>
43 2 Gregory Rakness
source /path/to/products/area/setup # e.g. /data/ups/setup
44 2 Gregory Rakness
cd my/mrb/working/directory # this is where localProducts_otsdaq_* and srcs resides
45 2 Gregory Rakness
setup mrb
46 2 Gregory Rakness
setup git
47 2 Gregory Rakness
source local*/setup
48 2 Gregory Rakness
source mrbSetEnv
49 2 Gregory Rakness
</pre>
50 2 Gregory Rakness
51 2 Gregory Rakness
h2. Structure
52 2 Gregory Rakness
53 2 Gregory Rakness
Ideally, everything that is needed for a user to run OTSDAQ will be contained in the otsdaq_mu2e_calorimeter directory and the code in otsdaq, otsdaq_utilities, and otsdaq_components will not need to be touched.  If there is a situation where you wish to modify part of the core code, it is advised to put in a request with one of the maintainers (Lorenzo, Ryan, or Eric).
54 2 Gregory Rakness
55 2 Gregory Rakness
Below is a summary of some of the parts that will need to be modified in order to set up communication with the experimental device.
56 2 Gregory Rakness
57 2 Gregory Rakness
h3. Interface
58 2 Gregory Rakness
59 2 Gregory Rakness
The FEInterface class tells OTSDAQ how to communicate with front end electronics and is found in <pre>otsdaq_mu2e_tracker/otsdaq-mu2e-tracker/FEInterfaces/</pre>.  All of the methods defined in the interface source can be called from the OTSDAQ web interface...
60 5 Vivian O'Dell
61 5 Vivian O'Dell
h2. Test Stand at FCC
62 5 Vivian O'Dell
63 5 Vivian O'Dell
The DRAC (Tracker ROC) is connected to ROC1  of DTC1 (of course, this could change). The ROC firmware can load patterns into the DAQFIFO for testing the DAQ chain. To start up the ROC data handling, you have to run scripts that tell the ROC firmware what to do. These scripts use a serial port on the DRAC board and can be run from any computer that has python installed (i.e. laptop, etc.) Below is the prescription for installing and running the scripts.
64 5 Vivian O'Dell
65 5 Vivian O'Dell
h3. Installing the tracker ROC scripts
66 5 Vivian O'Dell
67 5 Vivian O'Dell
The tracker scripts are in git.
68 6 Vivian O'Dell
<pre>
69 6 Vivian O'Dell
mkdir TestStand		
70 5 Vivian O'Dell
cd TestStand
71 5 Vivian O'Dell
git clone https://github.com/bonventre/trackerScripts
72 5 Vivian O'Dell
cd trackerScripts
73 5 Vivian O'Dell
git branch -a
74 5 Vivian O'Dell
* ROCCALHV_1FIFO
75 5 Vivian O'Dell
  master
76 5 Vivian O'Dell
  remotes/origin/HEAD -> origin/master
77 5 Vivian O'Dell
  remotes/origin/ROCCALHV_1FIFO
78 5 Vivian O'Dell
  remotes/origin/ROCHVCAL
79 5 Vivian O'Dell
  remotes/origin/ROC_only
80 5 Vivian O'Dell
  remotes/origin/bus32bit
81 5 Vivian O'Dell
  remotes/origin/master
82 5 Vivian O'Dell
83 5 Vivian O'Dell
git checkout ROCCALHV_1FIFO
84 1 Ryan Rivera
Branch 'ROCCALHV_1FIFO' set up to track remote branch 'ROCCALHV_1FIFO' from 'origin'.
85 5 Vivian O'Dell
Switched to a new branch 'ROCCALHV_1FIFO'
86 6 Vivian O'Dell
</pre>
87 5 Vivian O'Dell
88 5 Vivian O'Dell
Serial Support:
89 5 Vivian O'Dell
You may have to download a driver for usb – serial support on your machine. You can find it here:
90 5 Vivian O'Dell
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
91 5 Vivian O'Dell
Follow the directions on the web page for your machine.
92 5 Vivian O'Dell
93 5 Vivian O'Dell
h3. Running the tracker scripts
94 5 Vivian O'Dell
95 5 Vivian O'Dell
Connect your usb port to the serial port on the DRAC board (the one labeled "debug ports"). Then:
96 6 Vivian O'Dell
<pre>
97 5 Vivian O'Dell
cd ~/TestStand/trackerScripts
98 1 Ryan Rivera
python control_ROC.py
99 5 Vivian O'Dell
reading
100 1 Ryan Rivera
Waiting for ARM to connect
101 5 Vivian O'Dell
==========================
102 5 Vivian O'Dell
Connected to ARM on /dev/tty.SLAB_USBtoUART
103 6 Vivian O'Dell
</pre>
104 5 Vivian O'Dell
105 6 Vivian O'Dell
Now you are ready to talk to the firmware. There are a bunch of ADCs on the board. The first step is to align them. To align e.g. ADC 1 type:
106 5 Vivian O'Dell
107 6 Vivian O'Dell
<pre>
108 5 Vivian O'Dell
find_alignment -ch 1
109 5 Vivian O'Dell
103 902
110 5 Vivian O'Dell
902
111 5 Vivian O'Dell
DOPHASE 1
112 5 Vivian O'Dell
Ch       NumEnofTrgr  BestClock    Results0(0x) Results3(0x) Results6(0x)
113 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
114 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
115 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
116 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
117 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
118 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
119 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
120 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
121 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
122 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
123 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
124 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
125 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
126 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
127 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
128 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
129 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
130 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
131 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
132 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
133 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
134 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
135 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
136 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
137 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
138 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
139 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
140 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
141 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
142 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
143 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
144 5 Vivian O'Dell
31       12           3            0x0          0x0          0x0         
145 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
146 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
147 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
148 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
149 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
150 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
151 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
152 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
153 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
154 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
155 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
156 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
157 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
158 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
159 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
160 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
161 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
162 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
163 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
164 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
165 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
166 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
167 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
168 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
169 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
170 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
171 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
172 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
173 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
174 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
175 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
176 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
177 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
178 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
179 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
180 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
181 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
182 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
183 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
184 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
185 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
186 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
187 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
188 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
189 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
190 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
191 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
192 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
193 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
194 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
195 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
196 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
197 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
198 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
199 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
200 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
201 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
202 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
203 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
204 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
205 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
206 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
207 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
208 5 Vivian O'Dell
0        0            0            0x0          0x0          0x0         
209 5 Vivian O'Dell
FindAlignmentSuccess
210 5 Vivian O'Dell
Ch[00:07] 0b0
211 5 Vivian O'Dell
Ch[08:15] 0b0
212 5 Vivian O'Dell
Ch[16:23] 0b0
213 5 Vivian O'Dell
Ch[24:31] 0b10000000
214 5 Vivian O'Dell
Ch[32:39] 0b0
215 5 Vivian O'Dell
Ch[40:47] 0b0
216 5 Vivian O'Dell
Ch[48:55] 0b0
217 5 Vivian O'Dell
Ch[56:63] 0b0
218 5 Vivian O'Dell
Ch[64:71] 0b0
219 5 Vivian O'Dell
Ch[72:79] 0b0
220 5 Vivian O'Dell
Ch[80:87] 0b0
221 5 Vivian O'Dell
Ch[88:95] 0b0
222 5 Vivian O'Dell
MixedFreqAdcCheck
223 5 Vivian O'Dell
Ch[00:07] 0b0
224 5 Vivian O'Dell
Ch[08:15] 0b0
225 5 Vivian O'Dell
Ch[16:23] 0b0
226 5 Vivian O'Dell
Ch[24:31] 0b10000000
227 5 Vivian O'Dell
Ch[32:39] 0b0
228 5 Vivian O'Dell
Ch[40:47] 0b0
229 5 Vivian O'Dell
Ch[48:55] 0b0
230 5 Vivian O'Dell
Ch[56:63] 0b0
231 1 Ryan Rivera
Ch[64:71] 0b0
232 5 Vivian O'Dell
Ch[72:79] 0b0
233 5 Vivian O'Dell
Ch[80:87] 0b0
234 5 Vivian O'Dell
Ch[88:95] 0b0
235 5 Vivian O'Dell
ChannelsW/EnoughTriggers 96
236 5 Vivian O'Dell
ErrorMask[00:31] 0x0
237 1 Ryan Rivera
ErrorMask[32:63] 0x0
238 5 Vivian O'Dell
ErrorMask[64:95] 0x0
239 6 Vivian O'Dell
</pre>
240 5 Vivian O'Dell
241 5 Vivian O'Dell
Don’t ask me what it means. The key phrase is “FindAlignmentSuccess”
242 5 Vivian O'Dell
243 5 Vivian O'Dell
To start up the event running type:
244 5 Vivian O'Dell
245 6 Vivian O'Dell
<pre>
246 5 Vivian O'Dell
read -t 0 -p 1 -T 10 -s 20 -l 10 -a 1 -ch 1
247 5 Vivian O'Dell
OPENING FILE run_2.txt
248 5 Vivian O'Dell
105 35
249 5 Vivian O'Dell
{'AdcMode': 1,
250 5 Vivian O'Dell
 'Ch_mask1': '0b10',
251 5 Vivian O'Dell
 'Clock': 99,
252 5 Vivian O'Dell
 'EnablePulser': 1,
253 5 Vivian O'Dell
 'Mode': 0,
254 5 Vivian O'Dell
 'NumLookback': 10,
255 5 Vivian O'Dell
 'NumSamples': 20,
256 5 Vivian O'Dell
 'NumTriggers': 10,
257 1 Ryan Rivera
 'TdcMode': 0,
258 5 Vivian O'Dell
 'TdcString': 'PULSER\x00\x00',
259 5 Vivian O'Dell
 'digi_read(0xb)': '0b0',
260 5 Vivian O'Dell
 'digi_read(0xc)': '0b1',
261 1 Ryan Rivera
 'digi_read(0xd)': '0b0',
262 5 Vivian O'Dell
 'digi_read(0xe)': '0b1000000000000000'}
263 5 Vivian O'Dell
5
264 5 Vivian O'Dell
{'DelayCount': 0, 'TriggerCountMatchNumTriggers': 1}
265 6 Vivian O'Dell
</pre>
266 5 Vivian O'Dell
267 8 Vivian O'Dell
This reads only channel 1. -T 10 means to dump the first 10 triggers into a text file (i.e. run_2.txt) in ~/TestStand/trackerScripts/runs .  The ROC will continue generating events forever, or until powered off, but only the first 10 triggers are written into the log file.  -a controls the test pattern (1 to 0xC). -s controls the number of payload words in 32 bits, on top of 4x32-bit header words.
268 5 Vivian O'Dell
269 5 Vivian O'Dell
The contents of the date file (run_xx.txt, where xx is the “run number”) looks like:
270 5 Vivian O'Dell
271 6 Vivian O'Dell
!Run_xxContents.png!
272 5 Vivian O'Dell
273 7 Vivian O'Dell
You get the same repeating pattern for the date. At the end of the trigger you will see:
274 7 Vivian O'Dell
275 1 Ryan Rivera
!EndOfTrigger.png!
276 8 Vivian O'Dell
277 8 Vivian O'Dell
Next you may need to toggle on using the DDR memory on the DRAC. (This may be obsolete in some latest versions of the firmware).
278 8 Vivian O'Dell
The command is:
279 8 Vivian O'Dell
<pre>
280 8 Vivian O'Dell
ddr_toggle -d 1 -p 4
281 8 Vivian O'Dell
</pre>
282 8 Vivian O'Dell
283 8 Vivian O'Dell
where -p sets the number of 1kb blocks you want to write to DDR memory.
284 2 Gregory Rakness
285 9 Vivian O'Dell
h2. Using chants
286 9 Vivian O'Dell
287 9 Vivian O'Dell
Chants is a command line interface that allows you to talk directly to the DTC. To configure the ROC/DTC:
288 9 Vivian O'Dell
<pre>
289 9 Vivian O'Dell
cd ~/test_stand/ots
290 9 Vivian O'Dell
source chantsDataTest.sh
291 9 Vivian O'Dell
</pre>
292 9 Vivian O'Dell
To e.g. start collecting data from ROC->DTC->host computer:
293 9 Vivian O'Dell
<pre> 
294 9 Vivian O'Dell
 DTCLIB_SIM_ENABLE=N mu2eUtil -q 10 -N buffer_test -n 1 -f junkdata.bin
295 9 Vivian O'Dell
</pre>
296 9 Vivian O'Dell
where -q says how many output lines to display, -N turns off the debug flag, -n says how many times
297 9 Vivian O'Dell
to run the test, "buffer_test" reads data from the DTC buffer, -f <filename> writes the data into <filename>.
298 9 Vivian O'Dell
Each buffer_test sends a heartbeat and then a data request. For more information on other tests that can
299 9 Vivian O'Dell
be run, see mu2eUtil --help.
300 9 Vivian O'Dell
301 10 Vivian O'Dell
h2. Data format
302 11 Vivian O'Dell
303 10 Vivian O'Dell
You can look at the data written by buffer test by typing:
304 10 Vivian O'Dell
<pre>
305 10 Vivian O'Dell
hexdump -v junkdata.bin | more
306 10 Vivian O'Dell
</pre>
307 13 Vivian O'Dell
The data format is evolving, but the current format is linked as a file to this page
308 13 Vivian O'Dell
(see DataFormat.pdf). 
309 11 Vivian O'Dell
310 14 Vivian O'Dell
h2. Updating DTC firmware
311 14 Vivian O'Dell
312 14 Vivian O'Dell
To update the DTC firmware, log into the server node that the DTC is plugged into. 
313 14 Vivian O'Dell
You will have to ksu root. Then:
314 14 Vivian O'Dell
<pre>
315 14 Vivian O'Dell
source /mu2e/ups/setup
316 14 Vivian O'Dell
setup pcie_linux_kernel_module v2_02_04 -q e17:prof:s67
317 14 Vivian O'Dell
mcs.sh 0 ~kwar/dtc/<MCS FILE>
318 14 Vivian O'Dell
</pre>
319 14 Vivian O'Dell
Afterwards you have to shutdown and restart the PC hosting the DTC. In principle
320 14 Vivian O'Dell
you can use ipmitool to bring the PC back up. Or just push the power button, which seems
321 14 Vivian O'Dell
to be more reliable.
322 14 Vivian O'Dell
323 14 Vivian O'Dell
<pre>
324 14 Vivian O'Dell
ipmitool -Ilanplus -Hmu2edaq07-ipmi -UADMIN -PADMIN chassis power on
325 14 Vivian O'Dell
Chassis Power Control: Up/On
326 14 Vivian O'Dell
ipmitool -Ilanplus -Hmu2edaq07-ipmi -UADMIN -PADMIN chassis power status
327 14 Vivian O'Dell
Chassis Power is on
328 14 Vivian O'Dell
</pre>
329 14 Vivian O'Dell
330 15 Vivian O'Dell
h2. Some useful commands
331 15 Vivian O'Dell
332 15 Vivian O'Dell
<pre>
333 15 Vivian O'Dell
ups list -aK+ <package name> | sort -v
334 15 Vivian O'Dell
</pre>
335 15 Vivian O'Dell
lists the version numbers of a package and sorts it by version number. For example:
336 15 Vivian O'Dell
<pre>
337 15 Vivian O'Dell
ups list -aK+ pcie_linux_kernel_module |sort -V
338 15 Vivian O'Dell
</pre>
339 15 Vivian O'Dell
will list, sorted by version number, all the versions available of the package "pcie_linux_kernel_module".
340 10 Vivian O'Dell
341 2 Gregory Rakness
h2. Useful links
342 2 Gregory Rakness
343 2 Gregory Rakness
Wiki syntax "*Here*":https://cdcvs.fnal.gov/redmine/projects/fermi-redmine/wiki/RedmineWikiFormatting
344 2 Gregory Rakness
345 2 Gregory Rakness
Instructions for setting up main version of OTSDAQ using MRB: "*Off-the-Shelf DAQ*":https://cdcvs.fnal.gov/redmine/projects/otsdaq/wiki/Instructions_for_using_MRB_with_OTSDAQ