Hi, all,

This is the first time I post to this mailing list.

I'm now trying to use initng for fast booting on our embedded system.
I found a strange latency only once while booting initng services.
After one of service program has done, it took two minutes till service is up.
(Normally it takes only 1 sec.)

This program (nwpboot) writes other program to pci, it returns 0 to initng after printing 'writing done'.

Outputs by syslog-ng are below:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dec 12 01:56:19 MYHOST InitNG: Service system/modules is up.
Dec 12 01:56:19 MYHOST InitNG: Service system/mountfs is up.
Dec 12 01:56:34 MYHOST InitNG: Service service/nwp_exp is up.
Dec 12 01:56:35 MYHOST InitNG: Service service/lm_exp is up.
Dec 12 01:56:39 MYHOST service/nwpboot: writing done (*by printf)
           ^
           | 2 minutes latency
           v
Dec 12 01:58:39 MYHOST InitNG: Service service/nwpboot is up.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The definition of nwpboot service is below:
(in /etc/initng/service/nwpboot.i)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
service service/nwpboot {
    need = system/modules system/mountfs service/nwp_exp service/lm_exp;
    script start = {
        /usr/bin/nwpboot /root/nwp_program userapp
    };
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Does initng have 2 minutes timer?
If yes, when it works?
(I tried whether it appeared again more than 20,000 times, but it didn't.)

Please give me an advice.

The version is the following.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Linux-2.6.21.7
 initng-0.6.10

Best regards,

Takeshi

--
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng

Reply via email to