[BusyBox] Trouble with busybox-1.00-rc2

Natsakis Konstantinos cyfex at wthess.net
Wed Jul 28 21:00:33 UTC 2004


Hello all..

I've been using busybox-0.60.5 for some time now. I recently decided to try busybox-1.00-rc2.

After initialization init (pid=1) is in the D state.
Another init (with a pid in the range of 200) is sleeping..
strace on the second one says:

read(0,

My inittab is this:
-----------------------------
::sysinit:/sbin/initrd_start
::wait:/sbin/main_start
::ctrlaltdel:/bin/reboot

vc/1::askfirst:/bin/sh
vc/2::askfirst:/bin/sh
vc/3::askfirst:/bin/sh
vc/4::askfirst:/bin/sh

tts/0::askfirst:/bin/sh
-----------------------------

While in the above state any process that dies, stays as zombie..
I usually access the busybox machine through a sshd server that runs from main_start.
The machine has no vga card but a serial port configured.

However booting the same image at a normal pc got me a bit further:
init asks me on the first vc to press enter, but no further vcs are set up (except vc/5 with debug info)
When i press enter on the first vc the "Press enter ..." banner appears on vc/2.
When i press enter on vc/2 the banner appears on vc/3 and so on..

When i removed the last line from inittab and booted the image again, things got a bit more interesting:
I "logged in" all four vcs from vc/1 to vc/4 and the init (pid=1) moved to the S state and stayed
there until i "logged out". At the same time, a bit after hitting enter on the fourth vc all zombies
disappeared..

Of course as long as init (pid=1) was at the S state no zombies appeared.

This problem does not appear with busybox-0.60.5 but does appear with all versions between 1.00-pre10 and 1.00-rc2 (didn't try any version between 0.60.5 and 1.00-pre10 or newer than 1.00-rc2),

What could be causing this?

All the tests were done with uClibc-0.9.26

-- 
cyfex



More information about the busybox mailing list