rtc failure

under QNX4.25D I have the following problem:

I have local time in CMOS (so I launch rtc -l at start), my TZ=LAT-02
Let us suppose that I have system OS local time 12:00:00 (returned by date)
if I write to CMOS 11:00:00 and I launch
rtc -l -r 10 -S86400 hw
to require slowly adjusting,
the system time starts be faster instead slower
Instead decreasing of the one-hour difference,
the difference increases over one hour.

This worked fine under QNX4.24 surely and probably on 4.25 and 4.25C too.

Can somebody confirm the same failure ?
Have you any advice ?

Thanks in advance, Andy

Andrej Lucny <andy@nod10.mstep> wrote:

under QNX4.25D I have the following problem:

I have local time in CMOS (so I launch rtc -l at start), my TZ=LAT-02
Let us suppose that I have system OS local time 12:00:00 (returned by date)
if I write to CMOS 11:00:00 and I launch
rtc -l -r 10 -S86400 hw
to require slowly adjusting,
the system time starts be faster instead slower
Instead decreasing of the one-hour difference,
the difference increases over one hour.

This worked fine under QNX4.24 surely and probably on 4.25 and 4.25C too.

Can somebody confirm the same failure ?
Have you any advice ?

Thanks in advance, Andy

I played with it a little bit more, it must be error of QNX.
No response from QSSL ?

But, may be, another procedure to adjust time slowly is possible.
Hasn’t anybody used this feature successfully with QNX4.25D ?

Andy

I’ve tried QNX4.25E, the same problem.

Andy

I have the problem demystified.
Time adjustment is expressed in microseconds, therefore
maximal time difference is ±2147s (±35’).
Within this range QNX works properly.
rtc does not take care if the adjustment is not too big, only.
It is not serious problem.

Andy