You are not logged in.

#1 2010-03-18 12:44:11

m1klos
Member
From: Hungary
Registered: 2010-03-18
Posts: 3

[SOLVED] constantly growing gap between System Time and hardware clock

Hello!

I have 32 bit Archlinux installed without X. The System Time (date command) is constantly growing. After hwclock -s it is the same as the hardware clock, but after an hour the System Time is ahed of hwclock by few minutes, and it is growing. I tried changing in rc.conf localtime to UTC, installed OpenNTPD, Syu, none of them solved the problem. Does anyone have an idea about the solution? Thanks in advance!

M1klos

Last edited by m1klos (2010-03-18 17:04:00)

Offline

#2 2010-03-18 13:45:28

Coacher
Guest

Re: [SOLVED] constantly growing gap between System Time and hardware clock

Try to add 'nohz=off' to your kernel boot parametrs list. It will disable dynamic ticks for you and can solve this problem.

#3 2010-03-18 14:11:37

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED] constantly growing gap between System Time and hardware clock

Remove /var/lib/hwclock/adjtime, readjust the hardware clock and reboot. This helps in most such cases.


To know or not to know ...
... the questions remain forever.

Offline

#4 2010-03-18 15:37:36

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: [SOLVED] constantly growing gap between System Time and hardware clock

openNTPD doesn't correct for hardware drift

if you want correction for it, you can install ntp and disable the adjtime cronjob

Offline

#5 2010-03-18 15:53:13

BarefootSoul83
Member
From: Virginia, USA
Registered: 2009-10-07
Posts: 110
Website

Re: [SOLVED] constantly growing gap between System Time and hardware clock

e2fsprogs


This fixed all my clock issues at once and for good!

Last edited by BarefootSoul83 (2010-03-18 15:53:56)

Offline

#6 2010-03-18 16:16:01

m1klos
Member
From: Hungary
Registered: 2010-03-18
Posts: 3

Re: [SOLVED] constantly growing gap between System Time and hardware clock

Thank you for the answers! I will try all of them!

Last edited by m1klos (2010-03-18 16:16:46)

Offline

#7 2010-03-18 17:02:19

m1klos
Member
From: Hungary
Registered: 2010-03-18
Posts: 3

Re: [SOLVED] constantly growing gap between System Time and hardware clock

Thank you for the help, I installed ntp and disabled the adjtime cronjob, it solved the problem!

Offline

Board footer

Powered by FluxBB