On 2012-10-28T12:35:55+0100, Kurt Roeckx <k...@roeckx.be> wrote: > On Sun, Oct 28, 2012 at 03:28:43PM +0400, ???? ???????? wrote: > > Package: ntp > > Version: 4.2.6.p5+dfsg-2 > > Debian: Wheezy > > > > ntpd does not recognize reference clock 22 (PPS) with message refclock > > 22 invalid in syslog. > > > > To fix the problem: > > I have installed pps-tools _firtst_. Then I have downloaded source > > code apt-get source ntp && apt-get build-dep ntp. Then I build it with > > debuild and now everything is ok. I think that pps-tools should be in > > build dependencies for ntp. > > pps-tools seems to be new in Debian. > > Do you know if the ppsapi has been added to the standard kernel, > and that it's enabled in Debian by default?
PPS cannot be properly used with the default Debian kernels because they do not enable CONFIG_NTP_PPS. But this requires enabling CONFIG_NO_HZ_COMMON and CONFIG_RCU_FAST_NO_HZ, which is why CONFIG_NTP_PPS probably won't be a default. However, the NTP package should still build-depend on pps-tools. Then that's just one fewer step to making a PPS-enabled stratum 1 NTP server on Debian, and there's no harm if you're not running PPS (you're already building support for refclocks in the Debian NTP package, so it doesn't make sense to leave out PPS support). It's pretty easy to build a custom kernel nowadays with "make deb-pkg" in the standard kernel source. -- Kenyon Ralph
signature.asc
Description: Digital signature