Re: [ntp:questions] Inexpensive OEM GPS units?

2007-11-11 Thread Svein Skogen
Wesley J. Landaker wrote: > Can anyone give me some suggestions on inexpensive (< $100) OEM GPS > units that support NMEA and 1PPS for use with NTP? Or any non-GPS > hardware clock sources that anyone can suggest? > > I am already aware of the Garmin GPS 18 LVC, which seems the most > promising, b

Re: [ntp:questions] Inexpensive OEM GPS units?

2007-11-11 Thread Hal Murray
In article <[EMAIL PROTECTED]>, "Wesley J. Landaker" <[EMAIL PROTECTED]> writes: >Can anyone give me some suggestions on inexpensive (< $100) OEM GPS >units that support NMEA and 1PPS for use with NTP? Or any non-GPS >hardware clock sources that anyone can suggest? > >I am already aware of the Gar

Re: [ntp:questions] Inexpensive OEM GPS units?

2007-11-11 Thread David Woolley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Svein Skogen) wrote: > Wesley J. Landaker wrote: > > Can anyone give me some suggestions on inexpensive (< $100) OEM GPS > > units that support NMEA and 1PPS for use with NTP? Or any non-GPS I'm not sure you will get much below USD 100, but there

[ntp:questions] Looking for help testing SHM driver improvements

2007-11-11 Thread Hal Murray
The current SHM driver looks for a sample each polling interval. The documentation for gpsd suggests using minpoll and maxpoll of 4. I've fixed the SHM driver to look every second. The refclock infrastructure already had a FIFO and code to process things like this. This reduces the jitter signif

Re: [ntp:questions] Inexpensive OEM GPS units?

2007-11-11 Thread Richard B. Gilbert
Wesley J. Landaker wrote: > Can anyone give me some suggestions on inexpensive (< $100) OEM GPS > units that support NMEA and 1PPS for use with NTP? Or any non-GPS > hardware clock sources that anyone can suggest? > > I am already aware of the Garmin GPS 18 LVC, which seems the most > promising, b

[ntp:questions] ntpd deletes IPv6 interface after startup

2007-11-11 Thread Hauke Lampe
Hello. After updating from 4.2.0a to 4.2.4p4, I experience some problems getting the IPv6 interface to work again. It did work with 4.2.0a. ntpd initializes the interface at startup and then deletes it immediately afterwards. I tracked the problem down to update_interfaces() in ntp_io.c where

Re: [ntp:questions] Inexpensive OEM GPS units?

2007-11-11 Thread Wesley J. Landaker
Steve Kostecke wrote: > The NTP wiki (i.e. http://support.ntp.org/support) is the logical > place to start such a list. If for no other reason than the fact that > everyone is able to contribute their little bit of information. > > Of course this requires that someone or, better yet, a group of >

Re: [ntp:questions] ntpd deletes IPv6 interface after startup

2007-11-11 Thread Frank Kardel
Hauke, your observation seem correct. I have no idea why the ifiter code skips IPv6 interfaces on the second round. There seems to be a bug there. ifiter must return the complete currently valid interface list or the interface scanning code will not work correctly. Have you checked via ifconfig -a

Re: [ntp:questions] NTP + kernel frequency

2007-11-11 Thread David L. Mills
Hal, Ooop; sorry for the runt that escaped here. Any work on the Linux kernel to avoid timer interrupts is incompatible with NTP. This is not a bad or good judgement, just and engineering constraint. If timer interrupts are disabled, disable NTP. ON the issue about timer interrupts at frequenc

Re: [ntp:questions] NTP + kernel frequency

2007-11-11 Thread David L. Mills
Hal Murray wrote: >>>On Linux, a simpler way can be to look at /proc/interrupts - e.g. >>>(probably Linux-version- and possibly config-specific): >>> >>>$ (cat /proc/interrupts; sleep 10; cat /proc/interrupts) | \ >>> awk '/timer/{prev=now; now=$2} END{printf "%dHz\n", int((now-prev)/10)}' >> >>Th

Re: [ntp:questions] ntpd deletes IPv6 interface after startup

2007-11-11 Thread Hauke Lampe
Frank Kardel schrieb: > Have you checked via ifconfig -a that the interface are still listed > when ifiter fails to enumerate them ? Yes, the interface state has not changed since the last reboot. It's up and reachable from the outside. > Please file a bug at http://bugs.ntp.org. Be sure to in

Re: [ntp:questions] NTP + kernel frequency

2007-11-11 Thread Uwe Klein
David L. Mills wrote: > ON the issue about timer interrupts at frequencies other than 100 Hz, > this is easy to fix. The nanokernel code that left here uses a constant > SHIFT_PLL that must be scaled inversely as the timer interrupt > frequency. It does not need to be exact, but close. I don't

Re: [ntp:questions] Inexpensive OEM GPS units?

2007-11-11 Thread Hal Murray
>Although from all the other replies (thanks everyone), it sounds like >maybe there really just aren't tons of other cheap OEM options. Your original request wanted a PPS signal. If you don't really need that, you have a lot more options. There are many low cost GPS units with USB connections.

Re: [ntp:questions] ntpd deletes IPv6 interface after startup

2007-11-11 Thread Frank Kardel
Hi Hauke ! Hauke Lampe wrote: > Frank Kardel schrieb: ... > I did a bit more research for a bug report. Thanks for digging into that. > > Due to a bug in my debugging output (d'Oh!), ntpd appeared to use > getifaddrs while in fact it used ifiter_ioctl. As I understand it, glibc's > getifaddrs(