AW: ModemManager 1.14.2 Setup - undefined symbol: mm_bearer_stats_get_failed_attempts​

Federico Murciano Federico.Murciano at dai-labor.de
Thu Sep 24 22:19:13 UTC 2020


Hey Aleksander,

I was installing now another 5G modem and I realized that when I was running mmcli it was instantiating another ModemManager (before installed with snap) than the new installed version 1.14.2 so I remove it but now I can't run mmcli at all. It seems like mmcli does not find ModemManager. I tried to uninstall and install libmbim, libqmi and ModemManager but the result was the same. I am running it in an Ubuntu Server 20.04 version. Any help is really appretiated. Thanks in advance.

This are the outputs:

edge1 at dai-edge1:~/Modem-Install/ModemManager-1.14.2$ ModemManager
ModemManager[86544]: <info>  ModemManager (version 1.14.2) starting in system bus...
ModemManager[86544]: <warn>  could not acquire the 'org.freedesktop.ModemManager1' service name
ModemManager[86544]: <info>  ModemManager is shut down

edge1 at dai-edge1:~/Modem-Install/ModemManager-1.14.2$ sudo mmcli -L
error: couldn't find the ModemManager process in the bus

edge1 at dai-edge1:~/Modem-Install/ModemManager-1.14.2$ ModemManager --debug
ModemManager[86553]: <info>  [1600967775.123602] ModemManager (version 1.14.2) starting in system bus...
ModemManager[86553]: <debug> [1600967775.123933] [sleep-monitor] singleton created
ModemManager[86553]: <debug> [1600967775.124881] bus acquired, creating manager...
ModemManager[86553]: <debug> [1600967775.124974] [auth-provider] singleton created
ModemManager[86553]: <debug> [1600967775.125303] [filter] created
ModemManager[86553]: <debug> [1600967775.125315] [filter]   explicit whitelist:         yes
ModemManager[86553]: <debug> [1600967775.125318] [filter]   explicit blacklist:         yes
ModemManager[86553]: <debug> [1600967775.125322] [filter]   plugin whitelist:           yes
ModemManager[86553]: <debug> [1600967775.125340] [filter]   virtual devices forbidden:  yes
ModemManager[86553]: <debug> [1600967775.125344] [filter]   net devices allowed:        yes
ModemManager[86553]: <debug> [1600967775.125347] [filter]   cdc-wdm devices allowed:    yes
ModemManager[86553]: <debug> [1600967775.125350] [filter]   tty devices:
ModemManager[86553]: <debug> [1600967775.125353] [filter]       blacklist applied:        no
ModemManager[86553]: <debug> [1600967775.125356] [filter]       manual scan only applied: no
ModemManager[86553]: <debug> [1600967775.125360] [filter]       platform driver check:    yes
ModemManager[86553]: <debug> [1600967775.125363] [filter]       driver check:             yes
ModemManager[86553]: <debug> [1600967775.125366] [filter]       cdc-acm interface check:  yes
ModemManager[86553]: <debug> [1600967775.125369] [filter]       with net check:           yes
ModemManager[86553]: <debug> [1600967775.125372] [filter]       default:                  forbidden
ModemManager[86553]: <debug> [1600967775.125425] [plugin-manager] looking for plugins in '/usr/lib/x86_64-linux-gnu/ModemManager'
ModemManager[86553]: <debug> [1600967775.125618] [plugin-manager] loaded shared 'Novatel' utils from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-shared-novatel.so'
ModemManager[86553]: <debug> [1600967775.125718] [plugin-manager] loaded shared 'Icera' utils from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-shared-icera.so'
ModemManager[86553]: <debug> [1600967775.125761] [plugin-manager] loaded shared 'Option' utils from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-shared-option.so'
ModemManager[86553]: <debug> [1600967775.125839] [plugin-manager] loaded shared 'Sierra' utils from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-shared-sierra.so'
ModemManager[86553]: <debug> [1600967775.125881] [plugin-manager] loaded shared 'Foxconn' utils from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-shared-foxconn.so'
ModemManager[86553]: <debug> [1600967775.125959] [plugin-manager] loaded shared 'Xmm' utils from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-shared-xmm.so'
ModemManager[86553]: <debug> [1600967775.126031] [plugin-manager] loaded shared 'Telit' utils from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-shared-telit.so'
ModemManager[86553]: <debug> [1600967775.126135] [plugin-manager] loaded plugin 'wavecom' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-wavecom.so'
ModemManager[86553]: <debug> [1600967775.126149] [filter] registered plugin whitelist vendor id: 114f
ModemManager[86553]: <debug> [1600967775.126200] [plugin-manager] loaded plugin 'anydata' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-anydata.so'
ModemManager[86553]: <debug> [1600967775.126209] [filter] registered plugin whitelist vendor id: 16d5
ModemManager[86553]: <debug> [1600967775.126287] [plugin-manager] loaded plugin 'altair-lte' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-altair-lte.so'
ModemManager[86553]: <debug> [1600967775.126297] [filter] registered plugin whitelist product id: 216f:0047
ModemManager[86553]: <debug> [1600967775.126343] [plugin-manager] loaded plugin 'novatel' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-novatel.so'
ModemManager[86553]: <debug> [1600967775.126352] [filter] registered plugin whitelist vendor id: 1410
ModemManager[86553]: <debug> [1600967775.126437] [plugin-manager] loaded plugin 'u-blox' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-ublox.so'
ModemManager[86553]: <debug> [1600967775.126445] [filter] registered plugin whitelist vendor id: 1546
ModemManager[86553]: <debug> [1600967775.126490] [plugin-manager] loaded plugin 'motorola' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-motorola.so'
ModemManager[86553]: <debug> [1600967775.126503] [filter] registered plugin whitelist product id: 22b8:3802
ModemManager[86553]: <debug> [1600967775.126506] [filter] registered plugin whitelist product id: 22b8:4902
ModemManager[86553]: <debug> [1600967775.126548] [plugin-manager] loaded plugin 'haier' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-haier.so'
ModemManager[86553]: <debug> [1600967775.126556] [filter] registered plugin whitelist vendor id: 201e
ModemManager[86553]: <debug> [1600967775.126606] [plugin-manager] loaded plugin 'nokia' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-nokia.so'
ModemManager[86553]: <debug> [1600967775.126615] [filter] registered plugin whitelist vendor id: 0421
ModemManager[86553]: <debug> [1600967775.126657] [plugin-manager] loaded plugin 'foxconn' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-foxconn.so'
ModemManager[86553]: <debug> [1600967775.126666] [filter] registered plugin whitelist vendor id: 0489
ModemManager[86553]: <debug> [1600967775.126707] [plugin-manager] loaded plugin 'sierra' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-sierra.so'
ModemManager[86553]: <debug> [1600967775.126715] [filter] registered plugin whitelist vendor id: 1199
ModemManager[86553]: <debug> [1600967775.126768] [plugin-manager] loaded plugin 'iridium' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-iridium.so'
ModemManager[86553]: <debug> [1600967775.126777] [filter] registered plugin whitelist vendor id: 1edd
ModemManager[86553]: <debug> [1600967775.126826] [plugin-manager] loaded plugin 'via' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-via.so'
ModemManager[86553]: <debug> [1600967775.126874] [plugin-manager] loaded plugin 'option' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-option.so'
ModemManager[86553]: <debug> [1600967775.126883] [filter] registered plugin whitelist vendor id: 0af0
ModemManager[86553]: <debug> [1600967775.126887] [filter] registered plugin whitelist vendor id: 1931
ModemManager[86553]: <debug> [1600967775.126927] [plugin-manager] loaded plugin 'tp-link' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-tplink.so'
ModemManager[86553]: <debug> [1600967775.126934] [filter] registered plugin whitelist vendor id: 2357
ModemManager[86553]: <debug> [1600967775.126979] [plugin-manager] loaded plugin 'fibocom' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-fibocom.so'
ModemManager[86553]: <debug> [1600967775.126988] [filter] registered plugin whitelist vendor id: 2cb7
ModemManager[86553]: <debug> [1600967775.127030] [plugin-manager] loaded plugin 'generic' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-generic.so'
ModemManager[86553]: <debug> [1600967775.127076] [plugin-manager] loaded plugin 'broadmobi' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-broadmobi.so'
ModemManager[86553]: <debug> [1600967775.127084] [filter] registered plugin whitelist vendor id: 2020
ModemManager[86553]: <debug> [1600967775.127172] [plugin-manager] loaded plugin 'cinterion' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-cinterion.so'
ModemManager[86553]: <debug> [1600967775.127182] [filter] registered plugin whitelist vendor id: 1e2d
ModemManager[86553]: <debug> [1600967775.127186] [filter] registered plugin whitelist vendor id: 0681
ModemManager[86553]: <debug> [1600967775.127250] [plugin-manager] loaded plugin 'linktop' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-linktop.so'
ModemManager[86553]: <debug> [1600967775.127259] [filter] registered plugin whitelist vendor id: 230d
ModemManager[86553]: <debug> [1600967775.127354] [plugin-manager] loaded plugin 'huawei' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-huawei.so'
ModemManager[86553]: <debug> [1600967775.127363] [filter] registered plugin whitelist vendor id: 12d1
ModemManager[86553]: <debug> [1600967775.127426] [plugin-manager] loaded plugin 'option-hso' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-option-hso.so'
ModemManager[86553]: <debug> [1600967775.127512] [plugin-manager] loaded plugin 'ericsson-mbm' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-ericsson-mbm.so'
ModemManager[86553]: <debug> [1600967775.127523] [filter] registered plugin whitelist tag: ID_MM_ERICSSON_MBM
ModemManager[86553]: <debug> [1600967775.127577] [plugin-manager] loaded plugin 'sierra-legacy' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-sierra-legacy.so'
ModemManager[86553]: <debug> [1600967775.127634] [plugin-manager] loaded plugin 'longcheer' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-longcheer.so'
ModemManager[86553]: <debug> [1600967775.127643] [filter] registered plugin whitelist tag: ID_MM_LONGCHEER_TAGGED
ModemManager[86553]: <debug> [1600967775.127648] [filter] registered plugin whitelist vendor id: 1c9e
ModemManager[86553]: <debug> [1600967775.127651] [filter] registered plugin whitelist vendor id: 1bbb
ModemManager[86553]: <debug> [1600967775.127722] [plugin-manager] loaded plugin 'thuraya' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-thuraya.so'
ModemManager[86553]: <debug> [1600967775.127731] [filter] registered plugin whitelist vendor id: 1a26
ModemManager[86553]: <debug> [1600967775.127804] [plugin-manager] loaded plugin 'simtech' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-simtech.so'
ModemManager[86553]: <debug> [1600967775.127813] [filter] registered plugin whitelist vendor id: 1e0e
ModemManager[86553]: <debug> [1600967775.127871] [plugin-manager] loaded plugin 'x22x' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-x22x.so'
ModemManager[86553]: <debug> [1600967775.127884] [filter] registered plugin whitelist tag: ID_MM_X22X_TAGGED
ModemManager[86553]: <debug> [1600967775.127888] [filter] registered plugin whitelist vendor id: 0b3c
ModemManager[86553]: <debug> [1600967775.127932] [plugin-manager] loaded plugin 'd-link' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-dlink.so'
ModemManager[86553]: <debug> [1600967775.127939] [filter] registered plugin whitelist vendor id: 2001
ModemManager[86553]: <debug> [1600967775.127997] [plugin-manager] loaded plugin 'novatel-lte' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-novatel-lte.so'
ModemManager[86553]: <debug> [1600967775.128007] [filter] registered plugin whitelist product id: 1410:9010
ModemManager[86553]: <debug> [1600967775.128051] [plugin-manager] loaded plugin 'samsumg' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-samsung.so'
ModemManager[86553]: <debug> [1600967775.128059] [filter] registered plugin whitelist product id: 04e8:6872
ModemManager[86553]: <debug> [1600967775.128063] [filter] registered plugin whitelist product id: 04e8:6906
ModemManager[86553]: <debug> [1600967775.128109] [plugin-manager] loaded plugin 'telit' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-telit.so'
ModemManager[86553]: <debug> [1600967775.128117] [filter] registered plugin whitelist vendor id: 1bc7
ModemManager[86553]: <debug> [1600967775.128167] [plugin-manager] loaded plugin 'quectel' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-quectel.so'
ModemManager[86553]: <debug> [1600967775.128177] [filter] registered plugin whitelist vendor id: 2c7c
ModemManager[86553]: <debug> [1600967775.128235] [plugin-manager] loaded plugin 'dell' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-dell.so'
ModemManager[86553]: <debug> [1600967775.128244] [filter] registered plugin whitelist vendor id: 413c
ModemManager[86553]: <debug> [1600967775.128302] [plugin-manager] loaded plugin 'zte' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-zte.so'
ModemManager[86553]: <debug> [1600967775.128312] [filter] registered plugin whitelist vendor id: 19d2
ModemManager[86553]: <debug> [1600967775.128365] [plugin-manager] loaded plugin 'mtk' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-mtk.so'
ModemManager[86553]: <debug> [1600967775.128373] [filter] registered plugin whitelist tag: ID_MM_MTK_TAGGED
ModemManager[86553]: <debug> [1600967775.128425] [plugin-manager] loaded plugin 'pantech' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-pantech.so'
ModemManager[86553]: <debug> [1600967775.128437] [filter] registered plugin whitelist vendor id: 106c
ModemManager[86553]: <debug> [1600967775.128482] [plugin-manager] loaded plugin 'nokia-icera' from '/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-nokia-icera.so'
ModemManager[86553]: <debug> [1600967775.128490] [plugin-manager] successfully loaded 37 plugins
ModemManager[86553]: <warn>  [1600967775.128726] could not acquire the 'org.freedesktop.ModemManager1' service name
ModemManager[86553]: <debug> [1600967775.128745] [base-manager] stopping connection in object manager server
ModemManager[86553]: <info>  [1600967775.129013] ModemManager is shut down
ModemManager[86553]: <debug> [1600967775.129042] [sleep-monitor] singleton disposed
ModemManager[86553]: <debug> [1600967775.129053] [auth-provider] singleton disposed
edge1 at dai-edge1:~/Modem-Install/ModemManager-1.14.2$ lsusb
Bus 002 Device 002: ID 2c7c:0800 Quectel Wireless Solutions Co., Ltd. RM500Q-GL
Bus 002 Device 003: ID 2c7c:0800 Quectel Wireless Solutions Co., Ltd. RG500Q-EA

