Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #179 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

gprs doesn't handle disconnect/reconnect

Reported by: kevin@… Owned by: mickey
Priority: major Milestone:
Component: framework/ogsmd Version: milestone3
Keywords: Cc:

Description

FSO milestone3 here on debian.

When i activate gprs it connects and works fine for a bit, then after a while pppd gets no response from the remote side and disconnects. On trying to reconnect, it looks like the mux daemon is confused as to whats happening and no connection takes place.

Some logs:

Oct 11 19:18:12 garm pppd[2969]: sent [LCP TermReq? id=0x4 "Peer not responding"] Oct 11 19:18:15 garm pppd[2969]: Connection terminated. Oct 11 19:18:15 garm chat[3105]: abort on (OK) Oct 11 19:18:15 garm chat[3105]: abort on (BUSY) Oct 11 19:18:15 garm chat[3105]: abort on (DELAYED) Oct 11 19:18:15 garm chat[3105]: abort on (NO ANSWER) Oct 11 19:18:15 garm chat[3105]: abort on (NO CARRIER) Oct 11 19:18:15 garm chat[3105]: abort on (NO DIALTONE) Oct 11 19:18:15 garm chat[3105]: abort on (VOICE) Oct 11 19:18:15 garm chat[3105]: abort on (ERROR) Oct 11 19:18:15 garm chat[3105]: abort on (RINGING) Oct 11 19:18:15 garm chat[3105]: timeout set to 60 seconds Oct 11 19:18:15 garm chat[3105]: send (\k\k\k\d+++ATHM) Oct 11 19:18:16 garm chat[3105]: expect (NO CARRIER) Oct 11 19:19:16 garm chat[3105]: alarm Oct 11 19:19:16 garm chat[3105]: send (ATM) Oct 11 19:19:16 garm chat[3105]: expect (OK) Oct 11 19:20:16 garm chat[3105]: alarm Oct 11 19:20:16 garm chat[3105]: Failed Oct 11 19:20:16 garm pppd[2969]: disconnect script failed Oct 11 19:20:17 garm pppd[2969]: Modem hangup Oct 11 19:20:17 garm pppd[2969]: Exit. Oct 11 19:20:55 garm /usr/sbin/gsm0710muxd[1659]: gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/5 to virtual channel 4 for ogsmd.gprs on /dev/ttySAC0 Oct 11 19:20:55 garm pppd[3171]: pppd 2.4.4 started by root, uid 0 Oct 11 19:20:56 garm chat[3172]: abort on (BUSY) Oct 11 19:20:56 garm chat[3172]: abort on (DELAYED) Oct 11 19:20:56 garm chat[3172]: abort on (ERROR) Oct 11 19:20:56 garm chat[3172]: abort on (NO ANSWER) Oct 11 19:20:56 garm chat[3172]: abort on (NO CARRIER) Oct 11 19:20:56 garm chat[3172]: abort on (NO DIALTONE) Oct 11 19:20:56 garm chat[3172]: abort on (RINGING) Oct 11 19:20:56 garm chat[3172]: abort on (VOICE) Oct 11 19:20:56 garm chat[3172]: timeout set to 3 seconds Oct 11 19:20:56 garm chat[3172]: send (+++M) Oct 11 19:20:56 garm /usr/sbin/gsm0710muxd[1659]: gsm0710muxd.c:569:pseudo_device_read(): Write to a channel which wasn't acked to be open.

What information can I provide to track this down? running the mux daemon in gdb? or is it more likely frameworkd in debug would help?

It's worth noting that in this state, gsm is unusable... no incoming/outgoing calls/sms or gprs is possible, until rebooting.

Change History

comment:1 Changed 4 years ago by mickey

  • Component changed from documentation to framework/ogsmd

Can you retest with the latest frameworkd, please?

comment:2 Changed 4 years ago by nirik

Will do. I am going to be traveling later this week, so I will try on the road. Thanks for looking.

comment:3 Changed 4 years ago by jluebbe

  • Version set to milestone3

comment:4 Changed 4 years ago by mickey

  • Status changed from new to closed
  • Resolution set to fixed

Looks pretty good nowadays. Feel free to reopen w/ logs if you still have problems.

Note: See TracTickets for help on using tickets.