[Bug 805661] Re: NO reference clock support. I need Oncore ref clock support in ntp.

Hal Engel 805661 at bugs.launchpad.net
Wed Jul 6 18:11:01 UTC 2011


I tried to hand build ntp with pps and reference clock support.  from
the configure I see that it is looking for the following header files:

sys/pptime.sys
sys/ppsclock.h
timepps.h

Checking my Gentoo installation I see that only the last header is
installed.  I copied the timepps.h header to /usr/include/ and at that
point the ntp build configuration will configure the build for the
oncore ref clock.  I now get teh following erros in the log:

can't open /var/log/ntpstats/clockstats:  Permission denied
refclock_open /dev/serial.0:  Permission denied
127.127.20.0 interface 127.0.0.1 -> none

So it is failing to create a clockstats file because of permissions.
What do I need to do to get this working?

Also my udev rules for the PPS/GPS stuff looks like this:

KERNEL=="ttyS1", RUN+="/bin/setserial -v /dev/%k low_latency",
SYMLINK+="oncore.serial.0"

KERNEL=="pps0", OWNER="root", GROUP="uucp", MODE="0660",
SYMLINK+="oncore.pps.0", OPTIONS+="last_rule"

What do I need to do in my udev rules to allow ntp to open the serial
device?

Another issues that may be related to this.   NTP will NOT build with
NANOsecond support and this should be working on all kernels starting
with 2.6.26.  Not sure what is causing this but there is likely some
type of issue with the kernel or glibc header files.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/805661

Title:
  NO reference clock support.  I need Oncore ref clock support in ntp.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/805661/+subscriptions



More information about the Ubuntu-server-bugs mailing list