Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ucsd!sdcsvax!trantor.harris-atd.com!trantor!mwills From: mwills@x102a.x102a.harris-atd.com (wills ms 01309) Newsgroups: comp.sys.amiga Subject: DNET Problems Message-ID: Date: 21 Feb 89 23:34:24 GMT Sender: news@trantor.harris-atd.com Distribution: comp Organization: Harris Gov't Aerospace Systems Division Lines: 74 Posting-Front-End: GNU Emacs 18.47.1 of Thu Oct 15 1987 on x102a (hcx/ux) I'm having trouble bringing up DNET on our SYS V machine with Berkley extensions (Harris HCX-9 supermini). I had no trouble bringing up UW, as we have support for pty's and berkley IPC on the UNIX side. Still, I run dnet (I've even tried "dnet -8 -d") on the amiga, log in to UNIX and run "dnet debug" there. The dnet window goes away, and FTERM pops up, but it times out saying that it can't connect to the server. The UNIX end periodically sends a burst to the amiga (observable via modem RX Data LED), but no more windows nor nuttin'. The amiga dnet continues in the background, and I can pop the main window up again, followed by another FTERM by saying "break 1", just as advertised. But the timeout repeats. When the main window is up, I tried executing "quit dnet" from the pulldown menu, to no avail. "Quitdnet" at the CLI prompt results in a message indicating that the UNIX end should exit shortly, but it never does. I have to hang up the line to kill it (not a productive debugging environment). I've tried the version from ms.uky.edu and the version from ucbvax which appears newer, although it bears the same version numbers (1.20). My changes so far to get it to compile are as follows: 1. I had to remove the cc "-o" options in the makefile, they aren't supported under (our?) sys V in conjunction with "-c". 2. I also had to remove the "ulong" typedefs, they already exist here. 3. two occurances of fcntl(fd, F_SETFL, FNDELAY|FASYNC) become fcntl(fd, F_SETFL, FNDELAY) since FASYNC is not defined (not needed?) under sys V. (client/draw.c & client/dsoc.c) 4. Our /usr/include/sys/file.h includes /usr/include/sys/fcntl.h a second time (after dnetlib.c explicitly includes it), so I copied file.h and removed the redundant inclusion. I'm really interested in getting this up, as preceeding discussion implies that its a very good alternative to UW. Here is an excerpt from the .DNET/DNET.LOG file, in case any of you can decipher it for me. Any help is appreciated. From .DNET/DNET.LOG: Debugger running DNET RUNNING, Listenfd=3 NETWRITE 00006534 3 WTimeout set SERR -1 4 00000000 bfffe2b8 WTO NETWRITE 00008884 3 WTimeout set SERR 1 4 00000000 bfffe2b8 NETREAD 000088c4 6 RS_CCHK FAILED RS_CCHK FAILED WNET-STARTTO WTimeout set SERR 1 4 00000000 bfffe2b8 NETREAD 000088c4 5 WNET-NOP SERR -1 4 00000000 bfffe2b8 WTO NETWRITE 00008884 3 WTimeout set SERR 1 4 00000000 bfffe2b8 NETREAD 000088c4 6 RS_CCHK FAILED WNET-STARTTO WTimeout set etc. -- - Scott Wills mwills@x102a.harris-atd.com uunet!x102a!mwills