@Tony

No, I cannot reproduce anymore easily. That SIM has now credit, and even
when it did not have the sequence in #26 was not happening any more
after a couple of days.

What I interpret from syslog in #26 is:

1.  Apr 14 07:48:54 ubuntu-phablet nm-dispatcher: Dispatching action 'down' for 
wlan0
-> We are out of reach of WiFi, wifi is in disconnect state for NM

2. Apr 14 07:48:56 ubuntu-phablet kernel: [ 58.774157][ccci/net] (1)CCMNI0 close
-> For some reason/coincidence immediately after wifi is disconnected the modem 
discovers the current cellular data context is not valid anymore and rild shuts 
down interface ccmni0. ofono still does not know this has happened, so it still 
considers the context is active.

3. Apr 14 07:48:56 ubuntu-phablet NetworkManager[1385]: <error> 
[1428997736.577516] [platform/nm-linux-platform.c:1714] add_object(): Netlink 
error adding 0.0.0.0/0 via 10.25.195.122 dev ccmni0 metric 1024 mss 0 src user: 
Object not found
->  all ofono properties show that ccnmi0 is up and running so NM tries to 
create a default route that uses ccmni0, but it fails because ccmni is actually 
down.

4. Apr 14 07:48:56 ubuntu-phablet ofonod[1842]: [0,UNSOL]< 
UNSOL_DATA_CALL_LIST_CHANGED {version=9,num=0}
-> rild notifies ofono about a change in the state of the IP contexts, ofono 
deactivates the context at that moment.

The "coincidence" between WiFi disconnecting and modem shuting down
ccmni0 produces this unfortunate intermix of events. Usually NM would
have not tried to establish routes right between ccmni0 being shut down
by rild and ofono noticing that. But, anyway NM should be able to
recover after the failure to set up routes and it should have tried to
activate the context once ofono signals there has been a deactivation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435328

Title:
  Leaving Wifi does not connect to mobile carrier data (GSM)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1435328/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to