40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  PSL  Not logged in ELOG logo
Entry  Thu Dec 8 21:31:26 2011, Frank, Notes, Computers, daq still broken, but different 
    Reply  Thu Dec 8 23:54:05 2011, Frank, Notes, Computers, daq still broken, but different 
Message ID: 757     Entry time: Thu Dec 8 23:54:05 2011     In reply to: 756
Author: Frank 
Type: Notes 
Category: Computers 
Subject: daq still broken, but different 

checked the source code for the daqd. There is only one line where one of the messages occurs. Couldn't find the part of the source code for the second error message

/* Write out a frame */
        int nwritten = write (fd, ost -> str (), image_size);
        if (nwritten == image_size) {
          if (rename(_tmpf, tmpf)) {
            system_log(1, "failed to rename file; errno %d", errno);
            fsd.report_lost_frame ();
            set_fault ();
          } else {
            DEBUG(3, cerr << "frame " << frame_cntr << "(" << frame_number << ") is written out" << endl);
            // Successful frame write
            fsd.update_dir (gps, gps_n, frame_file_length_seconds, dir_num);
          }
        } else {
          system_log(1, "failed to write full frame out; errno %d", errno);
          fsd.report_lost_frame ();
          set_fault ();
        }
        close (fd);
        TNF_PROBE_0(daqc_c_framer_frame_write_end, "daqd_c::framer", "frame write");

looks like the daqd has problems writing the frames to disk. Standard Error #  2: No such file or directory

Quote:

replaced the hard drive, created an new ext3 file system and mounted it as /frames/full. After forced fsck for the other drives computer is back online. Daqd is working in principle, but  it crashes after a minute or so.

Most often error message:   [Thu Dec  8 20:30:41 2011] failed to rename file; errno 2

Error message changes from time to time: [Thu Dec  8 20:09:45 2011] framer(): failed to rename file; errno 2

I don't know which file and why does the error message change?. Have to contact Alex...

 

ELOG V3.1.3-