Public bug reported:

This is the relevant excerpt from my syslog:

Oct  2 22:10:31 ubuntu-phablet kernel: [  862.705020] adjust_soc: ibat_ua = 
-220300, vbat_uv = 4375587, soc = 96, batt_temp=306
Oct  2 22:10:43 ubuntu-phablet NetworkManager[1087]: <info> (/ril_0): device 
state change: activated -> disconnected (reason 'user-requested') [100 30 39]
Oct  2 22:10:43 ubuntu-phablet NetworkManager[1087]: <info> (/ril_0): 
deactivating device (reason 'user-requested') [39]
Oct  2 22:10:43 ubuntu-phablet NetworkManager[1087]: <warn> DNS: plugin dnsmasq 
update failed
Oct  2 22:10:43 ubuntu-phablet dnsmasq[2077]: setting upstream servers from DBus
Oct  2 22:10:43 ubuntu-phablet NetworkManager[1087]: <info> Removing DNS 
information from /sbin/resolvconf
Oct  2 22:10:43 ubuntu-phablet NetworkManager[1087]: <info> WWAN now disabled 
by management service
Oct  2 22:10:43 ubuntu-phablet dbus[653]: [system] Activating service 
name='org.freedesktop.nm_dispatcher' (using servicehelper)
Oct  2 22:10:43 ubuntu-phablet whoopsie[1495]: offline
Oct  2 22:10:43 ubuntu-phablet NetworkManager[1087]: <info> (/ril_0) marked 
enabled: 0
Oct  2 22:10:43 ubuntu-phablet dbus[653]: [system] Successfully activated 
service 'org.freedesktop.nm_dispatcher'
Oct  2 22:10:51 ubuntu-phablet kernel: [  882.695192] adjust_soc: ibat_ua = 
-216800, vbat_uv = 4375587, soc = 96, batt_temp=307
Oct  2 22:11:03 ubuntu-phablet NetworkManager[1087]: <warn> (/ril_0) failed to 
disconnect modem: Did not receive a reply. Possible causes include: the remote 
application did not send a reply, the message bus security policy blocked the 
reply, the reply timeout expired, or the network connection was broken.
Oct  2 22:11:11 ubuntu-phablet kernel: [  902.685151] adjust_soc: ibat_ua = 
-214500, vbat_uv = 4375293, soc = 96, batt_temp=308
Oct  2 22:11:31 ubuntu-phablet kernel: [  922.675080] adjust_soc: ibat_ua = 
-213400, vbat_uv = 4376176, soc = 96, batt_temp=308
Oct  2 22:11:45 ubuntu-phablet ofonod[915]: ril_deactivate_data_call_cb: replay 
failure: GENERIC_FAILURE
Oct  2 22:11:51 ubuntu-phablet kernel: [  942.665160] adjust_soc: ibat_ua = 
-208900, vbat_uv = 4376176, soc = 96, batt_temp=308
Oct  2 22:12:11 ubuntu-phablet kernel: [  962.655150] adjust_soc: ibat_ua = 
-205400, vbat_uv = 4376766, soc = 96, batt_temp=308
Oct  2 22:12:31 ubuntu-phablet kernel: [  982.645170] adjust_soc: ibat_ua = 
-195800, vbat_uv = 4374701, soc = 96, batt_temp=308


This test was achieved by wrapping a Nexus 4 in tinfoil to block radio signals. 
When tinfoil is added; the connection properly drops and is disconnected by 
NetworkManager (note there is one message being sent that ofono never seems to 
respond to). Ofono successfully transitions to Attached = 0; Status = 
searching, etc. to indicate the GPRS connection was severed.

When tinfoil is removed, oFono eventually moves back to Status =
registered, but Attached never gets set back to 1. Because of this,
NetworkManager cannot activate a data session. The context still appears
to be active throughout, though.

[ /ril_0 ]
    Features = sms net gprs sim 
    Emergency = 0
    Powered = 1
    Lockdown = 0
    Interfaces = org.ofono.CallVolume org.ofono.MessageManager 
org.ofono.NetworkRegistration org.ofono.VoiceCallManager 
org.ofono.ConnectionManager org.ofono.NetworkTime org.ofono.SimManager 
    Online = 1
    Model = Fake Modem Model
    Revision = M9615A-CEFWMAZM-2.0.1700.84
    Type = hardware
    Serial = <omitted>
    Manufacturer = Fake Manufacturer
    [ org.ofono.CallVolume ]
        Muted = 1
        SpeakerVolume = 0
        MicrophoneVolume = 0
    [ org.ofono.MessageManager ]
    [ org.ofono.NetworkRegistration ]
        Status = registered
        Strength = 22
        Name = Bell
        LocationAreaCode = <omitted>
        Mode = auto
        MobileCountryCode = 302
        Technology = umts
        CellId = <omitted>
        MobileNetworkCode = 610
    [ org.ofono.VoiceCallManager ]
        EmergencyNumbers = 08 000 999 110 112 911 118 119 
    [ org.ofono.ConnectionManager ]
        Attached = 0
        RoamingAllowed = 0
        Powered = 1
    [ org.ofono.NetworkTime ]
    [ org.ofono.SimManager ]
        Retries = 
        MobileCountryCode = 302
        FixedDialing = 0
        SubscriberNumbers = <omitted> 
        PreferredLanguages = en fr 
        BarredDialing = 0
        ServiceNumbers = [Client Care - Int'l] = '+15144207748' [Client Care - 
Canada] = '*611' [#TAXI] = '#8294' [Directory Assistance] = '411' [Client Care 
- US] = '18006677626' 
        CardIdentifier = <omitted>
        LockedPins = 
        MobileNetworkCode = 610
        SubscriberIdentity = <omitted>
        Present = 1
        PinRequired = none

[ /ril_0 ]
    [ /ril_0/context1 ]
        Username = 
        Protocol = ip
        Name = Internet
        Settings = { DomainNameServers=206.47.201.246,207.231.231.254, 
Method=static Netmask=255.255.255.252 Address=10.110.xx.xx Interface=rmnet_usb0 
Gateway=10.110.xx.xx }
        IPv6.Settings = { }
        Active = 1
        AccessPointName = inet.bell.ca
        Password = 
        Type = internet

** Affects: ofono (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  after transitioning to Attached = 0; ofono never transitions back to
  Attached = 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1234434/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to