[BusyBox] busybox[init] hangs almost immediately at boot time

Robert P. J. Day rpjday at mindspring.com
Mon Feb 2 12:39:17 UTC 2004


  i'm sure it's something silly i'm doing, but i'm using busybox for "init"
and, at boot time, the target board is hanging at precisely the same
spot each time, after NFS-mounting the root filesystem and just after
busybox (as init) is invoked:

  Looking up port of RPC 100003/2 on 20.0.0.1
  Looking up port of RPC 100005/1 on 20.0.0.1
  VFS: Mounted root (nfs filesystem).
  Mounted devfs on /dev
  Freeing unused kernel memory: 60k init
  init started:  BusyBox v1.00-pre6 (2004.02.02-11:48+0000) multi-c

literally, the boot hangs at exactly the same spot each time -- right
after that final letter "c" (or, at least, that's what it looks like visually
thru minicom).

  as background, i started with the root filesystem that comes with 
the ELDK2.1 toolchain.  that root filesystem has a separate "init"
executable, and incorporates busybox 0.60.1.  the first part of
/etc/inittab reads:
------------------------------
id:3:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
-------------------------------

  booting using that root filesystem (separate /sbin/init, and that 
inittab file) works like a charm, you can see where init is being
invoked when using this original setup:

Freeing unused kernel memory: 60k init
INIT: version 2.78 booting ...

  what i did was to take that same root filesystem, upgrade to 
BB 1.00-pre5 (and pre6 this morning, same result), use the
same /etc/inittab, but now, /sbin/init -> ../bin/busybox.  
and that's when every attempt at booting hangs at exactly the
same spot.

  is there something obvious i forgot to do?  an option that 
i missed setting?  i've configured in everything related to init
that seems appropriate.

  thoughts?

rday








More information about the busybox mailing list