[Initng] how to make it work on m68k nommu embedded system
David Wu
davidwu at arcturusnetworks.com
Thu Aug 28 20:20:37 CEST 2008
Hi Ismael,
Thanks for your reply.
I have managed to add in main.c a call to module_init() in
initng_runlevel.c and
module_init() in initng_rl_parser.c. It called
initng_active_state_register() as below.
** "/home/wmq/initng/initng-0.6.10.2/plugins/runlevel/initng_runlevel.c",
runlevel_module_init():
00:00:01 -- l:180 module_init();
** "/home/wmq/initng/initng-0.6.10.2/src/initng_active_state.c",
initng_active_state_register():
00:00:01 -- l:41 adding START_MARKED.
00:00:01 -- l:41 adding STOP_MARKED.
00:00:01 -- l:41 adding UP.
00:00:01 -- l:41 adding WAITING_FOR_START_DEP.
00:00:01 -- l:41 adding WAITING_FOR_STOP_DEP.
00:00:01 -- l:41 adding DOWN.
00:00:01 -- l:41 adding START_DEPS_FAILED.
But it still complains that it could not find runlevel service.
FAILSAFE ERROR **
"/home/wmq/initng/initng-0.6.10.2/plugins/rlparser/initng_rl_parser.c",
initng_rl_parser() line 159:
00:00:01 -- FAIL: ERROR, runlevel servicetype is not found, make
sure runlevel plugin is loaded.
As you said at this point it is really useless. I may go back to solve it
if I have time working on it.
Thanks again.
On Thu, 28 Aug 2008 13:23:24 -0400, Ismael Luceno
<ismael.luceno at gmail.com> wrote:
> El Thu, 28 Aug 2008 10:55:37 -0400
> "David Wu" <davidwu at arcturusnetworks.com> escribió:
>
>> Hi list,
>>
>> I am new to the list and initng program. I have built initng for
>> m68knommu system
>> without "dl" support (no shared library support on the system). To
>> be able to do it
>> I comment out the calls of initng_load_module_load_all() etc. in
>> main.c, and I believe
>> this also make it not working for all services in /etc/initng/*. I'd
>> like to konw which
>> function(s) is acturally loading those services. I think one of the
>> plugins should do it.
>> it that plugins/ngc4/initng_ngc4.c ?
>>
>> What I want to achieve is let initng load/manage a few services
>> similar to "/etc/rc" script
>> , "inittab" and inetd etc.
>>
>> thanks for any help,
>>
>
> InitNG is fully modular, without the modules it's useless, and right now
> we have no support for statically-linked modules :(. That's one of the
> features I want for 0.7.
>
--
David Wu
More information about the Initng
mailing list