On 20 December 2011 23:53, Dan Fandrich <[email protected]> wrote: > 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
the source of the delay is the code "usleep(100 * 1000)" which is supposed to generate .1 sec delay is generating 100sec delay. So something is wrong with the timer. - santosh _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
