Multiple bearers - connection attempt failed
Sometimes it looks like the numbers of bearers explodes when ModemManager attempts connecting. I have attached a full debug log where it is shown that a new bearer taken for every [modem0/bearer104] connection attempt #1 failed: Normal, unspecified
attempt.
ModemManager is finally able to connect [1653904717.467302] [modem0/bearer116] connection status loaded: connected
But the other 115 "hanging" bearers is still there.
It looks like a bug to me that a bearer isn't reused or that old bearers isn't cleaned.
root@kam59045040:/usr/lib/systemd/system lsusb
Bus 001 Device 087: ID 1bc7:0036 Telit Wireless Solutions FIH7160
mmcli --version
mmcli 1.18.8
Copyright (2011 - 2021) Aleksander Morgado
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Note this trace doesn't match the log
mmcli -m any
--------------------------------
General | path: /org/freedesktop/ModemManager1/Modem/0
| device id: 2791ade7c1aeb50f0ca59d05ae2bf4f29cb0956d
--------------------------------
Hardware | manufacturer: Telit
| model: LE910-EU V2
| firmware revision: 20.00.402
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 351622074745213
--------------------------------
System | device: /sys/devices/platform/soc/30800000.bus/30b20000.usb/ci_hdrc.0/usb1/1-1/1-1.1
| drivers: cdc_acm, cdc_ncm
| plugin: telit
| primary port: ttyACM0
| ports: ttyACM0 (at), ttyACM1 (ignored), ttyACM2 (ignored),
| ttyACM3 (at), ttyACM4 (ignored), ttyACM5 (ignored), wwan0 (net)
--------------------------------
Status | state: connected
| power state: on
| access tech: edge
| signal quality: 19% (recent)
--------------------------------
Modes | supported: allowed: 2g; preferred: none
| allowed: 3g; preferred: none
| allowed: 2g, 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 2g, 4g; preferred: none
| allowed: 3g, 4g; preferred: none
| allowed: 2g, 3g, 4g; preferred: none
| current: allowed: 2g, 3g, 4g; preferred: none
--------------------------------
Bands | supported: egsm, dcs, utran-1, utran-8, eutran-1, eutran-3, eutran-7,
| eutran-8, eutran-20
| current: egsm, dcs, utran-1, eutran-1
--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------------
3GPP | imei: 351622074745213
| registration: home
--------------------------------
3GPP EPS | ue mode of operation: csps-2
--------------------------------
SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/0
--------------------------------
Bearer | paths: /org/freedesktop/ModemManager1/Bearer/112
| /org/freedesktop/ModemManager1/Bearer/111
| /org/freedesktop/ModemManager1/Bearer/110
| /org/freedesktop/ModemManager1/Bearer/109
| /org/freedesktop/ModemManager1/Bearer/108
| /org/freedesktop/ModemManager1/Bearer/107
| /org/freedesktop/ModemManager1/Bearer/106
| /org/freedesktop/ModemManager1/Bearer/105
| /org/freedesktop/ModemManager1/Bearer/104
| /org/freedesktop/ModemManager1/Bearer/103
| /org/freedesktop/ModemManager1/Bearer/102
| /org/freedesktop/ModemManager1/Bearer/101
| /org/freedesktop/ModemManager1/Bearer/100
| /org/freedesktop/ModemManager1/Bearer/99
| /org/freedesktop/ModemManager1/Bearer/98
| /org/freedesktop/ModemManager1/Bearer/97
| /org/freedesktop/ModemManager1/Bearer/96
| /org/freedesktop/ModemManager1/Bearer/95
| /org/freedesktop/ModemManager1/Bearer/94
| /org/freedesktop/ModemManager1/Bearer/93
| /org/freedesktop/ModemManager1/Bearer/92
| /org/freedesktop/ModemManager1/Bearer/91
| /org/freedesktop/ModemManager1/Bearer/90
| /org/freedesktop/ModemManager1/Bearer/89
| /org/freedesktop/ModemManager1/Bearer/88
| /org/freedesktop/ModemManager1/Bearer/87
| /org/freedesktop/ModemManager1/Bearer/86
| /org/freedesktop/ModemManager1/Bearer/85
| /org/freedesktop/ModemManager1/Bearer/84
| /org/freedesktop/ModemManager1/Bearer/83
| /org/freedesktop/ModemManager1/Bearer/82
| /org/freedesktop/ModemManager1/Bearer/81
| /org/freedesktop/ModemManager1/Bearer/80
| /org/freedesktop/ModemManager1/Bearer/79
| /org/freedesktop/ModemManager1/Bearer/78
| /org/freedesktop/ModemManager1/Bearer/77
| /org/freedesktop/ModemManager1/Bearer/76
| /org/freedesktop/ModemManager1/Bearer/75
| /org/freedesktop/ModemManager1/Bearer/74
| /org/freedesktop/ModemManager1/Bearer/73
| /org/freedesktop/ModemManager1/Bearer/72
| /org/freedesktop/ModemManager1/Bearer/71
| /org/freedesktop/ModemManager1/Bearer/70
| /org/freedesktop/ModemManager1/Bearer/69
| /org/freedesktop/ModemManager1/Bearer/68
| /org/freedesktop/ModemManager1/Bearer/67
| /org/freedesktop/ModemManager1/Bearer/66
| /org/freedesktop/ModemManager1/Bearer/65
| /org/freedesktop/ModemManager1/Bearer/64
| /org/freedesktop/ModemManager1/Bearer/63
| /org/freedesktop/ModemManager1/Bearer/62
| /org/freedesktop/ModemManager1/Bearer/61
| /org/freedesktop/ModemManager1/Bearer/60
| /org/freedesktop/ModemManager1/Bearer/59
| /org/freedesktop/ModemManager1/Bearer/58
| /org/freedesktop/ModemManager1/Bearer/57
| /org/freedesktop/ModemManager1/Bearer/56
| /org/freedesktop/ModemManager1/Bearer/55
| /org/freedesktop/ModemManager1/Bearer/54
| /org/freedesktop/ModemManager1/Bearer/53
| /org/freedesktop/ModemManager1/Bearer/52
| /org/freedesktop/ModemManager1/Bearer/51
| /org/freedesktop/ModemManager1/Bearer/50
| /org/freedesktop/ModemManager1/Bearer/49
| /org/freedesktop/ModemManager1/Bearer/48
| /org/freedesktop/ModemManager1/Bearer/47
| /org/freedesktop/ModemManager1/Bearer/46
| /org/freedesktop/ModemManager1/Bearer/45
| /org/freedesktop/ModemManager1/Bearer/44
| /org/freedesktop/ModemManager1/Bearer/43
| /org/freedesktop/ModemManager1/Bearer/42
| /org/freedesktop/ModemManager1/Bearer/41
| /org/freedesktop/ModemManager1/Bearer/40
| /org/freedesktop/ModemManager1/Bearer/39
| /org/freedesktop/ModemManager1/Bearer/38
| /org/freedesktop/ModemManager1/Bearer/37
| /org/freedesktop/ModemManager1/Bearer/36
| /org/freedesktop/ModemManager1/Bearer/35
| /org/freedesktop/ModemManager1/Bearer/34
| /org/freedesktop/ModemManager1/Bearer/33
| /org/freedesktop/ModemManager1/Bearer/32
| /org/freedesktop/ModemManager1/Bearer/31
| /org/freedesktop/ModemManager1/Bearer/30
| /org/freedesktop/ModemManager1/Bearer/29
| /org/freedesktop/ModemManager1/Bearer/28
| /org/freedesktop/ModemManager1/Bearer/27
| /org/freedesktop/ModemManager1/Bearer/26
| /org/freedesktop/ModemManager1/Bearer/25
| /org/freedesktop/ModemManager1/Bearer/24
| /org/freedesktop/ModemManager1/Bearer/23
| /org/freedesktop/ModemManager1/Bearer/22
| /org/freedesktop/ModemManager1/Bearer/21
| /org/freedesktop/ModemManager1/Bearer/20
| /org/freedesktop/ModemManager1/Bearer/19
| /org/freedesktop/ModemManager1/Bearer/18
| /org/freedesktop/ModemManager1/Bearer/17
| /org/freedesktop/ModemManager1/Bearer/16
| /org/freedesktop/ModemManager1/Bearer/15
| /org/freedesktop/ModemManager1/Bearer/14
| /org/freedesktop/ModemManager1/Bearer/13
| /org/freedesktop/ModemManager1/Bearer/12
| /org/freedesktop/ModemManager1/Bearer/11
| /org/freedesktop/ModemManager1/Bearer/10
| /org/freedesktop/ModemManager1/Bearer/9
| /org/freedesktop/ModemManager1/Bearer/8
| /org/freedesktop/ModemManager1/Bearer/7
| /org/freedesktop/ModemManager1/Bearer/6
| /org/freedesktop/ModemManager1/Bearer/5
| /org/freedesktop/ModemManager1/Bearer/4
| /org/freedesktop/ModemManager1/Bearer/3
| /org/freedesktop/ModemManager1/Bearer/2
| /org/freedesktop/ModemManager1/Bearer/1
| /org/freedesktop/ModemManager1/Bearer/0
Edited by Lars Pedersen