[chrony-dev] Chrony problem - not synchronizing time |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx, chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-dev] Chrony problem - not synchronizing time
- From: Tino Mihajlovik <tinomk@xxxxxxxxx>
- Date: Wed, 5 Oct 2022 07:11:10 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:date:message-id:subject:mime-version:from :content-transfer-encoding:from:to:cc:subject:date; bh=6K3CLFGDhxiOAdTsDGfeXIZN7eMsbz8eXDd9ABuKc/s=; b=IsqPSAYMZFYbOKrS5RiLU00Sk9s/Uq9MCiDS16b7MLPh23oxbDGorWEwLKfyoBXoXB kQhFxRGYwg0XqmSni2CX/GXAJwpL96Qu/SVCVTrUvEB9iVYIlTEV5ktCyQ3S8toaOZWx gXQa39i5ldY9F8+W4i16HBeLiNgevKjlpUfozcWuxwha1IsWmVKl7FE4YgvR1zOR+G9p TcqL+vypzcJ3dsmHEVsKEacuqejAJLY55tch4AZlZ2rLf90RN6gOcSdD2uVqMWDsQPNd QbHcUf4D1du2C7/EzZTNQwWfAwy8wdtgRenGPvGT5lmxNJhRw59OuefgSCuCFefg/mOz hYBw==
Dear All,
We have an implementation of custom hardware with GPS receiver and RTC (DS3231) with chrony and gpsd and it is working good. We always have a good flow of events meaning that first GPS is locked and chrony first selects GPS as a source( * sign) and after few minutes PPS ( hardware pin on the serial port) is selected as valid source(* sign). After this even if system time is off by few months or even a years the makestep directive is syncing the clock and everything works ok (using the maxdistance directive).
The problem I have is when i start my system with the GPS antenna hidden ( no good visibility to open sky) then I notice that chronyd will also select PPS as valid source ( since it is hardware) but before GPS actually locks( this is a real world situation when it might take longer time to get valid GPS lock). So when GPS locks it has valid time but at this moment PPS is already selected as source with *, and chrony is rejecting the NMEA messages with the valid time and system clock is not synced. I have noticed that during this time GPS source is marked as - or x.
Do you have any idea for this behaviour?
Attached is my chrony conf file.
Thank you,
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.