[ofono] Image 147 does not register to GSM on bootup
Bug #1187031 reported by
Michael Zanetti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
touch-preview-images |
Fix Released
|
High
|
Tony Espy |
Bug Description
Starting with image 147, for me, ofono does not register to GSM on bootup any more. Image 145 was fine, I did not try 146.
Loggin in and manually restarting ofono makes it work. Increasing the pre-start sleep timeout to a bigger value works around the issue. (Maguro seems to be ok with 10 seconds, Mako seems to require a bit more. 15 seems ok for Mako).
Here is the ofono log when booting up in the default configuration: http://
Related branches
lp:~awe/phablet-extras/ofono-lp1187031
- Ricardo Salveti (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 204 lines (+87/-14)3 files modifieddebian/changelog (+8/-0)
gril/gril.c (+24/-1)
plugins/ril.c (+55/-13)
Changed in touch-preview-images: | |
assignee: | nobody → Tony Espy (awe) |
importance: | Undecided → High |
Changed in touch-preview-images: | |
assignee: | Michael Zanetti (mzanetti) → Tony Espy (awe) |
status: | Incomplete → In Progress |
Changed in touch-preview-images: | |
status: | In Progress → Fix Committed |
Changed in touch-preview-images: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
@Michael
I'm kinda stumped. I've tried to reproduce this on both maguro and mako, using the version of ofono included with image 147, and a newer version of ofono with some tracing improvements.
I'm assuming when you said "pre-sleep" timeout, you meant the timeout in the ofono upstart job.
To reproduce, I just tried lowering the pre-sleep timeout as far as I could to see if I could trigger the failure. On maguro, lowering the pre-sleep timeout made no difference until I got it down to 2, then instead of the failure you report, I got a socket connection error. Note each of my attempts was triggered by a reboot.
Just to be on the safe side, I tried this both with and without an active Wi-Fi connection on both devices.
Is there any other differences you can think about? Had you installed any other package, or modified any other configuration files on the system that might have made a difference? Anything special about your SIM?
Also, just to confirm... you can reproduce this on both devices, correct? Can you reproduce it consistently?
I also spent some time looking at the code, and the only theory I have is that there's a race and that the SIM_STATUS command is received by RILD after the socket has connected, but before the UNSOL_RIL_CONNECTED message is sent.