← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1480785] Re: ofono does not start after upgrade (initclt stalls when sending an event)

 

On Fri, Sep 04, 2015 at 10:44:33AM -0000, Alfonso Sanchez-Beato wrote:
> Got it again, the android event seems stalled too and maybe that's
> stopping other things:

> root@ubuntu-phablet:/home/phablet# ps -ef|grep initctl
> root       749   562  0 12:38 ?        00:00:01 initctl emit android
> root      1852   753  0 12:38 ?        00:00:00 initctl emit rild-ready OFONO_RIL_DEVICE=mtk OFONO_RIL_NUM_SIM_SLOTS=1
> root      3798  3769  0 12:42 pts/9    00:00:00 grep --color=auto initctl

The android event is stalled beacuse the rild-ready event chains from
it.

> root@ubuntu-phablet:/home/phablet# ps awx|grep mountall
>  3786 pts/9    S+     0:00 grep --color=auto mountall

Ok.

> root@ubuntu-phablet:/home/phablet# initctl list
<snip>
> mountall stop/waiting
<snip>
> ofono stop/waiting

Ok, not what I expected to see here.  This means that ofono's start has not
been triggered (if it had, we would see start/starting or start/running),
*and* mountall is not running.

We will definitely need some debug logs out of mountall.  Can you please do
the following as root:

 mount -orw,remount /
 sed -i -e's/--daemon/& --verbose/' /etc/init/mountall.conf
 mount -oro,remount /

And when you can reproduce the problem after a reboot, attach
/var/log/upstart/mountall.log to this bug?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1480785

Title:
  ofono does not start after upgrade (initclt stalls when sending an
  event)

Status in Canonical System Image:
  Incomplete
Status in upstart package in Ubuntu:
  Confirmed

Bug description:
  Some times, on first boot after either using ubuntu-device-flash or
  upgrading the phone via OTA, some processes do not start because
  initctl seems to stall and does not send events that trigger the
  launch of those processes. For instance, I see in my arale:

  $ ps -ef | grep initclt
  root       742   563  1 08:25 ?        00:00:00 initctl emit android
  root      1826   746  0 08:25 ?        00:00:00 initctl emit rild-ready OFONO_RIL_DEVICE=mtk OFONO_RIL_NUM_SIM_SLOTS=1

  and "ofonod" is not started because "rild-ready" is not emitted.

  A second boot solves the issue and I do not see any initctl process
  still executing after some seconds.

  This bug can certainly scare people when they see that they do not
  have telephony just after an OTA.

  I have reproduced in

  $ system-image-cli -i
  current build number: 80
  device name: arale
  channel: ubuntu-touch/devel-proposed/meizu.en
  last update: 2015-08-03 08:24:54
  version version: 80
  version ubuntu: 20150802
  version device: 20150709-8965e37
  version custom: 20150716-819-8-42

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1480785/+subscriptions


References