ofonod crash in rilmode/sim.c::ril_query_sim_passwd_state()
Bug #1231995 reported by
Michael Zanetti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ofono (Ubuntu) |
Fix Released
|
High
|
Tony Espy |
Bug Description
On the Nexus 4 it's nearly impossible to get cellular networking to connect.
The only way I sometimes get it to connect is to manually turn off WiFi and then reboot the phone. But even then it only connects like every second try.
Having WiFi enabled (not even being in range of a known WiFi network) seems to be enough to prevent cellular networking from connecting.
Roaming between WiFi and cellular (for example when leaving home) does not work at all.
Attached you can find a syslog from my desperate try to get a mobile connection. You should see around 5 reboots until I finally managed to get some bytes through the cellular connection.
Related branches
lp:~rsalveti/ofono/apn_mnc_passwd_fixes
- PS Jenkins bot: Approve (continuous-integration)
- Tony Espy: Approve
-
Diff: 272 lines (+83/-33)8 files modifieddrivers/rilmodem/sim.c (+2/-2)
include/sim.h (+1/-0)
plugins/mbpi.c (+6/-1)
plugins/mbpi.h (+1/-0)
plugins/provision.c (+3/-2)
src/gprs.c (+23/-5)
src/sim.c (+45/-22)
tools/lookup-apn.c (+2/-1)
Changed in ofono (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
There's a large number of instances of ofono dying and being respawned by upstart:
Sep 27 12:03:36 ubuntu-phablet ofonod[1195]: [UNSOL]< UNSOL_RIL_CONNECTED 1183]: <info> (/ril_0) updated available interfaces 1183]: <info> ofono disappeared
Sep 27 12:03:36 ubuntu-phablet ofonod[1195]: GET_SIM_STATUS reques failed: 2; retries: 1
[...]
Sep 27 12:03:39 ubuntu-phablet NetworkManager[
Sep 27 12:03:40 ubuntu-phablet ofonod[1195]: Querying PIN authentication state failed
Sep 27 12:03:40 ubuntu-phablet NetworkManager[
Sep 27 12:03:40 ubuntu-phablet kernel: [ 21.828231] init: ofono main process (1195) killed by SEGV signal
Sep 27 12:03:40 ubuntu-phablet kernel: [ 21.828322] init: ofono main process ended, respawning
[...]
Sep 27 12:03:46 ubuntu-phablet ofonod[1967]: oFono version 1.12
This concerns me somewhat. Is this SIM locked by a PIN?
In the instance where you succesfully connected, it's one of the cases where there were no such errors about PIN authentication. I however can't explain how this might have changed without user intervention. One other failure seems to have been where ofono failed to respond to a dbus message.
Reassigning to ofono -- I sincerely think there is a bigger issue here which causes the connection to fail. I won't be able to reproduce this without having the same SIM (and since we're not in the same country either, it might be even harder). There is definitely a need for further investigation.
Michael, could you get debug logs from ofono? You should be able to edit /etc/init/ ofono.conf to add "-d" to the exec ofonod line in that file, reboot, and still be able to reproduce the issue. In this case we'll get debug information in syslog which may help figuring out the problem.