Subject: Re: kern/30815: ntpd refclockio broken wrt/ SIGIO
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 07/24/2005 23:45:02
The following reply was made to PR kern/30815; it has been noted by GNATS.

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: kern/30815: ntpd refclockio broken wrt/ SIGIO
Date: Sun, 24 Jul 2005 19:44:37 -0400

 On Jul 23,  1:30pm, kardel@acm.org (kardel@acm.org) wrote:
 -- Subject: kern/30815: ntpd refclockio broken wrt/ SIGIO
 
 | 	The recent relaxation to allow SIGIO on tty descriptors without
 | 	requiring TIOCSCTTY is incomplete. Current version 1.9 of
 | 	usr.sbin/ntp/include/config.h has USE_FSETOWNCTTY commented out.
 | 	So ntpd doesn't aquire a CTTY. Fact is that currently TTY input
 | 	does not cause a SIGIO to be delivered in this setup.
 | 	ntpd pretends to run because of network SIGIOs, but ntpd is
 |         unable to actually use a tty refclock as input on a TTY as
 | 	input is batched in intervals of network caused SIGIOs.
 | 
 | 	So, currently ntpd refclock support is broken.
 
 Does the code set FIOASYNC?
 
 christos