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


Hej!
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?

Gruesse
	Oskar




--==_Exmh_-647914088P
Content-Type: application/pgp-signature

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

iQCVAwUBMixXnrA63tqjeAhZAQGUkAQAhNsOWqARUPEAsAa+Wvg5JsjHLidNioCl
YqwAl/kBlp/vxit/gGzv0hNQbXWI3fP7MepnsINeVXp6GjmW4sxwMUD8eJNhIvrr
cEvDg8a5uM+PNSfESmit4E8/0N1h77pQ/0AK9t1/qMvUHrgati3i5O3/+Pj61Vrw
njDw9mMUvK4=
=xPmU
-----END PGP MESSAGE-----

--==_Exmh_-647914088P--