Subject: Re: async I/O
To: Tom I Helbekkmo <>
From: Jan-Hinrich Fessel <>
List: current-users
Date: 09/04/1996 10:11:30
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 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)        3   64  377 0.00000  0.000000 0.01001
*GENERIC(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 :)


 					Tragbar ist, was nicht herunterfaellt.


Content-Type: application/pgp-signature

Version: 2.6.3i