This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cyg_ppp_wait_up sometimes never returns?


Has anyone seen this issue w/ a PPP connection that's brought up/down a lot?

Symptom is it prints this via diag_printf's:
SYSLOG 08: Using interface ppp0
SYSLOG 04: Connect: ppp0 <--> /dev/ser0
SYSLOG 08: Connect time expired
SYSLOG 04: Connection terminated, connected for 1 minutes

and then a call to cyg_ppp_wait_up (being used to poll if PPP is still up) never returns.
PPP Idle timeout has been turned off because of a bug I reported.
Looks like there might be a connection timeout race condition w/ cyg_ppp_wait_up as well? :-P

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]