Subject: Re: async I/O
To: Tom I Helbekkmo <tih@hamartun.priv.no>
From: Jan-Hinrich Fessel <oskar@zappa.unna.ping.de>
List: current-users
Date: 09/04/1996 10:11:30
--==_Exmh_899118702P
Content-Type: text/plain; charset=us-ascii

In message <960903194332.28770A@barsoom.Hamartun.Priv.NO>you write:
> On Tue, 3 Sep 1996, Jan-Hinrich Fessel wrote:
> 
> > I still wonder if anyone has gotten a parse refclock running under NetBSD 
> 
> Here's what I wrote the last time you wondered...  :-)
[...]
> | 	#define USE_FSETOWNCTTY

Sorry, I thought NetBSD was already integrated into the tree.
But, as it seems, thogh there are some dependencies on SYS_NETBSD being 
defined, it seems to be defined nowhere.  And in ntp_machine.h there is only a 
conditional that defines USE_FSETOWNCTTY if SYS_BSDI is defined.

In short, I did know where to look but thought it was not neccessary.
In fact, this wasn't my problem at all, for after changing he relevant files, 
i get the familiar message:
Sep  4 08:58:46 zippo.unna.ping.de xntpd[20057]: ioctl(TIOCSCTTY, 0) fails for 
clock I/O: Operation not permitted

That is produced, when i start xntpd -d.  Now, if I start it without 
debugging, it seems to work:

xntpdc -s
     remote           local      st poll reach  delay   offset    disp
=======================================================================
 LOCAL(0)        127.0.0.1        3   64  377 0.00000  0.000000 0.01001
*GENERIC(1)      127.0.0.1        0   64  377 0.00000 -145.6174 0.00145

> ...and here's part of Torsten Duwe's followup to that:


I think, that needs to be fixed in some future release :)

Gruesse
       Oskar

 ==============================================================================
 					Tragbar ist, was nicht herunterfaellt.
						    oskar@zappa.unna.ping.de
 ==============================================================================



--==_Exmh_899118702P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.3i

iQCVAwUBMi05sbA63tqjeAhZAQE25wQAihmktJze2Ad8UqKVu8J4qzp6CweDIO3P
Wtd/qY/dOalK09XCjssujfNdpubN+dTkDBIFWoqukcM1PLyxcT+X7W02LF3wj0yX
cratUNTa0wXq2Pj69EnuoF6EPVh9FevFkD9/C4dEtqzdu2diH5nYpJT3faiR2iuj
p5jOdQer+jI=
=m7by
-----END PGP MESSAGE-----

--==_Exmh_899118702P--