2015-01-12 18:58:59 |
Tony Espy |
description |
Installing ofono-phonesim-autostart makes the ubuntu phone image to keep rebooting.
From syslog, it seems ofonod is already running and another instance is trying to be initiated, which fails.
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][WMT-LIB][E]wmt_lib_is_therm_ctrl_support(1175):thermal command can not be send: STP is not ready
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975858][WMT-EXP][E]_mtk_wcn_wmt_therm_ctrl(232):thermal ctrl function not supported
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975871][WMT-LIB][E]wmt_lib_is_therm_ctrl_support(1175):thermal command can not be send: STP is not ready
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975885][WMT-EXP][E]_mtk_wcn_wmt_therm_ctrl(232):thermal ctrl function not supported
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975898][WMT-LIB][E]wmt_lib_is_therm_ctrl_support(1175):thermal command can not be send: STP is not ready
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975910][WMT-EXP][E]_mtk_wcn_wmt_therm_ctrl(232):thermal ctrl function not supported
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 |
Installing ofono-phonesim-autostart makes the ubuntu phone image continually reboot.
This is due to the fact that for some reason, the upstart ofono job isn't properly stopped by ofono-phonesim-autostart, and thus upstart continually tries to start it, eventually hitting the upstart respawn limit.
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-autostart package's post-install script stops the normal ofono upstart job and then launches ofono outside of upstart with command-line arguments that cause the 'phonesim' ofono driver to be loaded instead of rilmodem. Apparently some change in vivid has caused this script to break on krillin.
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][WMT-LIB][E]wmt_lib_is_therm_ctrl_support(1175):thermal command can not be send: STP is not ready
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975858][WMT-EXP][E]_mtk_wcn_wmt_therm_ctrl(232):thermal ctrl function not supported
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975871][WMT-LIB][E]wmt_lib_is_therm_ctrl_support(1175):thermal command can not be send: STP is not ready
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975885][WMT-EXP][E]_mtk_wcn_wmt_therm_ctrl(232):thermal ctrl function not supported
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975898][WMT-LIB][E]wmt_lib_is_therm_ctrl_support(1175):thermal command can not be send: STP is not ready
Dec 9 18:27:42 ubuntu-phablet kernel: [ 12.975910][WMT-EXP][E]_mtk_wcn_wmt_therm_ctrl(232):thermal ctrl function not supported
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 |
|