Upstart causes kernel panic on embedded Linux -
i using ptxdist
create kernel , rootfs images linux embedded system, running on arm cortex a8 cpu.
i trying use newer compiler (gcc 5+) , forced upgrade several external packages not compile under new gcc.
i compiled following versions of upstart , immediate dependencies:
upstart: 1.13.2 libnih: 1.0.3 dbus: 1.11.2 json-c: 0.12.1
when boot, following message:
init: com.ubuntu.upstart.c:3525: assertion failed in control_emit_event_emitted: env != null init: caught abort, core dumped kernel panic - not syncing: attempted kill init! exitcode=0x00000600
searching online did not yield useful hints - the relevant issue found this, relevant older version of upstart, , libnih of correct version already.
according comment #8 in bug report linked, not enough use version 1.0.3 of libnih -- have use ubuntu version, seems include dbus fixes solve problem seeing. bug report:
david ireland (e-david) wrote on 2013-04-22: #7
i've built libnih 1.0.3 source , made sure upstart builds version of nih-dbus-tool. i'm still having problem.
james hunt (jamesodhunt) wrote on 2013-04-22: #8
which problem? crash? if so, still using wrong version of libnih: should using ubuntu version (specifically 1.0.3-4ubuntu16) here: https://code.launchpad.net/~ubuntu-branches/ubuntu/raring/libnih/raring
you not need --session flag run "session init" (yes, little confusing --session added testing long time ago , still required that). "session init" requires "--user".
Comments
Post a Comment