packages
packages copied to clipboard
ModemManager gives up during initializing with AT commands (T10410)
(ModemManager:3297): GLib-CRITICAL **: 11:29:24.964: g_regex_match_full: assertion 'regex != NULL' failed
ModemManager[3297]: <debug> [1664875764.965020] [modem0/ttyUSB2/at] operation failure: 100 (Unknown error)
ModemManager[3297]: <warn> [1664875764.965068] [modem0] couldn't load supported IP families: Unknown error
ModemManager[3297]: <debug> [1664875764.965114] [modem0] loading power state...
ModemManager[3297]: <debug> [1664875764.965152] [modem0/ttyUSB2/at] device open count is 3 (open)
ModemManager[3297]: <debug> [1664875764.965199] [modem0/ttyUSB2/at] device open count is 2 (close)
ModemManager[3297]: <debug> [1664875764.965245] [modem0/ttyUSB2/at] --> 'AT+CFUN?<CR>'
ModemManager[3297]: <debug> [1664875764.975034] [modem0/ttyUSB2/at] <-- '<CR><LF>+CFUN: 1<CR><LF><CR><LF>OK<CR><LF>'
ModemManager[3297]: <debug> [1664875764.975270] [modem0] checking if unlock required...
ModemManager[3297]: <debug> [1664875764.975300] [modem0/ttyUSB2/at] device open count is 3 (open)
ModemManager[3297]: <debug> [1664875764.975342] [modem0/ttyUSB2/at] device open count is 2 (close)
ModemManager[3297]: <debug> [1664875764.975385] [modem0/ttyUSB2/at] --> 'AT+CPIN?<CR>'
ModemManager[3297]: <debug> [1664875764.985321] [modem0/ttyUSB2/at] <-- '<CR><LF>+CPIN: SIM PIN<CR><LF><CR><LF>OK<CR><LF>'
malloc(): smallbin double linked list corrupted
Aborted
It worked properly before upgrade which I performed 2022-09-29 15:08.
Is this still an issue?
Today eopkg upgrade was done and problem still persist.
ModemManager[2813]: <debug> [1684322657.565617] [ttyUSB3/at] <-- 'AT'
(ModemManager:2813): GLib-CRITICAL **: 13:24:17.565: g_regex_match_full: assertion 'regex != NULL' failed
ModemManager[2813]: <debug> [1684322657.565830] [ttyUSB2/at] <-- 'AT'
(ModemManager:2813): GLib-CRITICAL **: 13:24:17.565: g_regex_match_full: assertion 'regex != NULL' failed
malloc(): smallbin double linked list corrupted
Aborted
@g66925
Thanks for responding. Will triage as Normal priority.
This appears to depend on (at least) four different components:
- kernel (for qmi/mbim drivers)
- https://dev.getsol.us/source/modem-manager/
- https://dev.getsol.us/source/libqmi/
- https://dev.getsol.us/source/libmbim/
It's been a few years since this saw a stack upgrade + modem enablement run.
@joebonrichie / @HarveyDevel : guidance welcome?
I do not think it is related to qmi or mbim driver. QMI works properly. Problem appears when ModemManager is trying to exchagning AT commands with module through serial ttyUSB.
Have you tried using screen to try sending AT commands to the modem manually? Similarly to this, https://unix.stackexchange.com/questions/89067/how-to-disable-pin-on-a-sim-card/313878#313878, how does it respond?
Could you also provide the exact usb modem you are using with lsusb
Also i'll note that I'm not sure anyone on the packaging team has hardware to test/update the ModemManager stack at the moment.
I can talk to device using picocom without any problems.
I will check lsusb later.
Does the modemmanager update help? modem-manager, version: 1.18.12, release: 19
@g66925 ping? Is this still an issue?