This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
cyg_ppp_wait_up sometimes never returns?
- From: "Ken Yee" <kenkyee at excite dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Cc:
- Date: Thu, 01 Nov 2012 12:57:15 -0400
- Subject: [ECOS] 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