upgrade busybox 1.0.0 => busybox 1.1.3 : init hang

Rob Landley rob at landley.net
Sat Jun 24 14:28:34 PDT 2006


On Friday 23 June 2006 11:48 am, Jean-Philippe Francois wrote:
> On Fri, 2006-06-23 at 15:49, Jean-Philippe Francois wrote:
> > Hi,
> > I downloaded and compiled busybox1.1.3 today, and now
> > my init hangs.
> > Here is the setup :
> > ARM (ep9307) processor
> > Init : cramfs initrd with linuxrc linked to /bin/busybox
> > toolchain :gcc-3.4.5 with 2.2.5 libc (softfloat) built using crosstool
> > 0.42
> >
> > I use an /etc/inittab file
> >
> > Init stops just after printing :
> > BusyBox v1.1.3 (2006.06.23-12:14+0000) multi-ca
>
> Something bad happens in an rc script
> cp -R /dev/* /tmp/

Does this mean your other init problem is diagnosed, or is this an additional 
problem?

> is not copying special files but reading from them.
> to satisfy the cp /dev/null <some_file> thing

Yup.  I'm looking at that.  Yet another test sequencing issue...

> I saw there was a change between 1.0 and 1.1 according to [1]
> But in [2], it says -R should have the first behaviour (ie making dev
> nodes)

I can't find a flag other than -R that says to copy special files, but I guess 
you can always go "cp -R /dev/null .", so...

svn 15501 should fix it for you.  Either 
http://busybox.net/downloads/patches/svn-15501.patch or tonight's snapshot.

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list