[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] Trouble with busybox-1.00-rc2
From:       Natsakis Konstantinos <cyfex () wthess ! net>
Date:       2004-07-28 21:00:33
Message-ID: 20040729000033.17cc1f69.cyfex () gmail ! com
[Download RAW message or body]

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



_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic