From owner-freebsd-stable Fri Nov 5 8:19:31 1999 Delivered-To: freebsd-stable@freebsd.org Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id B52EC14DA6 for ; Fri, 5 Nov 1999 08:19:24 -0800 (PST) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.3/8.9.3) id SAA17043; Fri, 5 Nov 1999 18:17:13 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <199911051617.SAA17043@zibbi.mikom.csir.co.za> Subject: Re: PPS Timing Interface and ONCORE GPS Clock / NTPD In-Reply-To: <19991105155011X.mrc@ChipChat.com> from Marty Cawthon at "Nov 5, 1999 03:50:11 pm" To: mrc@ChipChat.com (Marty Cawthon) Date: Fri, 5 Nov 1999 18:17:13 +0200 (SAT) Cc: freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You don't say which version of ntp you are using. If you are using something older than ntp-4.0.98b, please read the message I sent on Oct 16 to freebsd-stable with the subject line: HEADS UP: ntpd users If you are using ntp-4.0.98b or later tell me and I will look into it, because it is working for me. John -- John Hay -- John.Hay@mikom.csir.co.za > SUMMARY: > ONCORE GPS Clock source for NTPD on FreeBSD was working > with 3.3-Stable (Oct 8 1999). With 3.3-Stable (Nov 4 1999) > NTPD fails with a 'time_pps_setparams: Inappropriate ioctl for device' > message. It seems that '/dev/pps' may have been changed to '/dev/lppps0' > > REFERENCE: > http://phk.freebsd.dk/ntp/ > > DISCUSSION: > I had a GPS Clock working with FreeBSD 3.3-Stable > as described at http://phk.freebsd.dk/ntp/ > > Using FreeBSD 3.3-Stable (as of Oct 8 1999) I had this working. > NTPD would execute and diagnostic messages from the 'ONCORE' GPS > receiver would appear on STDOUT. > > I recently upgraded to 3.3-Stable (Nov 4 1999). > Now the NPTD program exits with a message: > > #ntpd -d -d > > getnetnum given 127.127.30.0, got 127.127.30.0 (7f7f1e00) > poll_update: at 0 127.127.30.0 poll 6 next 63 > refclock_open: fd 8 modem status 7 > refclock_ioctl: fd 8 flags 20 > time_pps_setparams: Inappropriate ioctl for device > > So it seems that there is trouble with 'time_pps_setparams'. > > I checked 'dmesg' to see if the pps device appears: > $dmesg | grep pps > lppps0: on ppbus 0 > > This 'lppps0' device (3 p's) looks strange to me. > > I tried changing the name of /dev/pps to be /dev/lppps0 > but to no avail. > > It seems that something may have changed in 3.3-Stable > between Oct 8 and Nov 4 with respect to the pps device. > > Perhaps somebody can provide a pointer for me with respect > to this problem. > > Marty Cawthon > ChipChat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message