Re: [Telit LE910C1-EU] ModemManager crashes when establishing online connection
Hey, > I was struggling with getting mm built in my cross build environment and > meson, but finally: > With main branch it works: modem is recognized and connection is > established and mm not crashing. > # Nice! > What about the version 1.20? On > https://www.freedesktop.org/software/ModemManager/ there are no packets > with version 1.20.x. are they nor officially released, though there are > tags, or is there a new page to download from? > Releases are done via signed git tags only from now on. E.g. you can do: $ git clone --depth 1 --branch 1.20.6 https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git $ cd ModemManager $ git tag --verify 1.20.6 -- Aleksander
Re: [Telit LE910C1-EU] ModemManager crashes when establishing online connection
Ok, I was struggling with getting mm built in my cross build environment and meson, but finally: With main branch it works: modem is recognized and connection is established and mm not crashing. What about the version 1.20? On https://www.freedesktop.org/software/ModemManager/ there are no packets with version 1.20.x. are they nor officially released, though there are tags, or is there a new page to download from? BR, Christian Am 09.05.23 um 11:22 schrieb Aleksander Morgado: Hey Explicitly specifying the ip-type helps for me. Since you mentioned main, I checked the version I'm using (1.18.12) and noticed it isn't the latest, so I will try a newer version, and see what happens. Please retry with git main or with MM 1.20 and report back whether this issue is fixed or not. Thanks! -- - RADIODATA GmbH Newtonstr. 18 12489 Berlin Germany Homepage: www.radiodata.biz USt_IdNr.: DE 195663499 WEEE-Reg.-Nr.: DE 63967380 Sitz der Gesellschaft: Berlin Registergericht: Amtsgericht Charlottenburg HRB Nr.: 67865 Geschäftsführer: Hans-Joachim Langermann, Malte Langermann
Re: [Telit LE910C1-EU] ModemManager crashes when establishing online connection
Hey > Explicitly specifying the ip-type helps for me. > Since you mentioned main, I checked the version I'm using (1.18.12) and > noticed it isn't the latest, so I will try a newer version, and see what > happens. Please retry with git main or with MM 1.20 and report back whether this issue is fixed or not. Thanks! -- Aleksander
Re: [Telit LE910C1-EU] ModemManager crashes when establishing online connection
Hi, thanks for your answer. Explicitly specifying the ip-type helps for me. Since you mentioned main, I checked the version I'm using (1.18.12) and noticed it isn't the latest, so I will try a newer version, and see what happens. BR, Christian Am 04.05.23 um 09:00 schrieb Daniele Palmas: Hello, Il giorno mer 3 mag 2023 alle ore 15:12 Christian Schneider ha scritto: Hello, I have a Telit LE910C1-EU modem. It is recognized and calls/SMS work, but when I establish an online connection, eg. with mmcli -m 0 --simple-connect "apn=internet.telekom" ModemManager crashes. The error message including a few lines before are: ModemManager[2838]: [modem0] unhandled PDP type in CGDCONT=? reply: 'PPP' ModemManager[2838]: [modem0] unknown +CGDCONT format details for PDP type 'none', using defaults: minimum 1, maximum 2147483646 ModemManager[2838]: [modem0] context definition format: minimum 1, maximum 2147483646 ModemManager[2838]: [modem0] set profile state (2/8): list before ModemManager[2838]: [modem0/ttyUSB2/at] device open count is 5 (open) ModemManager[2838]: [modem0/ttyUSB2/at] device open count is 4 (close) ModemManager[2838]: [modem0/ttyUSB2/at] --> 'AT#PSNT?' ModemManager[2838]: [modem0/ttyUSB2/at] <-- '#PSNT: 0,4OK' ModemManager[2838]: [modem0] access technology changed (unknown -> lte) ModemManager[2838]: [modem0] periodic signal quality and access technology checks scheduled ModemManager[2838]: [modem0/ttyUSB2/at] device open count is 3 (close) ModemManager[2838]: [modem0/ttyUSB2/at] --> 'AT+CGDCONT?' ModemManager[2838]: [modem0/ttyUSB2/at] <-- '+CGDCONT: 1,"IPV4V6","","",0,0,0,0+CGDCONT: 2,"IPV4V6","ims","",0,0,0,0+CGDCONT: 3,"IPV4V6","sos","",0,0,0,1OK' ModemManager[2838]: [modem0] set profile state (3/8): select profile (best) ModemManager[2838]: [modem0] found unused profile 4 (<2147483646) ModemManager[2838]: [modem0] set profile state (4/8): check activated profile ModemManager[2838]: [modem0] checking if profile with id '4' is already activated... ModemManager[2838]: [modem0/ttyUSB2/at] device open count is 4 (open) ModemManager[2838]: [modem0/ttyUSB2/at] device open count is 3 (close) ModemManager[2838]: [modem0/ttyUSB2/at] --> 'AT+CGACT?' ModemManager[2838]: [modem0/ttyUSB2/at] <-- '+CGACT: 1,1+CGACT: 2,0+CGACT: 3,0OK' ModemManager[2838]: [modem0] profile '4' is not activated: Profile '4' not found in CGACT? response ModemManager[2838]: [modem0] set profile state (6/8): store profile ** ERROR:../../ModemManager-1.18.12/src/mm-broadband-modem.c:10677:modem_3gpp_profile_manager_store_profile: assertion failed: (ip_type != MM_BEARER_IP_FAMILY_NONE) Aborted mm seems to have trouble with this Profile stuff, but not sure if this is directly related to the crash. With main I can't replicate the issue: when not declaring the ip-type, MM by default is using "IP", e.g. $ sudo mmcli -m 0 --simple-connect "apn=web.omnitel.it" successfully connected the modem ModemManager[725461]: [1683183155.578330] [modem0] set profile state (2/8): list before ModemManager[725461]: [1683183155.578357] [ttyUSB1/at] device open count is 4 (open) ModemManager[725461]: [1683183155.578391] [ttyUSB1/at] device open count is 3 (close) ModemManager[725461]: [1683183155.578428] [ttyUSB1/at] --> 'AT+CGDCONT?' ModemManager[725461]: [1683183155.619178] [ttyUSB1/at] <-- '+CGDCONT: 1,"IPV4V6","","",0,0,0,0+CGDCONT: 2,"IP","mobile.vodafone.it","",0,0,0,0OK' ModemManager[725461]: [1683183155.619435] [modem0] set profile state (3/8): select profile (best) ModemManager[725461]: [1683183155.619479] [modem0] found unused profile 3 (<24) ModemManager[725461]: [1683183155.619500] [modem0] set profile state (4/8): check activated profile ModemManager[725461]: [1683183155.619542] [modem0] checking if profile with id '3' is already activated... ModemManager[725461]: [1683183155.619583] [ttyUSB1/at] device open count is 4 (open) ModemManager[725461]: [1683183155.619636] [ttyUSB1/at] device open count is 3 (close) ModemManager[725461]: [1683183155.619690] [ttyUSB1/at] --> 'AT+CGACT?' ModemManager[725461]: [1683183155.660510] [ttyUSB1/at] <-- '+CGACT: 1,1+CGACT: 2,0OK' ModemManager[725461]: [1683183155.660768] [modem0] profile '-1' is not activated: Profile '3' not found in CGACT? response ModemManager[725461]: [1683183155.660810] [modem0] set profile state (6/8): store profile ModemManager[725461]: [1683183155.660843] [modem0] storing profile '3': apn 'web.omnitel.it', ip type 'ipv4' ModemManager[725461]: [1683183155.660893] [ttyUSB1/at] device open count is 4 (open) ModemManager[725461]: [1683183155.660948] [ttyUSB1/at] device open count is 3 (close) ModemManager[725461]: [1683183155.661010] [ttyUSB1/at] --> 'AT+CGDCONT=3,"IP","web.omnitel.it"' ModemManager[725461]: [1683183155.837506] [ttyUSB1/at] <-- 'OK' ModemManager[725461]: [1683183155.837684] [modem0] stored profile '-1' ModemManager[725461]: [1683183155.837721] [modem0] set profile state (7/8): list after ModemManager[725461]:
Re: [Telit LE910C1-EU] ModemManager crashes when establishing online connection
Hello, Il giorno mer 3 mag 2023 alle ore 15:12 Christian Schneider ha scritto: > > Hello, > I have a Telit LE910C1-EU modem. It is recognized and calls/SMS work, > but when I establish an online connection, eg. with > mmcli -m 0 --simple-connect "apn=internet.telekom" > ModemManager crashes. The error message including a few lines before are: > > ModemManager[2838]: [modem0] unhandled PDP type in CGDCONT=? > reply: 'PPP' > ModemManager[2838]: [modem0] unknown +CGDCONT format details for > PDP type 'none', using defaults: minimum 1, maximum 2147483646 > ModemManager[2838]: [modem0] context definition format: minimum > 1, maximum 2147483646 > ModemManager[2838]: [modem0] set profile state (2/8): list before > ModemManager[2838]: [modem0/ttyUSB2/at] device open count is 5 > (open) > ModemManager[2838]: [modem0/ttyUSB2/at] device open count is 4 > (close) > ModemManager[2838]: [modem0/ttyUSB2/at] --> 'AT#PSNT?' > ModemManager[2838]: [modem0/ttyUSB2/at] <-- '#PSNT: > 0,4OK' > ModemManager[2838]: [modem0] access technology changed (unknown > -> lte) > ModemManager[2838]: [modem0] periodic signal quality and access > technology checks scheduled > ModemManager[2838]: [modem0/ttyUSB2/at] device open count is 3 > (close) > ModemManager[2838]: [modem0/ttyUSB2/at] --> 'AT+CGDCONT?' > ModemManager[2838]: [modem0/ttyUSB2/at] <-- '+CGDCONT: > 1,"IPV4V6","","",0,0,0,0+CGDCONT: > 2,"IPV4V6","ims","",0,0,0,0+CGDCONT: > 3,"IPV4V6","sos","",0,0,0,1OK' > ModemManager[2838]: [modem0] set profile state (3/8): select > profile (best) > ModemManager[2838]: [modem0] found unused profile 4 (<2147483646) > ModemManager[2838]: [modem0] set profile state (4/8): check > activated profile > ModemManager[2838]: [modem0] checking if profile with id '4' is > already activated... > ModemManager[2838]: [modem0/ttyUSB2/at] device open count is 4 > (open) > ModemManager[2838]: [modem0/ttyUSB2/at] device open count is 3 > (close) > ModemManager[2838]: [modem0/ttyUSB2/at] --> 'AT+CGACT?' > ModemManager[2838]: [modem0/ttyUSB2/at] <-- '+CGACT: > 1,1+CGACT: 2,0+CGACT: 3,0OK' > ModemManager[2838]: [modem0] profile '4' is not activated: > Profile '4' not found in CGACT? response > ModemManager[2838]: [modem0] set profile state (6/8): store profile > ** > ERROR:../../ModemManager-1.18.12/src/mm-broadband-modem.c:10677:modem_3gpp_profile_manager_store_profile: > assertion failed: (ip_type != MM_BEARER_IP_FAMILY_NONE) > Aborted > > mm seems to have trouble with this Profile stuff, but not sure if this > is directly related to the crash. With main I can't replicate the issue: when not declaring the ip-type, MM by default is using "IP", e.g. $ sudo mmcli -m 0 --simple-connect "apn=web.omnitel.it" successfully connected the modem ModemManager[725461]: [1683183155.578330] [modem0] set profile state (2/8): list before ModemManager[725461]: [1683183155.578357] [ttyUSB1/at] device open count is 4 (open) ModemManager[725461]: [1683183155.578391] [ttyUSB1/at] device open count is 3 (close) ModemManager[725461]: [1683183155.578428] [ttyUSB1/at] --> 'AT+CGDCONT?' ModemManager[725461]: [1683183155.619178] [ttyUSB1/at] <-- '+CGDCONT: 1,"IPV4V6","","",0,0,0,0+CGDCONT: 2,"IP","mobile.vodafone.it","",0,0,0,0OK' ModemManager[725461]: [1683183155.619435] [modem0] set profile state (3/8): select profile (best) ModemManager[725461]: [1683183155.619479] [modem0] found unused profile 3 (<24) ModemManager[725461]: [1683183155.619500] [modem0] set profile state (4/8): check activated profile ModemManager[725461]: [1683183155.619542] [modem0] checking if profile with id '3' is already activated... ModemManager[725461]: [1683183155.619583] [ttyUSB1/at] device open count is 4 (open) ModemManager[725461]: [1683183155.619636] [ttyUSB1/at] device open count is 3 (close) ModemManager[725461]: [1683183155.619690] [ttyUSB1/at] --> 'AT+CGACT?' ModemManager[725461]: [1683183155.660510] [ttyUSB1/at] <-- '+CGACT: 1,1+CGACT: 2,0OK' ModemManager[725461]: [1683183155.660768] [modem0] profile '-1' is not activated: Profile '3' not found in CGACT? response ModemManager[725461]: [1683183155.660810] [modem0] set profile state (6/8): store profile ModemManager[725461]: [1683183155.660843] [modem0] storing profile '3': apn 'web.omnitel.it', ip type 'ipv4' ModemManager[725461]: [1683183155.660893] [ttyUSB1/at] device open count is 4 (open) ModemManager[725461]: [1683183155.660948] [ttyUSB1/at] device open count is 3 (close) ModemManager[725461]: [1683183155.661010] [ttyUSB1/at] --> 'AT+CGDCONT=3,"IP","web.omnitel.it"' ModemManager[725461]: [1683183155.837506] [ttyUSB1/at] <-- 'OK' ModemManager[725461]: [1683183155.837684] [modem0] stored profile '-1' ModemManager[725461]: [1683183155.837721] [modem0] set profile state (7/8): list after ModemManager[725461]: [1683183155.837782] [ttyUSB1/at] device open count is 4 (open) ModemManager[725461]: [1683183155.837842] [ttyUSB1/at] device open count is 3 (close) ModemManager[725461]: [1683183155.837903]