[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dialnet timing problems (was: "Modems")
- To: SLUG@ai.sri.com
- Subject: Dialnet timing problems (was: "Modems")
- From: Mly@ai.mit.edu (Richard Mlynarik)
- Date: Tue, 6 Nov 1990 12:51:00 -0500
- Character-type-mappings: (1 0 (NIL 0) (NIL :ITALIC NIL) "CPTFONTI")
- Fonts: CPTFONT, CPTFONTI
- Illegal-object: Syntax error in References: value found on neat.cs.toronto.edu: References: <880203161051.7.KAO@BINKLEY.SCH.Symbolics.COM>,<19880212114507.5.MLY@Bullwinkle.Palladian.COM>,<19880212193003.1.DODDS@ANNISQUAM.SCRC.Symbolics.COM>,<19880425053831.7.FILE-SERVER@ZERMATT.LCS.MIT.EDU>,<19880425220235.8.TAIT@BILL-THE-CAT.SCH.Symbolics.COM>,<19890315001238.5.CHUCKO@BARNABUS.SCH.Symbolics.COM>,<19890319073530.7.MLY@ISABEL-PERON.AI.MIT.EDU>,<19890319073530.7.MLY@ISABEL-PERON.AI.MIT.EDU>,<19890425042232.6.MLY@JACKIE-O.AI.MIT.EDU>,<19890425042232.6.MLY@JACKIE-O.AI.MIT.EDU>,<19890425135743.3.VT-SERVER@VERMITHRAX.SCH.Symbolics.COM>,<19890425172156.2.CHUCKO@BARNABUS.SCH.Symbolics.COM> <19890425172156.2.CHUCKO@BARNABUS.SCH.Symbolics.COM> ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^-illegal reference separator | | | | | | | | | \-illegal reference separator | | | | | | | | \-illegal reference separator | | | | | | | \-illegal reference separator | | | | | | \-illegal reference separator | | | | | \-illegal reference separator | | | | \-illegal reference separator | | | \-illegal reference separator | | \-illegal reference separator | \-illegal reference separator \-illegal reference separator
- In-reply-to: <19901101160641.1.GOOCH@TIJERAS.SW-SW.Dialnet.Symbolics.COM>, <19901101222658.1.JFK@BOLD-EAGLE.varian.dialnet.symbolics.com>, <19901102161856.1.KMA@SAMSON.cadr.amis.com>, <19901102103602.6.P2@porter.asl.dialnet.symbolics.com>
Date: Fri, 2 Nov 90 10:36-0000
From: email@example.com (Peter Paine)
Date: Thu, 1 Nov 90 14:26 PST
From: JFK@BOLD-EAGLE.varian.dialnet.symbolics.com (Joe F. Karnicky)
(2) Frequently, my system gets into a state where it is not possible for
me to successfully probe Riverside. My modem goes off hook, dials,
Riverside answers, and I see a carrier detect. However, the carrier is
then immediately lost. This seems to be a Riverside-specific problem
as I can successfully dial up other (non-Symbolics) computers.
I'm currently working with Symbolics software support on sorting out
what's going on.
I have been having quite a war with what I take to be the same problem
as yours. In the short term, I wrote a fix that actually keeps the
mailer operational. Hoping that this is of use - and not too hideous.
;;; -*- Mode: LISP; Syntax: Common-lisp; Package: USER; Base: 10 -*-
;;; Pole Dialnet at intervals to check whether it is jammed, if so restart it.
;;; To do: post notification into S&F mail Log window
(That's "Poll" by the way.)
This sounds suspiciously like a fundamental dialnet bug which
Symbolics has known about for about three years. Unfortunately, my
actual patch for this bug is offline, but I could attempt to retrieve it
if some dialnet-sufferers would like to try it out. There are a number
of other known timing problems in the dialnet code, BTW.
Date: Mon, 11 Jan 88 16:47 EST
In Symbolics 3640 Genera 7.1, IP-TCP 52.16, 7-1-Patches 1.34,
Hu-Kwa 12.2, microcode 3640-MIC 396, FEP 127, FEP0:>v127-lisp.flod(55),
Machine serial number 5146,
Debug ERROR-REPORTER frames. (from J:>Mly>Debugger-Patch.lisp.12), on Bullwinkle J. Moose:
SYS:DIALNET;STREAM.LISP contains the following comment:
This means that both ends wanted to request service at the same time. In this case,
the user waits a random amount of time of around 1 second and then returns to the IDLE
state. From there, it will either get the other ends request or manage to send its
However, absolutely 1no0 attempt is made to implement the above behaviour!!
In fact, what happens in such a situation is that the interface is set
to state :IDLE (by the receiver process). This means that
(FLAVOR:METHOD :OPEN-STREAM DIAL:DIALNET-INTERFACE), running in the user
process, will notice that STATE is no longer :REQUEST-SENT, but is not
:OPEN, and will then signal an error saying that the connection was
refused (with a :REASON of NIL) This is completely broken!
I believe that the below patch is a (deadlock-free) way of fixing this
problem. It has the correct behaviour of making :OPEN-STREAM wait until
its attempt to connect is really accepted or rejected by the remote end,
rather than stupidly, incorrectly and misleadingly claiming to have been
rejected. The patch doesn't rely on the remote machine running the same
It is very easy to reproduce this lossage: Just open two successive
dialnet connection to another host which is waiting to open a dialnet
connection to you. We saw this all the time as a result of the following:
1 Invoke MAIL-PROBE service on remote host.
2 Immediately following this, invoke SMTP service on remote host.
2a Remote host invokes SMTP service on us as soon as it sees that
it has a connection to us.
Steps 2 and 2a happen `simultaneously,' and both ends end up claiming
that their connection request was rejected (and, unfortunately for our
mail service, claiming that the other host has gone down -- even though
it still has a live (idle) connection to it...)
[... patch deleted ...]
- Modems - hack
- From: firstname.lastname@example.org (Peter Paine)