Installing ofono-phonesim-autostart makes the phone unusable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ofono (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
ofono-phonesim (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Installing ofono-phonesim-
This is due to the fact that for some reason, the upstart ofono job isn't properly stopped by ofono-phonesim-
This then causes our new upstart monitor job to reboot the phone, which continues ad infinitum.
This can be seen by examining syslog, it seems ofonod is already running ( which is expected ) and another instance is trying to be initiated, which fails.
The ofono-phonesim-
Dec 9 18:27:42 ubuntu-phablet ofonod[1792]: oFono version 1.12
Dec 9 18:27:42 ubuntu-phablet ofonod[1792]: Unable to hop onto D-Bus: Name already in use
Dec 9 18:27:42 ubuntu-phablet ofonod[1792]: Exit
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.665785]init: ofono main process ended, respawning
Dec 9 18:27:42 ubuntu-phablet ofonod[1798]: oFono version 1.12
Dec 9 18:27:42 ubuntu-phablet ofonod[1798]: Unable to hop onto D-Bus: Name already in use
Dec 9 18:27:42 ubuntu-phablet ofonod[1798]: Exit
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.703455]init: ofono main process ended, respawning
Dec 9 18:27:42 ubuntu-phablet ofonod[1805]: oFono version 1.12
Dec 9 18:27:42 ubuntu-phablet ofonod[1805]: Unable to hop onto D-Bus: Name already in use
Dec 9 18:27:42 ubuntu-phablet ofonod[1805]: Exit
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.736463]init: ofono main process ended, respawning
Dec 9 18:27:42 ubuntu-phablet ofonod[1809]: oFono version 1.12
Dec 9 18:27:42 ubuntu-phablet ofonod[1809]: Unable to hop onto D-Bus: Name already in use
Dec 9 18:27:42 ubuntu-phablet ofonod[1809]: Exit
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.804352]init: ofono main process ended, respawning
Dec 9 18:27:42 ubuntu-phablet ofonod[1816]: oFono version 1.12
Dec 9 18:27:42 ubuntu-phablet ofonod[1816]: Unable to hop onto D-Bus: Name already in use
Dec 9 18:27:42 ubuntu-phablet ofonod[1816]: Exit
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.862548]init: ofono main process ended, respawning
Dec 9 18:27:42 ubuntu-phablet ofonod[1818]: oFono version 1.12
Dec 9 18:27:42 ubuntu-phablet ofonod[1818]: Unable to hop onto D-Bus: Name already in use
Dec 9 18:27:42 ubuntu-phablet ofonod[1818]: Exit
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.898121]init: ofono main process ended, respawning
Dec 9 18:27:42 ubuntu-phablet ofonod[1823]: oFono version 1.12
Dec 9 18:27:42 ubuntu-phablet ofonod[1823]: Unable to hop onto D-Bus: Name already in use
Dec 9 18:27:42 ubuntu-phablet ofonod[1823]: Exit
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.936372]init: ofono main process ended, respawning
Dec 9 18:27:42 ubuntu-phablet ofonod[1827]: oFono version 1.12
Dec 9 18:27:42 ubuntu-phablet ofonod[1827]: Unable to hop onto D-Bus: Name already in use
Dec 9 18:27:42 ubuntu-phablet ofonod[1827]: Exit
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.966431]init: ofono main process ended, respawning
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975834]
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975858]
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975871]
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975885]
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975898]
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975910]
Dec 9 18:27:42 ubuntu-phablet ofonod[1830]: oFono version 1.12
Dec 9 18:27:42 ubuntu-phablet ofonod[1830]: Unable to hop onto D-Bus: Name already in use
Dec 9 18:27:42 ubuntu-phablet ofonod[1830]: Exit
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.998166]init: ofono main process ended, respawning
Dec 9 18:27:42 ubuntu-phablet ofonod[1832]: oFono version 1.12
Dec 9 18:27:42 ubuntu-phablet ofonod[1832]: Unable to hop onto D-Bus: Name already in use
Dec 9 18:27:42 ubuntu-phablet ofonod[1832]: Exit
Dec 9 18:27:42 ubuntu-phablet kernel: [ 13.023913]init: ofono respawning too fast, stopped
Dec 9 18:27:42 ubuntu-phablet watchdog: 'ofono' (instance '') hit respawn limit - rebooting
Changed in ofono (Ubuntu): | |
status: | New → Incomplete |
Changed in ofono-phonesim (Ubuntu): | |
status: | New → Incomplete |
Changed in ofono (Ubuntu): | |
assignee: | nobody → Gustavo Pichorim Boiko (boiko) |
Changed in ofono (Ubuntu): | |
assignee: | Gustavo Pichorim Boiko (boiko) → nobody |
description: | updated |
I just installed on mako running vidid-proposed #56.
As expected, ofono-phonesim- autostart stops the running ofonod instance, and restarts it such that phonesim is loaded ( vs. rilmodem ).
I'm able to run list-modems ( /usr/share/ ofono/scripts/ list-modems ) and confirm that phonesim has been loaded/initialized as the 'Manufacturer' property returned is 'MeeGo'.
I checked and didn't see any related crash files in /var/crash, nor did I see any unusual log messages from ofonod in the syslog. So from my point of view, ofono and ofono-phonesim- autostart are both working as expected.
Please re-test and make sure to provide device, channel, and image #.
I tried rebooting ( which is recommended before running autopilot tests ), and everything still looks fine to me.