Gc support due to problems with the Locking, it seems that the TMB board is misbehaving. Contacts checked, slot changed and several power-cycles performed without result. Note: at the TMB board the LED "VSB W R*" is always ON, at the SHM board LEDs are OFF.
Global Control›Global Control
#9624
2 comments
Few more informations about the Gc_Elasped_Time:
The increase of time between step12 and step15 can not be due to the "alpa technic" implementation which is only some linear combinaisons between ITF lengths
I suspects some critical section inside the riot_vsbdrv not correctly protected, in particular the one related to the transfert from CPU to TMB which should be time constant
To improve this transfert speed instead to perform polling on the bus to check the completion, a counter is incremented until a limit defined at the beginning. Nevertheless the process can descheduled during this time and instead of speed-up the use of the counter can extend the Gc cycle
To avoid, in agreement with MAB, a new version v1r04{p1,p2} of Gc/RIOT_Tools/RIOT_Tools_VmeVsb has been created yesterday on /virgoDev. The code has been modified by adding some sdisable and srestore for the critical sections and compiled using the make command.
But the compilation phase include also an automatic upgrade of the rio startup file used at boot time. The startup file are used to install the riot_vsbdrv needed to access the TMB, they should have the execution permission. During the automatic upgrade, the file has been copied from /virgoDev/.../v4r0{p1,p2} without propagating the execution permission.
So at the next boot, the riot_vsbdrv was not loaded and the Gc processes fails reporting that the TMB was not reachable
The situation was recovered this morning by changing the rio36 startup file located /rootfs/startup/.
The requirement file, more precisely the fragment file, has been upgraded to avoid the automatic update of the rio startup file for /virgoDev/Gc/RIOT_Tools/RIOT_Tools_VmeVsb/v4r0p2.
It also takes the opportunity to upgrade the rio startup canevas to allow the full memory use by on process and to allow core generation