Project

General

Profile

Actions

Bug #2621

open

Gobi2000: might stopped working because all CID got assigned

Added by lynxis over 6 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/07/2017
Due date:
% Done:

0%

Spec Reference:

Description

When heavily using the Gobi2000 ofono runs out of CID (client ids) which means it can not communicate anymore with the modem.
The reason for running out of CID seems to be ofono is leaking those. (Random guess: when doing the state transistion "Online/Powered true -> Powered false" this happen)

In more recent modems/firmwares the firmware support the Sync QMI command, which releases all previous CIDs.
There is also another "Sync" command via the USB serial protocol, but that one isn't implemented by Linux. It's also unclean if it's supported by Gobi2000 or only more recent firmwares.

Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: plugins/gobi.c:discover_cb()
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: plugins/gobi.c:discover_cb() CTL 1.3 - 0
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: plugins/gobi.c:discover_cb() WDS 1.2 - 1
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: plugins/gobi.c:discover_cb() DMS 1.1 - 2
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: plugins/gobi.c:discover_cb() NAS 1.0 - 3
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: plugins/gobi.c:discover_cb() WMS 1.0 - 5
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: plugins/gobi.c:discover_cb() PDS 1.0 - 6
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: plugins/gobi.c:discover_cb() AUTH 1.0 - 7
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: plugins/gobi.c:discover_cb() CAT 1.0 - 224
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: plugins/gobi.c:discover_cb() RMS 1.0 - 225
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: src/modem.c:get_modem_property() modem 0x55eb2b5582d0 property SupportQMISync
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: drivers/qmimodem/qmibridge.c:ask_qmi() _REQ: QMI QMUX:
                                                   QMI   length  = 15
                                                   QMI   flags   = 0x00
                                                   QMI   service = "ctl" 
                                                   QMI   client  = 0
                                                   QMI QMI:
                                                   QMI   flags       = "none" 
                                                   QMI   transaction = 2
                                                   QMI   tlv_length  = 4
                                                   QMI   message     = "Allocate CID" (0x0022)
                                                   QMI TLV:
                                                   QMI   type       = "Service" (0x01)
                                                   QMI   length     = 1
                                                   QMI   value      = 02
                                                   QMI   translated = dms
Nov 07 17:27:23 osmo-gsm-tester-rnd ofonod[17608]: drivers/qmimodem/qmibridge.c:ask_qmi() READ: QMI QMUX:
                                                   QMI   length  = 18
                                                   QMI   flags   = 0x80
                                                   QMI   service = "ctl" 
                                                   QMI   client  = 0
                                                   QMI QMI:
                                                   QMI   flags       = "response" 
                                                   QMI   transaction = 2
                                                   QMI   tlv_length  = 7
                                                   QMI   message     = "Allocate CID" (0x0022)
                                                   QMI TLV:
                                                   QMI   type       = "Result" (0x02)
                                                   QMI   length     = 4
                                                   QMI   value      = 01:00:05:00
                                                   QMI   translated = FAILURE: ClientIdsExhausted
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)