Yesterday afternoon, Didier took control over the Monitoring DAQ line. We experienced problems when generating a new run : the main frame builders lost connection with the Master Timing server. We had to restart the Timing server and, thereafter, all the Slow Frame builders (which lost connection because of the restart).
For testing purposes, Didier Verkindt has taken the control over the daq line "Moni". This test is made to find out why the main frams builders sometimes exit when not receiving a frame.
FbmDet exited with return code -2. Had to restart it as well as the connected consumers (which could not see anymore the shared memory area).
FbmDet: frame 351 run 2571 (2.430MB) written in shm. Senders: TiServer FbsDetect Mc25 Pi25 Fbf39 Fbf17a Fbf16a : (16:38:23) 31 Aug 2001
FbmDet: frame 352 run 2571 (2.431MB) written in shm. Senders: TiServer FbsDetect Mc25 Pi25 Fbf39 Fbf17a Fbf16a : (16:38:24) 31 Aug 2001
FbmDet: frame 353 run 2571 (2.430MB) written in shm. Senders: TiServer FbsDetect Mc25 Pi25 Fbf39 Fbf17a Fbf16a : (16:38:25) 31 Aug 2001
FbmDet: frame 354 run 2571 (2.430MB) written in shm. Senders: TiServer Mc25 Pi25 FbsDetect Fbf39 Fbf17a Fbf16a : (16:38:26) 31 Aug 2001
FbmDet: frame 355 run 2571 (2.430MB) written in shm. Senders: TiServer FbsDetect Mc25 Pi25 Fbf39 Fbf17a Fbf16a : (16:38:27) 31 Aug 2001
FbmDet: frame 356 run 2571 (2.430MB) written in shm. Senders: TiServer Mc25 Pi25 FbsDetect Fbf39 Fbf17a Fbf16a : (16:38:28) 31 Aug 2001
FbmDet: frame 357 run 2571 (2.430MB) written in shm. Senders: TiServer FbsDetect Mc25 Pi25 Fbf39 Fbf17a Fbf16a : (16:38:29) 31 Aug 2001
FbmDet: frame 358 run 2571 (2.431MB) written in shm. Senders: TiServer Mc25 Pi25 FbsDetect Fbf39 Fbf17a Fbf16a : (16:38:30) 31 Aug 2001
FbmDet: frame 359 run 2571 (2.430MB) written in shm. Senders: TiServer FbsDetect Mc25 Pi25 Fbf39 Fbf17a Fbf16a : (16:38:31) 31 Aug 2001
FbmDet: frame 360 run 2571 (2.430MB) written in shm. Senders: TiServer Mc25 Pi25 FbsDetect Fbf39 Fbf17a Fbf16a : (16:38:32) 31 Aug 2001
FbmDet: frame 361 run 2571 (2.431MB) written in shm. Senders: TiServer FbsDetect Mc25 Pi25 Fbf39 Fbf16a : (16:38:41) 31 Aug 2001
CmMessageDoReceive> cannot extend for message
Cm> Trying to read beyond data space.
CmMessage>>> Warning : (null) found instead of Text
FbmDet: 31 Aug 2001 (16:38:41): FATAL in FdCmGetFrameHandler: frame received is NULL
[1] Exit -2 /virgoDev/Fbm/v4r6/OSF1/Fbm fbmdet.cfg 1
fbl3[/virgoData/Fbm]:
Restarted all fast frame builders and
slow frame builders on request from Alain.
New running version is v3r5p2 for fbf.
Had to restart all consumers and main frame
builder for Suspension line.
A consumer cannot be stopped and restarted without stopping and restarting all connected software (pb of shared memory ?)
Due to a crash of the cm name server on ax7 at 15:51, all servers had to be restarted (all Fbm, Csm, Fbs, Fbf, detection bench control and Gx Servers). At this point, it could be possible, together with Franco, Gianfranco and Matteo, just to suspend the suspension loops, stop and restart the GxServers and re-close the loops. A great amount of time has been saved using this quick method.
The versions used have not been changed.
FbmSuspCsm3 is giving the message
************************************************************
FbmSuspCsm3: sent frame 1938 run 16 (0.055MB) to SuspComShift SuspShift SuspDaqShift (iread=34886)(iwrite=34886) : (20:45:11) 06 Jun 2001
FdShmRead: FbmSuspCsm3 is not a consumer
shm->csmName[0] = FbmSusp
shm->csmName[1] = FbmSuspCsm2
*************************************************************
at a very high rate. The 2 datadisplays connected were missing frames.
Decision has been taken to restart the consumer csm3, as well as the associated Csm2 and Fbm.
At this time, the suspension team was performing numerous downloads on the suspension DSPs. The dataDisplays have crashed almost at each time a download modified the position or number of the probes.
17:25 - rio39A crashed again - the connected console could not gain access to the CPU, the network has been lost. All ADC lights were on, the BMA access was active on the CPU. No trace of activity for sending data.
I rebooted it and restarted the server on an xTerm. The console permanently shows the CPU activity (ps -aFtrx 1).
ps shows approximately that the CPU is used very close to 100%.
Jean-Marie Teuler has finished the development of the account "daq" on the rios, thus allowing to login the rios with this account. All the configuration files for the DAQ clients have been updated according to this login account.
In the same time, I generalized the use of "defines" inside the configuration files for the client. The old versions have been saved as "name.old.cfg". These new versions should be used with client Cl v2r01 and v2r02.
All new servers will be started as needed with the new account.
Nevertheless, due to deep changes in the configuration files of the clients, the command lines should be tested carefully.
I added an alias named "title" into the .cshrc file for both accounts daq and virgorun. This alias allows to specify a title for every window either on alphas or rios. The title is made of the name of the host and a user specified string. For example, on ax8 :
title "foo"
gives the following title :
"ax8 - foo"
The control servers using Gx as a timing server (Pi, Mc, Vb) were all giving messages indicating that "a problem occurred during acquisition". This message indicates that either the timing signals are not the ones the servers expect or hardware interrupts occur while the server is already performing the data conversion (the interrupt is currently being serviced).
We restarted all the servers (including Gx) and the problem disappeared.
This problem occured on 4th and 5th june.
On request of Vincenzo Dattilo, who will be "on shift" next week, I modified the configuration file c17PR.cfg, in order to allow him a direct connection to Fbf17PR. The name is dattilo2.
The dynamic connection remains possible on other fast frame builders through the main frame builder and consumer FbmSuspCsm2.
The fast frame builder Fbf17PR has not been restarted now, it is planned to restart it next week.
Yesterday evening - Luciano lost control over the WI suspension control server (He got a spurious file name "e .hrd"). We decided to warm restart the system - no result. After having tried various ways of restarting, we stopped all software and power-off and on the crate 46. Then we restarted all software.
The DAQ system were not affected, all remaining software run as foreseen. The DAQ reconnected successfully to the WI suspension system. The problem was just a misuse of the suspension control server.
Timing server stopped yesterday at about 22:17 (there was a Cm timeout at this time, indicating a misfunction inside the client). The Cm name has disappeared from Cm list, both clients crashed (Susp and DBench were running at this time). Rio11a was hung. The IRQ line of the timing board was active. I rebooted the rio11a and restarted TiServer, without deleting the Ti file nor hard resetting the board. All programs seem to run normally (frame builders, Gx servers).
TiServer restarted OK. A new run request was correctly propagated to all running softwares.
Yesterday at about 19pm, GxS46 crashed. The timing board IRQ line remained high. I first tried to restart GxS46 after having deleted the Ti46B file. No result : GxS crashed again (CPU reboot necessary) just after loading Device Driver 0.
I tried to software reset the Timing board with a standalone mode example from Ti (genInt). Same result while running GxS : crash after loading Device driver 0. To ensure the camera board was not involved, I reset it by means of GxCamTt 25 before.
The only way was to hard reset the timing board.
Then GxS46 started correctly, while the DSP was still running (the loop was opened by Giuliano).
ax8 has been successfully upgraded.
I needed to restart all the suspension software :
- all Gx servers (42, 44, 46, 48) have been restarted under control of the Italian team (v3r2),
- needed to restart fast frame builders Fbf17a and Fbf17PR (v5r0),
- restarted main frame builder on daq2 (v4r5)
- restarted consumer 2 on daq2 (v3r4p1)
- restarted FdWrite on ax14 (v3r4p1), in the following directory : /scratch/share/DAQ/FbmSusp/data20010509
- updated the configuration file of the client (ClDaqSusp) with the new versions.
Stefano Cortese is now upgrading ax8 to OSF1 v5 + patch2.
I transferred temporarily all the monitoring activity to ax15.
When closing the xterm windows for fbm and csm2, both programs ended (they probably received a signal SIGHUP (1) which they do not handle). One of the solutions is to trap this signal and stop writing anything on stdout and stderr.
I restarted them on daq2 with the same command lines as stated in the client cfg file.
ax11 scratch disk is full since about 15 minutes.
I asked Stefano Braccini to write on ax14.
We created directory /scratch/shared/DAQ/FbmSusp/data20010509
Now I run
/virgoDev/Fd/v3r4p1/OSF1/FdWrite FbmSuspCsm2 "*" 3600 10000 -1
about 100Gb are free on the disk.
- Stopped and restarted GxS46 (WI) at luciano's request.
- Stefano Cortese will update ax8 to OSF1 v5 + patch 2 this afternoon. Then clients and xterms will be run for a while on a terminal, using ax15.
- I plan to recompile the client v2r0x with the new version when available.
- crate 46 was hung (both rio46a and b).I Rebooted them and had to reset all hardware (camera 25 and timing board) to get proper functionality.
- Lee Holloway tried to control this crate by means of the client. The client finally crashed. It perhaps lead other software to crash as well (FbmSusp, SuspCsm2 and FdWrite previously launched by Didier).
- Restarted all the above software with the versions given by Didier in separate x terminals. All things seem to work properly this morning. The new data are stored on ax11 :
/scratch/DAQ/FbmSusp/lastdata/data0705/FR....
11:34 - lost control over Fbf17PR after dataDisplay crashed. The
rio is still accessable via rsh but Fbf does not answer to any Cm message. After having connected gdb on the process, it appears to
be hung :
0x100a45c8 in _trap_ ()
(gdb) where
#0 0x100a45c8 in _trap_ ()
#1 0x100981c0 in unlocked_fflush ()
#2 0x1009802c in fflush ()
#3 0x10005bdc in FbfSender ()
#4 0x10006d30 in main ()
#5 0x100927ac in runmainthread ()
#6 0x10001048 in __start ()
(gdb)
The DOLs still transmit data on both upper and lower parts.
Vicenzo suggests that we simply stop and restart the process.
In the meanwhile (several minutes), gdb (which was still controlling the running process) halted on 6 SIGPIPE (broken pipe) signals (I requested continue each time) and FbfServer finally stopped. The client had not been stopped but the ax8 was out of available processes.
Then I restarted it, it seems to have restarted OK.
on tuesday late in the afternoon, we lost control on the rio42B -
the GxServer42B crashed. The suspension control was simply frozen because there was no access to Gx data. We had to manually reboot both rio42A and B, reset timing board and also reset the camera board via GxCamTt (there was no interrupt for Gx). Franco helped for this task.
A few minutes afterwards, Fbf17PR crashed (only a "kill -9" did work on the process). We simply restarted it, there was apparently no loss of control on the rio17.
No configuration change for this event, either on suspensions or DAQ.
Fast frame builder Fbf17a seem to stop receiving data from the
power recycling DOLs (29/57) after about 4 hours running (Client was frozen on this server).
Things got OK after stopping every connected software (GxServer42 and Fbf17PR), resetting the timing board and start all once. Then Franco made a new download on the DSP (lower and upper parts of the tower) and DOLs started again transmitting data to the fast frame builder.
No evidence has been proven on a possible failure of the fast frame builder.