Summary:
Every new year (on Dec 31 or Jan 1), all of the realtime models will report a "0x4000" error. This happens due to an offset to the GPStime driver not being updated. Here is how this can be fixed (slightly modified version of what was done at LASTI).
Steps to fix the DC errors:
- ssh into FB machine.
- Edit the file /opt/rtcds/rtscore/release/src/include/drv/spectracomGPS.c:
- Navigate to /opt/rtcds/rtscore/release/src/drv/symmetricom. Run the following commands:
sudo make
sudo make install
- Stop all the daqd processes and reload symmetricom:
sudo systemctl daqd_* stop
sudo modprobe -r symmetricom
sudo modprobe symmetricom
- Re-start the daqd processes:
sudo service daqd_* start
Independent of this, there is a 1 second offset between the gpstimes reported by /proc/gps and gpstime. However, this doesn't seem to drift. We had effected a static offset to correct for this in the daqd config files, and it looks like these do not need to be updated on a yearly basis. All the daqd indicators are now green, see Attachment #1. |