urfkill seems to get stuck when stressing flight mode

Bug #1388065 reported by Olli Ries
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
urfkill (Ubuntu)
In Progress
Critical
spoorti

Bug Description

symptoms:
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
repeat
check SIM status when flight mode is off

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

Revision history for this message
Olli Ries (ories) wrote :
Revision history for this message
Olli Ries (ories) wrote :
Changed in urfkill (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Olli Ries (ories) wrote :
Revision history for this message
Olli Ries (ories) wrote :
Revision history for this message
Olli Ries (ories) wrote :
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :
Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

does not seem to be related to #1382595.

Revision history for this message
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 ).

Revision history for this message
Tony Espy (awe) wrote :

@Olli

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)
Changed in urfkill (Ubuntu):
status: New → Incomplete
assignee: nobody → Olli Ries (ories)
Revision history for this message
Niklas Wenzel (nikwen) wrote :

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

spoorti (spoortiprabhu)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.