Consultation about QMI CID Leaks
IOEE Jimmy Li (EXT)
ioee.jimmy.li at schindler.com
Tue Dec 28 08:25:30 UTC 2021
Hello Aleksander,
We have created the issue in Gitlab and uploaded all the logs that related.
https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/81
Please contact us if there is still anything missing.
Waiting for your kind reply. Thanks!
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: Friday, December 24, 2021 8:52 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>; beizuo.liu at td-tech.com; IOEE Songting (EXT) <ioee.songting at schindler.com>
Subject: Re: Consultation about QMI CID Leaks
Hey,
>
> 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?
>
Not sure where you looked for it :)
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.freedesktop.org%2Fmobile-broadband%2Flibqmi%2F-%2Fcommit%2F16383670dcb471d6a5b802a9cca1e2a24eb86de5&data=04%7C01%7Cioee.jimmy.li%40schindler.com%7C2c429518eef94886ebbe08d9c6dc3de0%7Caa06dce799d7403b8a080c5f50471e64%7C0%7C0%7C637759471495145702%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=kdvBPp7L6Xr5REnOUoBtdeRikiMsNVccK1M%2FFPk%2Bnzw%3D&reserved=0
> 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.
There are no QMI clients in charge of qmi-proxy, qmi-proxy tracks the clients managed by other processes. Also, the qmi-proxy must not be stopped if there are other processes using it. E.g. if MM is still running, qmi-proxy must never exit, until MM is stopped.
Also, can you confirm you're not running qmicli commands in addition to MM managing the modem?
>
> Can you help to explain the root cause of this issue?
>
Not possible without looking at debug logs of both MM and qmi-proxy while the issue is happening :) I think it's better if you gather those logs, find exactly where the issue is happening in the log, and post them for review to a new Issue in gitlab.
--
Aleksander
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faleksander.es%2F&data=04%7C01%7Cioee.jimmy.li%40schindler.com%7C2c429518eef94886ebbe08d9c6dc3de0%7Caa06dce799d7403b8a080c5f50471e64%7C0%7C0%7C637759471495145702%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=LIUvmHMcuQ2JGi%2Fjqhcs9rOnApm6WBm%2FzNJreMP06E4%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