Subject: async I/O
To: None <current-users@NetBSD.ORG>
From: Jan-Hinrich Fessel <>
List: current-users
Date: 09/03/1996 18:06:55
Content-Type: text/plain; charset=us-ascii

I still wonder if anyone has gotten a parse refclock running under NetBSD 
(if that matters on this subject, -i386).

I still cannot get the xntpd to configure the clock, because it wishes to 
use async I/O and therefore tries to set the tty owner.
I get:
Sep  3 17:58:41 zippo xntpd[7341]: xntpd 5.85 Tue Sep  3 17:50:44 MET DST 1996 (1)
Sep  3 17:58:41 zippo xntpd[7341]: tickadj = 40, tick = 10000, tvu_maxslew = 3960
Sep  3 17:58:41 zippo xntpd[7341]: fcntl(F_SETOWN) fails for clock I/O: Inappropriate ioctl for device
Sep  3 17:58:41 zippo xntpd[7341]: PARSE receiver #1: parse_start: addclock /dev/refclock-1 fails (ABORT - clock type requires async io)

zippo# ls -l /dev/refclock-1
lrwxr-xr-x  1 root  wheel  5 Jan 15  1996 /dev/refclock-1 -> tty01
zippo# ls -l /dev/tty01
crw-------  1 uucp  wheel    8,   1 Nov 19  1995 /dev/tty01
zippo# dmesg | grep com
com2 at ast1 slave 0: ns8250 or ns16450, no fifo
com3 at ast1 slave 1: ns16550a, working fifo
com4 at ast1 slave 2: ns16550a, working fifo
com5 at ast1 slave 3: ns16550a, working fifo
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo

So, basically, what do I have to do to use async I/O with -current?


Content-Type: application/pgp-signature

Version: 2.6.3i