init hangs

Denys Vlasenko vda.linux at googlemail.com
Sat Dec 8 19:51:09 PST 2007


On Wednesday 05 December 2007 05:20, chanemouganandam saravanan wrote:
> Hi ,
>
> Excuse me for the jumbled mail problem and I will fix it.
>
> Yes, I am clear that busybox "init" doesn't support run levels.
> /etc/inittab says use sysvinit for runlevels and to use run level,
> in the Buildroot ( using gcc 4.1.2 , binuitls 2.17 and uClibc 0.9.29
> version) busybox package selection, I have enabled
> "Hide application that are provided by busybox"  to select "sysvinit" which
> builts and installs sysVinit version 2.86 in the final rootfs.
>
> In the rootfs, I have modified a bit in /etc/inittab and created rc2.d in
> /etc to test the run level 2 . Finally, the bootup message
> .....
> Looking up port of RPC 100003/2 on 192.168.6.1
> Looking up port of  RPC 100005/1 on 192.168.6.1
> VFS: Mounted root (nfs filesystem).
> Freeing init memory: 108K
> INIT: version 2.86 booting
> INIT: Entering runlevel: 2
>
>
> uClibc login:
>
> shows that init doesn't execute /etc/init.d/rcS or /etc/init.d/rc.  If
> there is a syntax error or missing run level in the inittab
> then "init" throws the respective error message.

If I understand you correctly, you are using sysV init,
and it doesn't run initscript for runlevel 2 for you.
In oter words, this doesn't seem to be a busybox problem.

Sorry, I can't help you right now, a bit busy.
--
vda


More information about the busybox mailing list