urfkill seems to get stuck when stressing flight mode

Bug #1388065 reported by Olli Ries on 2014-10-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone
urfkill (Ubuntu)

Bug Description

when rapidly turning flight mode on and off, the SIM will show as either "No Sim" or "Offline" after a few iterations

how to reproduce:
open network indicator
(randomly) turn flight mode on/off
check SIM status when flight mode is off

I was able to get the sim back online by removing /var/lib/urfkill/saved-states

Olli Ries (ories) wrote :
Olli Ries (ories) wrote :
Changed in urfkill (Ubuntu):
importance: Undecided → Critical
Olli Ries (ories) wrote :
Antti Kaijanmäki (kaijanmaki) wrote :

does not seem to be related to #1382595.

Tony Espy (awe) wrote :

After discussing with Alfonso this morning, your syslog definitely shows signs of the ofono bug mentioned above in comment #6. I asked Alfonso to mark this as Critical/rtm14 as when this bug is hit, the modem becomes unresponsive until the phone is restarted ( technically an ofono restart would work, but a non-technical user would have no idea how to do this ).

Tony Espy (awe) wrote :


Also regarding this bug, in order to determine whether there's an underlying urfkill bug, we need to query the modem states ( via /usr/share/ofono/scripts/list-modems ) and the state of urfkill ( /usr/share/urfkill/scripts/flight-mode & enumerate ).

urfkill is designed to only toggle Flight-Mode if it's able to reliably enable/disable *all* the radios. If any of the online/offline operations fail, the flight-mode operation fails, and urfkill will rollback any radios that had been changed up to the failure.

Also how easily can you reproduce?

Tony Espy (awe) on 2014-11-03
Changed in urfkill (Ubuntu):
status: New → Incomplete
assignee: nobody → Olli Ries (ories)
Niklas Wenzel (nikwen) wrote :

Ok, please forget about my comments. It's probably another bug. Sorry for all inconvenience.

spoorti (spoortiprabhu) on 2015-11-15
Changed in urfkill (Ubuntu):
assignee: Olli Ries (ories) → spoorti (spoortiprabhu)
status: Incomplete → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers