Re: [chrony-users] PHC / NIC / PPS mismatch |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] PHC / NIC / PPS mismatch
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 15 Nov 2021 09:53:49 +0100
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636966434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lS5kycq+yjUXZXZ5fXv9aF6BtpNQ8HXc+9RbHtb9hwY=; b=P8Zhs/gEochujy5XOfB1hWGuoV/Lu6gF7l5pRpDtF+BI30+Xw2a9agk7SuCWOAU8+41BoA FfelmwitIcSQfmKWqnCEKVM5Nl8CnFc8TNP2gganuvkrKvat5xSGcVBj49wqqrwYHUSbrf kel3q5Zf2cmtmwJMEoAYfz0m5s8hSOw=
On Fri, Nov 12, 2021 at 05:28:56PM -0800, Christopher Hoover wrote:
> refclock SHM 0 refid NMEA precision 1e-3 poll 3 offset 100e-3 noselect
> refclock PHC /dev/ptp2:extpps refid PPS width 100e-3 precision 1e-9 lock
> NMEA poll 0 trust
> If I look for PPS, I find it on ptp0/pps0 with Bullseye.
> It is not found anywhere else.
>
> If tried telling chrony to /dev/ptp0 instead of /dev/ptp2, but it does NOT
> find the PPS.
Does the SHM refclock work correctly? If it didn't, the PPS PHC
wouldn't report any samples. You could try removing the lock option
and add an NTP server to be sure.
I don't remember any changes between chrony-3.4 and 4.0 that could
have an impact in this configuration.
You could try adding ":pin=1" to the PHC refclock config, to see if
the newer kernel is numbering the pins differently, but I doubt it.
If that doesn't help, run chronyd in strace for few seconds and post
the output here.
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.