@Tony, great catch! I have tested your changes and reproduced the bug.
Now list-contexts does not show any active context when ccmni0 is down.

However, NM is not able to recover from this situation. It tries to add
routes before we get the UNSOL_DATA_CALL_LIST_CHANGED event in ofono.
After that it tries to activate a context, but fails. I think that for
some reason it cannot completely recover after the error adding routes.
I also see that I get the bug always and that there is a suspicious line
from a kernel driver saying "CCMNI0 close" that I do not know who is
triggering. I have tried also with NM from silo 9, but no luck either.

Please see attached log. To me these lines are interesting:

Apr 14 07:48:54 ubuntu-phablet nm-dispatcher: Dispatching action 'down' for 
wlan0
...
Apr 14 07:48:56 ubuntu-phablet kernel: [   58.774157][ccci/net] (1)CCMNI0 close 
...
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
...
Apr 14 07:48:56 ubuntu-phablet ofonod[1842]: [0,UNSOL]< 
UNSOL_DATA_CALL_LIST_CHANGED {version=9,num=0}

So we are near, but more changes are needed.

** Attachment added: "syslog.gz"
   
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1435328/+attachment/4374845/+files/syslog.gz

-- 
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