No data connection switching from 2G only to 3G
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
Critical
|
Pat McGowan | ||
| | network-manager (Ubuntu) |
Critical
|
Tony Espy | ||
| | network-manager (Ubuntu RTM) |
Critical
|
Tony Espy | ||
Bug Description
Test case.
- Open System Settings.
- Go to Cellular.
- Switch from 3G to 2G, check that indicator network shows 2G only connection.
- Switch from 2G only to 3G.
Expected result.
- Indicator network shows 3G connection, and user can use data connection.
Actual result.
- Data connection is lost.
Tested in single SIM and dual SIM mode, with two different SIM cards from different operators.
current build number: 23
device name: krillin
channel: ubuntu-
Related branches
- Alfonso Sanchez-Beato: Approve on 2015-06-10
-
Diff: 278 lines (+258/-0)3 files modifieddebian/changelog (+9/-0)
debian/patches/lp1461593-add-modem-reconnect-delay.patch (+247/-0)
debian/patches/series (+2/-0)
- Mathieu Trudel-Lapierre: Approve on 2015-07-20
-
Diff: 331 lines (+223/-10)6 files modifieddebian/changelog (+10/-0)
debian/patches/0001-wwan-add-support-for-using-oFono-as-a-modem-manager.patch (+16/-9)
debian/patches/add_ofono_settings_support.patch (+5/-1)
debian/patches/lp1461593-add-modem-reconnect-delay-to-policy.patch (+117/-0)
debian/patches/lp1461593-add-nm-settings-connection-reset-retries-methods.patch (+73/-0)
debian/patches/series (+2/-0)
| Víctor R. Ruiz (vrruiz) wrote : | #1 |
| Víctor R. Ruiz (vrruiz) wrote : | #2 |
I used Movistar and Yoigo SIM cards.
| Changed in network-manager (Ubuntu): | |
| importance: | Undecided → Critical |
| assignee: | nobody → Tony Espy (awe) |
| Changed in network-manager (Ubuntu RTM): | |
| importance: | Undecided → Critical |
| assignee: | nobody → Tony Espy (awe) |
| Víctor R. Ruiz (vrruiz) wrote : | #3 |
Output of 'list-modems' and 'list-contexts': http://
| Tony Espy (awe) wrote : | #4 |
@Victor
Could you please reproduce and attach the system directly ( ie. not via past.ubuntu.com )?
| Changed in network-manager (Ubuntu RTM): | |
| status: | New → Incomplete |
| assignee: | Tony Espy (awe) → Víctor R. Ruiz (vrruiz) |
| Tony Espy (awe) wrote : | #5 |
| Tony Espy (awe) wrote : | #6 |
| Tony Espy (awe) wrote : | #7 |
Victor's list-modems output shows the modem registered to Yoigo ( mcc/mnc: 214/04 ), and the RadioSettings TechnologyPrefe
| Víctor R. Ruiz (vrruiz) wrote : | #8 |
| Tony Espy (awe) wrote : | #9 |
Thanks for the log @Victor.
So the smoking gun is:
Jun 4 14:26:41 ubuntu-phablet NetworkManager[
There's only one of these in the log. When this happens, NetworkManager has seen a disconnect for the modem, but hasn't yet seen the signal that the GPRS has de-tached ( which is what should happen when you change radio technology ). In this case, NM retries the modem rapidly, and burns through the autoconnect_
This is indeed similar to the bug #1418077 ( FixReleased ) and bug #1445080 ( InProgress). I have a partial fix for the latter bug which may resolve your specific scenario.
One question, do you wait for the network-indicator to show the mobile connection is active before switching the radio technology from 3g to 2g, and back again? I see the connection coming up in the syslog, but it looks like the technology gets toggled again before it's completely finished.
| Launchpad Janitor (janitor) wrote : | #10 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in network-manager (Ubuntu): | |
| status: | New → Confirmed |
| Víctor R. Ruiz (vrruiz) wrote : | #11 |
Tony: From 3G to 2G, the data connection is up in a short time. I wait until 2G data is up, and then switch from 2G to 3G. That forces to wait ~10 minutes.
| Pat McGowan (pat-mcgowan) wrote : | #12 |
We will poke in a fix for this
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → Pat McGowan (pat-mcgowan) |
| importance: | Undecided → Critical |
| milestone: | none → ww24-2015 |
| status: | New → In Progress |
| Changed in network-manager (Ubuntu): | |
| status: | Confirmed → In Progress |
| Changed in network-manager (Ubuntu RTM): | |
| status: | Incomplete → In Progress |
| assignee: | Víctor R. Ruiz (vrruiz) → Tony Espy (awe) |
| Tony Espy (awe) wrote : | #13 |
I've split out some of the code I was working on for bug #1445080 ( Cellular connection isn't restored after FlightMode disabled ) and created a proposed fix..
I've pushed a test version to my PPA for testing before I go ahead and create a silo ( I'd like the merge proposal reviewed as well ). You can just grab the network-manager and libnm-util2 packages from the PPA and install directly ( install libnm-util2 *before* the network-manager packages ):
| Changed in canonical-devices-system-image: | |
| milestone: | ww24-2015 → ww22-2015 |
| Tony Espy (awe) wrote : | #14 |
A couple of minor comments were addressed in the merge proposal, and a new version with an official version number has been pushed to the telephony PPA, this package will be binary sync'd to a silo for landing in the overlay PPA. I will post silo details when they become available.
| tags: | added: lt-blocker lt-category-visible |
| Tony Espy (awe) wrote : | #15 |
For anyone else wanted to test, this fix has landed in silo-031:
https:/
| Łukasz Zemczak (sil2100) wrote : | #16 |
This bug was fixed in the package network-manager 0.9.10.
---------------
network-manager (0.9.10.
* debian/
a 5s delay to NM_POLICY's activation logic triggered when a
device is disconnected. This allows the modem time to settle
and NM to process the resulting DBus state changes (LP: #1461593).
-- Tony Espy <email address hidden> Mon, 08 Jun 2015 15:49:56 -0400
| Changed in network-manager (Ubuntu RTM): | |
| status: | In Progress → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Released |
| Launchpad Janitor (janitor) wrote : | #17 |
This bug was fixed in the package network-manager - 0.9.10.0-4ubuntu19
---------------
network-manager (0.9.10.
[ Tony Espy ]
* debian/
that added APN, USERNAME and PASSWORD to NM_SETTING_GSM object.
NM doesn't actually need access to these settings, and USERNAME/
PASSWORD can cause issues with NM's secrets needed logic.
* debian/
debian/
debian/
debian/
to NMModemOfono's modem_state handling. Added get/set_
methods to NMSettingsConne
ofono connections to 30s. Finally added a 5s delay to NM_POLICY's activation
logic triggered when a modem device is disconnected. This allows modem time to
settle and NM to process the resulting DBus state changes. (LP: #1461593)
* debian/
debian/
debian/
debian/
changes collectively fix flight-mode on arale ( and other devices ), due to
some fundemental race conditions in the ofono logic. (LP: #1445080, #1440917)
* debian/
debian/
gprs-context 'Preferred' property. (LP: #1361864)
[ Mathieu Trudel-Lapierre ]
* d/p/0002-
Re-add schedule_scan() call after we get the ScanDone signal from the
supplicant. Otherwise we'd do one scan on startup and never scan again.
(LP: #1445134)
-- Mathieu Trudel-Lapierre <email address hidden> Wed, 05 Aug 2015 12:17:28 -0400
| Changed in network-manager (Ubuntu): | |
| status: | In Progress → Fix Released |


After waiting ~10 minutes, connection was up again. May be a duplicate of bug https:/ /bugs.launchpad .net/canonical- devices- system- image/+ bug/1418077