org.freedesktop.libmbim.Error.Status.Failure: Failure
Hugo Osvaldo Barrera
hugo at whynothugo.nl
Fri Apr 4 14:43:38 UTC 2025
Hi again,
I'm not entirely sure which information in the logs is private, so
opted for sending it off-list.
I've also made sure to enable roaming by using:
mmcli -m 0 --simple-connect="pin=1234,profile-id=1,allow-roaming=yes"
But the result is the same. I'm unsure how to debug further, but I see:
<dbg> [modem0/bearer0] cannot set MBIM status error as connection error: Failure
Does this mean that mbim itself it returning an error?
I found a few pages and issue point to the following troubleshooting page:
https://modemmanager.org/docs/modemmanager/debugging/
It current returns 404, as does all of https://modemmanager.org/. Is this because
of the recent FDO migration?
Thanks,
On Wed, 2 Apr 2025, at 11:51, Hugo Osvaldo Barrera wrote:
> Hi Dan,
>
> Thanks for the quick response!
>
> I'm attaching the logs of the connection attempt.
>
> Unsure if relevant: on an iPhone, I have to enable roaming to use this SIM.
>
> Thanks,
>
> On Wed, 2 Apr 2025, at 03:59, Dan Williams wrote:
>> Hi,
>>
>> Could you run:
>>
>> mmcli —set-logging=debug
>>
>> And then retry the connection attempt?
>>
>> Then grab the service logs and scrub them for information you don’t
>> want public. You could also just send them to me privately.
>>
>> The debug logs will show more information about why the connection fails.
>>
>> Thanks,
>> Dan
>>
>>> On Apr 1, 2025, at 7:59 PM, Hugo Osvaldo Barrera <hugo at whynothugo.nl> wrote:
>>>
>>> I'm using a Quectel EM05-CE, and trying to connect via simple connect
>>> using:
>>>
>>> doas mmcli -m 0 --simple-connect="pin=1234,profile-id=1"
>>>
>>> This fails with a rather opaque error message:
>>>
>>> error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.libmbim.Error.Status.Failure: Failure'
>>>
>>> The service itself logs:
>>>
>>> <msg> [modem0] simple connect started...
>>> <msg> [modem0] simple connect state (6/10): register
>>> <msg> [modem0] simple connect state (7/10): wait to get packet service state attached
>>> <msg> [modem0] simple connect state (8/10): bearer
>>> <msg> [modem0] simple connect state (9/10): connect
>>> <msg> [modem0] state changed (registered -> connecting)
>>> <wrn> [modem0/bearer0] connection attempt #2 failed: Failure
>>> <msg> [modem0] state changed (connecting -> registered)
>>> <msg> [modem0/bearer0] connection #2 finished: duration 0s
>>> <wrn> [modem0] couldn't connect bearer: Failure
>>>
>>> I'm using modemmanager-1.22.0-r2 on Alpine Linux on x86_64. Any idea how
>>> to further debug the issue?
>>>
>>> The following is the output of mmcli -m 0
>>>
>>> --------------------------------
>>> General | path: /org/freedesktop/ModemManager1/Modem/0
>>> | device id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>>> --------------------------------
>>> Hardware | manufacturer: Quectel
>>> | model: Quectel EM05-CE
>>> | firmware revision: EM05CEFCR08A13M1G_LNV
>>> | h/w revision: QUECTEL Mobile Broadband Modul
>>> | supported: gsm-umts, lte
>>> | current: gsm-umts, lte
>>> | equipment id: XXXXXXXXXXXXXXX
>>> --------------------------------
>>> System | device: /sys/devices/pci0000:00/0000:00:14.0/usb3/3-2
>>> | physdev: /sys/devices/pci0000:00/0000:00:14.0/usb3/3-2
>>> | drivers: cdc_mbim
>>> | plugin: quectel
>>> | primary port: cdc-wdm0
>>> | ports: cdc-wdm0 (mbim), wwan0 (net)
>>> --------------------------------
>>> Status | lock: sim-pin2
>>> | unlock retries: sim-pin2 (5)
>>> | state: registered
>>> | power state: on
>>> | access tech: lte
>>> | signal quality: 22% (recent)
>>> --------------------------------
>>> Modes | supported: allowed: 2g, 3g, 4g; preferred: none
>>> | current: allowed: 2g, 3g, 4g; preferred: none
>>> --------------------------------
>>> IP | supported: ipv4, ipv6, ipv4v6
>>> --------------------------------
>>> 3GPP | imei: XXXXXXXXXXXXXXX
>>> | enabled locks: sim, fixed-dialing
>>> | operator id: 20408
>>> | operator name: Youfone
>>> | registration: home
>>> | packet service state: attached
>>> --------------------------------
>>> SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/0
>>> --------------------------------
>>> Bearer | paths: /org/freedesktop/ModemManager1/Bearer/0
>>>
>>> Thanks,
>>>
>>> --
>>> Hugo
>>>
>>>
>>>
>
> --
> Hugo
> Attachments:
> * mm.log
--
Hugo
More information about the ModemManager-devel
mailing list