Consultation about QMI CID Leaks

IOEE Jimmy Li (EXT) ioee.jimmy.li at schindler.com
Thu Dec 23 09:58:21 UTC 2021


Dear Aleksander,

Thanks for your kind reply.
As you have mentioned, the issue we met has been fixed in commit
16383670dcb471d6a5b802a9cca1e2a24eb86de5, but we failed to find this commit in your gitlab.
Can you please give us a link about this?

Also, we have tested thousands times with Modem Manager(1.18.2) and libqmi(1.31.2). When we repeated the
Syetemctl restart Modem Manager service, there were still CID leaks. And from the hardware signal analysis of modem,
when restarting Modem Manager, the modem of Quectel did not receive all signal to release, which led to CID leaks.
The modem failed to reinitialize and stopped to offer service.

And under same hardware and software conditions, we have tried to modify value of killmode into process on MM and to
reset MM while not reset qmi-proxy. It seems that there is no abnormality of CID. The QMI clients were implicitly tracked by
qmi-proxy and the CID was used repeatedly.

So here is our question. When the service of qmi-proxy stopped, it seems that it's necessary to release the QMI clients which
are in charge of qmi-proxy.

Can you help to explain the root cause of this issue?

Looking forward to your reply. Thanks!

Merry Christmas!



IOEE Jimmy Li | Specialist, Next Generation Cube Program

ioee.jimmy.li at schindler.com
www.schindler.com.cn


-----Original Message-----
From: Aleksander Morgado <aleksander at aleksander.es>
Sent: Monday, December 20, 2021 10:51 PM
To: IOEE Jimmy Li (EXT) <ioee.jimmy.li at schindler.com>
Cc: libqmi-devel at lists.freedesktop.org; ModemManager-devel at lists.freedesktop.org; Wang Qian (IOT) <wangqian at td-tech.com>
Subject: Re: Consultation about QMI CID Leaks

Hey

>
> I have met some issues about QMI CID leaks when using Quectel's modem
> with modem manager, and luckily I found some comments about the
> exactly some issue on the Mail Archive.(Re: QMI CID leaks
> (mail-archive.com)
>
> In this post, it is said that "it looks like this could be fixed most easily in qmi-proxy. I will post a patch candidate for review/merging to libqmi project soon..." But we have investigated the latest version of MM, it seems that this issue remained unfixed.
>

That specific issue was fixed in commit
16383670dcb471d6a5b802a9cca1e2a24eb86de5, already released in libqmi 1.26.0.

> So I wonder whether this issue have been fixed by your team. If it is, can you please share with us the correct version to use(maybe we have used the wrong version). Or do you have any suggestion to solve this issue? We will appreciate a lot if you can kindly share with us.
>

Your issue has probably nothing to do with the issue you referenced.
Please open a new issue in gitlab:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.freedesktop.org%2Fmobile-broadband%2Flibqmi%2F-%2Fissues&data=04%7C01%7Cioee.jimmy.li%40schindler.com%7Cec6f88c9e2db4df3c0ed08d9c3c82ce9%7Caa06dce799d7403b8a080c5f50471e64%7C0%7C0%7C637756086778384271%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=LO7g6mR1M%2BjVgq9w%2FhpSjzW8%2Fi0RoUjXZwZQOyEiBJg%3D&reserved=0
And explain exactly what is happening in your setup, which versions of libqmi and MM you're using, and how to reproduce the problem, if any specific way. Please provide debug logs of both qmi-proxy and ModemManager, see https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmodemmanager.org%2Fdocs%2Fmodemmanager%2Fdebugging&data=04%7C01%7Cioee.jimmy.li%40schindler.com%7Cec6f88c9e2db4df3c0ed08d9c3c82ce9%7Caa06dce799d7403b8a080c5f50471e64%7C0%7C0%7C637756086778384271%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=zz8J5kZMNhFsWYWkcXqW22Kam%2FoCllnLrwVif%2FJtcYs%3D&reserved=0

--
Aleksander
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faleksander.es%2F&data=04%7C01%7Cioee.jimmy.li%40schindler.com%7Cec6f88c9e2db4df3c0ed08d9c3c82ce9%7Caa06dce799d7403b8a080c5f50471e64%7C0%7C0%7C637756086778384271%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=aRn8Angsacqq3gj95P%2Bk2yrLZ3adiK9uEV0WJUawdPc%3D&reserved=0

*****************************************************************
The information contained in this message is intended only for use of the individual(s) named above and may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient of this message you are hereby notified that you must not use, disseminate, copy it in any form or take any action in reliance of it. If you have received this message in error please delete it and any copies of it and notify the sender immediately.
*****************************************************************


More information about the libqmi-devel mailing list