40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  ATF eLog  Not logged in ELOG logo
Message ID: 165     Entry time: Thu Jul 9 10:45:16 2009
Author: Aidan 
Type: Computing 
Category: DAQ 
Subject: Alex's frame builder problem diagnosis ... 

 

This from Alex: 

 

The filesystem is full. If you look at the log messages:

[controls@oms fb]$ pwd
/cvs/cds/caltech/target/fb
[controls@oms fb]$ tail -5 logs/daqd.log.19816 
[Thu Jul  9 10:07:51 2009] Couldn't open full frame file
`/frames/full/data38/.C-R-931194464-16.gwf' for writing; errno 28
[Thu Jul  9 10:07:51 2009] Couldn't open full trend frame file
`/frames/trend/second/data2/C-T-931194420-60.gwf' for writing; errno 28
[Thu Jul  9 10:08:07 2009] Couldn't open full frame file
`/frames/full/data38/.C-R-931194480-16.gwf' for writing; errno 28
[Thu Jul  9 10:08:23 2009] Couldn't open full frame file
`/frames/full/data38/.C-R-931194496-16.gwf' for writing; errno 28
[Thu Jul  9 10:08:39 2009] Couldn't open full frame file
`/frames/full/data38/.C-R-931194512-16.gwf' for writing; errno 28
[controls@oms fb]$ df -h /frames/
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                     275G  261G     0 100% /frames


I stopped the frame builder for now until we figure out the data
directories. Can I delete all the data in /frames/full and recreate a new
set of directories? Otherwise this is too messy to rearrange. Let me know.

-alex


On Wed, 8 Jul 2009, Aidan Brooks wrote:


Hi Alex,

I fixed the problem with being able to telnet into fb0. There was just a typo in the file:
/cvs/cds/caltech/chans/daq/C2ATF.ini
Once I fixed that the frame builder rebooted just fine.

The problem at the moment is that the data does not appear to be writing to file. If I rebuild the front end from the start, so I go to oms and run the following commands:

cd /cvs/cds/advLigo
make realclean
make atf
make install-atf
make install-daq-atf
make install-screens-atf

And if I edit the file C2ATF.ini so that a single channel, e.g. C2:ATF-CTRL_PMC_REFL_IN1_DAQ is set to acquire. 

and killatf, followed by startatf and reboot the frame builder

Then: the front end starts okay and I can see signals in the EPICS screen that make sense. I can run StripTool and see the real time time series of a channel, I can start dataviewer and see C2:ATF-CTRL_PMC_REFL_IN1_DAQ in the list of fast channels. I can run the realtime viewer in dataviewer and see that channel realtime in a Grace window. However, I cannot get a playback of that channel to work and if I run dtt I can only get a spectrum if I specify a start time for that spectrum within the last (approximately) 30s in the past.

The data rate in the .mdl simulink model is 16K, the data rate in the C2ATF.ini files is 16K, the data rate in the file:
/cvs/cds/caltech/target/fb/daqdrc is set to 16K and there are 120 data directories in the /frames/full directory.

I can't think of any reason why the data is not being written to file. Can you log in and figure out what's wrong? You should be able to get access via controls@131.215.114.183

Thanks for your help,
Aidan.
 

ELOG V3.1.3-