Hello Ohjrson,
I found this website http://linux.die.net/man/8/hwclock
It states "You can also run hwclock periodically to insert or remove time from the Hardware Clock to compensate for systematic drift (where the clock consistently gains or loses time at a certain rate if left to run)."
Systemic drift sounds like/similar to what you have described.
In the options area of the page it covers
and states -
"If you specify the wrong one of these options (or specify neither and take a wrong default), both setting and querying of the Hardware Clock will be messed up. "
It may be worth looking into these on the link in more detail and altering these settings to see if any of these options solve the issue.
Reading a little more on this I notice -
"It works like this: hwclock keeps a file, /etc/adjtime, that keeps some historical information. This is called the adjtime file. "
So if this file is absent or not working for some reason then the hwclock will not check the current time and adjust the clock correctly, I am unsure how to test the adjtime file.
Finding this out would probably be better to test first before altering any of the options for hwclock.
I found this website http://linux.die.net/man/8/hwclock
It states "You can also run hwclock periodically to insert or remove time from the Hardware Clock to compensate for systematic drift (where the clock consistently gains or loses time at a certain rate if left to run)."
Systemic drift sounds like/similar to what you have described.
In the options area of the page it covers
Code:
-u
--utc
--localtime
and states -
"If you specify the wrong one of these options (or specify neither and take a wrong default), both setting and querying of the Hardware Clock will be messed up. "
It may be worth looking into these on the link in more detail and altering these settings to see if any of these options solve the issue.
Reading a little more on this I notice -
"It works like this: hwclock keeps a file, /etc/adjtime, that keeps some historical information. This is called the adjtime file. "
So if this file is absent or not working for some reason then the hwclock will not check the current time and adjust the clock correctly, I am unsure how to test the adjtime file.
Finding this out would probably be better to test first before altering any of the options for hwclock.