Re: [ntp:hackers] u-blox reference clock driver

2018-08-27 Thread Udo van den Heuvel via devel
On 27-08-18 23:47, Gary E. Miller via devel wrote: On Thu, 23 Aug 2018 20:39:37 +0200 Achim Gratz via devel wrote: if anybody has any concrete questions I'll relay them when I get back. I was also out, and now back. We probably need to work with linuxpps, but we may have an easier time work

Re: LKM Timemark Driver

2018-08-27 Thread Gary E. Miller via devel
Yo MLewis! On Mon, 27 Aug 2018 23:17:06 -0400 MLewis via devel wrote: > You don't need a precise > Pi interrupt, you don't even need any Pi interrupt. The precision is > in obtaining the kernel timestamp and the timemark. No need to keep repeating what we already agree on. Time to move onto wh

Re: LKM Timemark Driver

2018-08-27 Thread MLewis via devel
Gary, On 27/08/2018 10:58 PM, Gary E. Miller via devel wrote: Yo MLewis! On Mon, 27 Aug 2018 22:07:55 -0400 MLewis via devel wrote: "Strictly speaking, the PPS pulse isn�t even necessary for this process. One could simply generate a pulse on the external interrupt line once per second at

Re: LKM Timemark Driver

2018-08-27 Thread Gary E. Miller via devel
Yo MLewis! On Mon, 27 Aug 2018 22:07:55 -0400 MLewis via devel wrote: > >> The thesis confirmed what I suspected, that the best results are > >> from a kernel timestamp of the outgoing trigger that has the ublox > >> generate its Timemark timestamp. > > Yes, thus the need for the PPS timestamp

Re: LKM Timemark Driver

2018-08-27 Thread MLewis via devel
Gary, On 27/08/2018 8:56 PM, Gary E. Miller via devel wrote: Yo MLewis! On Mon, 27 Aug 2018 19:07:52 -0400 MLewis via devel wrote: Gary, On 27/08/2018 6:38 PM, Gary E. Miller via devel wrote: Yo MLewis! On Mon, 27 Aug 2018 18:24:01 -0400 MLewis via devel wrote: The key thing I, and othe

Re: Blizzard of warnings on NetBSD 8

2018-08-27 Thread Hal Murray via devel
> Are you seeing these same warnings on NetBSD 7? No, NetBSD 7 had been clean. >> ../../ntpd/ntp_control.c:2628:8: warning: format '%u' expects argument of >> type 'unsigned int', but argument 4 has type 'int' [-Wformat=] > I filed https://gitlab.com/NTPsec/ntpsec/issues/496 a week ago for th

Re: Blizzard of warnings on NetBSD 8

2018-08-27 Thread Matthew Selsky via devel
On Mon, Aug 27, 2018 at 05:20:45PM -0700, Hal Murray via devel wrote: > > What's the story? > > I'm catching up after being off line for several weeks. I updated a NetBSD > box to 8.0 and now it produces lots and lots of warnings that I expect would > get fixed before a release. I brought up

Re: LKM Timemark Driver

2018-08-27 Thread Gary E. Miller via devel
Yo MLewis! On Mon, 27 Aug 2018 19:07:52 -0400 MLewis via devel wrote: > Gary, > > On 27/08/2018 6:38 PM, Gary E. Miller via devel wrote: > > Yo MLewis! > > > > On Mon, 27 Aug 2018 18:24:01 -0400 > > MLewis via devel wrote: > > > > The key thing I, and others, want from the Lukas patch is the >

Blizzard of warnings on NetBSD 8

2018-08-27 Thread Hal Murray via devel
What's the story? I'm catching up after being off line for several weeks. I updated a NetBSD box to 8.0 and now it produces lots and lots of warnings that I expect would get fixed before a release. Most are complaining about %m. Sample: ../../libntp/msyslog.c:512:5: warning: %m is only al

Re: LKM Timemark Driver

2018-08-27 Thread MLewis via devel
Gary, On 27/08/2018 6:38 PM, Gary E. Miller via devel wrote: Yo MLewis! On Mon, 27 Aug 2018 18:24:01 -0400 MLewis via devel wrote: The key thing I, and others, want from the Lukas patch is the PPS out when the kernel detects the PPS. Without out, nothing much else matters. The PPS becomes

Re: LKM Timemark Driver

2018-08-27 Thread Gary E. Miller via devel
Yo MLewis! On Mon, 27 Aug 2018 18:24:01 -0400 MLewis via devel wrote: > Not me. I looked at it and having it as a patch didn't make sense to > me. I hope someone picks it up, my TODO list already long. > So I'm developing a LKM to trigger Timemarks with timespec timestamps > and sequence numb

Re: LKM Timemark Driver

2018-08-27 Thread MLewis via devel
On 27/08/2018 5:47 PM, Gary E. Miller via devel wrote: Yo Achim! Has anyone applied the patch and checked it out? RGDS GARY Gary, Not me. I looked at it and having it as a patch didn't make sense to me. So I'm developing a LKM to trigger Timemarks with timespec timestamps and sequence num

Re: [ntp:hackers] u-blox reference clock driver

2018-08-27 Thread Gary E. Miller via devel
Yo Achim! On Thu, 23 Aug 2018 20:39:37 +0200 Achim Gratz via devel wrote: > if anybody has any > concrete questions I'll relay them when I get back. I was also out, and now back. We probably need to work with linuxpps, but we may have an easier time working with the folks that maintain the Ras