Best regards,
--
Federico Murciano
B.Sc. Telecommunications Engineer
federico.murciano at dai-labor.de
Tel. +49 (0) 30/314 -74 025
Future in touch.
DAI-Labor
Technische Universität Berlin
Fakultät IV – Elektrotechnik & Informatik Sekretariat TEL 14 Ernst-Reuter-Platz 7
10587 Berlin, Germany

www.dai-labor.de

DAI-Labor - Distributed Artificial Intelligence Laboratory Chief Executive Director: Prof. Dr. Dr. h.c. Sahin Albayrak

________________________________________
Von: ModemManager-devel <modemmanager-devel-bounces at lists.freedesktop.org> im Auftrag von Aleksander Morgado <aleksander at aleksander.es>
Gesendet: Dienstag, 22. September 2020 15:35
An: Federico Murciano
Cc: modemmanager-devel at lists.freedesktop.org; mrkiko.rs at gmail.com
Betreff: Re: ModemManager 1.14.2 Setup - undefined symbol: mm_bearer_stats_get_failed_attempts​

Hey,

>
> I just tried again and now it seems to be correctly installed. Thanks a lot for the clear instructions. I had to change the libmbim ./configure as it was giving me an error that ModemManager could not find it in /usr/lib/. I did:
>
> --libdir=/usr/lib/
>
> instead of
>
> --libdir=/usr/lib/x86_64-linux-gnu/
>

That's weird, because if you don't set --libdir at all and just use
--prefix=/usr, the default libdir would then be /usr/lib, which is
what you explicitly requested.

> Now when I started my Modem again, after entering the SIM PIN the modem dissapeared and it could not be find. After some minutes it appeared again but with a different number device ( it changed from 0 to 1). I did already the firmware upgrade so it should not be happening. Some tips for that? I managed to ping a website through the interface but then it happened again that the modem couldnt be find and after a while it was active in device number 3.
>

That still looks like the modem is crashing by itself I'm afraid.

--
Aleksander
https://aleksander.es
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel


More information about the ModemManager-devel mailing list