Project

General

Profile

Actions

Bug #2621

open

Gobi2000: might stopped working because all CID got assigned

Added by lynxis over 6 years ago. Updated about 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 #1

Updated by pespin over 6 years ago

  • Assignee set to lynxis
Actions #2

Updated by lynxis over 6 years ago

  • Assignee changed from lynxis to pespin
Actions #3

Updated by pespin over 6 years ago

  • Assignee changed from pespin to lynxis

This one is pretty important, as it means we cannot use the gobi2000 modem in automated tests in osmo-gsm-tester if we get this quite often (as I do after running a few tests manually using osmo-gsm-tester).

We should decide whether we fix this issue or we drop gobi2000 support altogether.

Actions #4

Updated by laforge over 6 years ago

Hi!

On Tue, Nov 07, 2017 at 05:04:49PM +0000, pespin [REDMINE] wrote:

We should decide whether we fix this issue or we drop gobi2000 support altogether.

Isn't the CID handling generic to all QMI modems? If ofono is leaking CID, why are we
encountering this only on Gobi2000? Maybe the problem is generic but only is visible
sooner on Gobi due to less CID? Just random guesses here.

Actions #5

Updated by lynxis over 6 years ago

The leaking of CID aren't much a problem for EC20/Sierra, because the EC20 can reset the CIDs by the Sync command. Gobi doesn't support this.

Actions #6

Updated by laforge about 4 years ago

  • Assignee deleted (lynxis)
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)