[hacknews] dialin/dialout operational

henry@utzoo.UUCP (Henry Spencer) (03/07/85)

Although there seems to be one lingering problem with the dialin/dialout
stuff, which should be fixed at some point, it is *very* *tentatively*
declared operational.  5121 is now available for dialup again.  There
will be no public announcement until we're sure it's fully functioning.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry

henry@utzoo.UUCP (Henry Spencer) (03/08/85)

The "one lingering problem" alluded to in the previous message is now
understood, and a fixed kernel will be tested Monday.  It shouldn't
affect normal operation of 5121.  The problem was that any modem-status
interrupt after a dialout device was opened but before it made a call
successfully would abort the call, IF there wasn't a getty waiting on
the same line.  Roughly speaking.  The modem-interrupt code noticed
that carrier was off and nobody was waiting for it to be on, so it
turned the line off (dropping DTR etc. to the modem).  The real fun is
that there is guaranteed to be a modem-status interrupt just after the
dialout device is opened, since opening it raises RTS and the modem
soon replies by raising CTS.  So an outbound call got blown away almost
instantly, unless there was also a getty waiting for carrier.  The fix
isn't hard, the modem-interrupt code just needs to know whether there's
an uncompleted call in progress on the line.

P.S. An overdue acknowledgement:  Ron Gomes was the one who originally
	wrote the DH dialin/out code, although we've modified it a
	little.  The bugs we've found have been our mistakes or the
	result of different circumstances.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry