Rolf came to the 40m today and managed to figure out what the problem is. Reading just dmesg was not enough to solve the problem. Useful log was in
>> cat /opt/rtcds/caltech/c1/target/c1x03/c1x03epics/iocC1.log
Starting iocInit
The CA server's beacon address list was empty after initialization?
iocRun: All initialization complete
sh: iniChk.pl: command not found
Failed to load DAQ configuration file
iniChk.pl checks the .ini file of the model.
>> cat /opt/rtcds/rtscore/release/src/drv/param.c
int loadDaqConfigFile(DAQ_INFO_BLOCK *info, char *site, char *ifo, char *sys)
{
strcpy(perlCommand, "iniChk.pl ");
.........
strcat(perlCommand, fname); // fname - name of the .ini file
..........
}
So the problem was not in the C1X03.ini. The code could not find the perl script though it was in the /opt/rtcds/caltech/c1/scripts directory. Some environment variables are not set. Rolf added /opt/rtcds/caltech/c1/scripts/ to $PATH variable and c1ioo models (x03, ioo, gcv) started successfully. He is not sure whether this is a right way or not, because other machines also do not have "scripts" directory in their PATH variable.
>> cat /opt/rtcds/caltech/c1/target/c1x03/c1x03epics/iocC1.log
Starting iocInit
The CA server's beacon address list was empty after initialization?
iocRun: All initialization complete
Total count of 'acquire=0' is 2
Total count of 'acquire=1' is 0
Total count of 'acquire=0' and 'acquire=1' is 2
Counted 0 entries of datarate=256 for a total of 0
Counted 0 entries of datarate=512 for a total of 0
Counted 0 entries of datarate=1024 for a total of 0
Counted 0 entries of datarate=2048 for a total of 0
Counted 0 entries of datarate=4096 for a total of 0
Counted 0 entries of datarate=8192 for a total of 0
Counted 0 entries of datarate=16384 for a total of 0
Counted 0 entries of datarate=32768 for a total of 0
Counted 2 entries of datarate=65536 for a total of 131072
Total data rate is 524288 bytes - OK
Total error count is 0
Rolf mentioned about automatic set up of variables - kiis of smth like that - probably that script is not working correctly. Rolf will add this problem to his list. |