Major problems with A/UX serial drivers?

Marcelo Gallardo marcelo at deadzone.uucp
Mon Jul 1 06:18:39 AEST 1991


alexis at panix.uucp (Alexis Rosen) writes:

>>	I had noticed that this generally happened when two precesses
>>	tried to grab the port at the same time, or even when the port
>>	was being used, and your UUPOLL script (wonderful script BTW)
>>	tried to access the port.

>(Thanks!) Could you go into more detail on this? The whole point of that
>script was to _not_ do any damage if something else owns the port that the
>script is trying to use. If that weren't the case here, this system would
>be completely unusable- we're dialing in and out all the time.
	
	When I would grab the tty1 port (to call out via cu), and UUPOLL
	would try to grab the port, it would sometimes freeze up the
	system. It was as if it didn't see the LCK file. I hardcoded the
	LCK check into the script, and I haven't had a problem since.

	I don't know why it was "ignoring" the LCK as you had it
	written, since it obviously seems to work for you, but it didn't
	here. It would then try to set the port, and that's when things
	got messy.

-- 
Marcelo Gallardo			marcelo%deadzone at princeton.edu
Test and Evaluation Specialist		...!princeton!deadzone!marcelo
Princeton University			marcelo at sparcwood.princeton.edu
Advanced Technologies and Applications		(609) 258-5661



More information about the Comp.unix.aux mailing list