Linux PPP protocol development
 help / color / mirror / Atom feed
* hanging tcsetattr call
@ 2008-03-05 22:19 bfc
  2008-03-05 22:31 ` Bill Unruh
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bfc @ 2008-03-05 22:19 UTC (permalink / raw)
  To: linux-ppp


It seems when my chat script times out, i'll get an "alarm" notification from
chat, then chat exits, and
pppd hangs for a while on a tcsetattr() call -- it's trying to restore the
terminal characteristics of
our serial port.  

Eventually it syslogs:
Mar  5 17:09:25 box pppd[21132]: tcsetattr: Interrupted system call (line
1001)

Evidentally the pppd can no longer use the device, perhaps it's been reset
from having an session attempted
but not succeeding?  Anyone else ever see this problem?

Should there be any signal flow that causes this to go correctly, e.g. a
SIGCHLD going to the pppd?
Or does pppd just see a non-zero exit value from chat, and should gracefully
shut itself down?

Thanks!
-- 
View this message in context: http://www.nabble.com/hanging-tcsetattr-call-tp15861511p15861511.html
Sent from the linux-ppp mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-06  1:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-05 22:19 hanging tcsetattr call bfc
2008-03-05 22:31 ` Bill Unruh
2008-03-06  1:43 ` bfc
2008-03-06  1:58 ` Bill Unruh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox