getty takes lot of time to throw Login promt

Dan Fandrich dan at coneharvesters.com
Tue Dec 20 18:23:30 UTC 2011


On Tue, Dec 20, 2011 at 07:41:36PM +0530, Santosh Kumar wrote:
>           I am using buxybox 1.19.2. getty process takes about
> 1Min45secs (105secs) to throw Login prompt. Could you please suggest
> anychanges that can reduce this delay.
> in the inittab file i am using
> ::respwan:/sbin/getty -L ttyS0 115200 vt100

Perhaps /dev/ttyS0 doesn't exist when getty is first spawned so it exits
immediately. init then respawns it in rapid succession a few times before
blacklisting it for a couple of minutes.  Meanwhile, /dev/ttyS0 is created
so when init tries spawning getty again later, all is well.

>>> Dan


More information about the busybox mailing list