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

List:       busybox
Subject:    Re: getty takes lot of time to throw Login promt
From:       Santosh Kumar <santoshkumar.a () gmail ! com>
Date:       2011-12-21 8:52:32
Message-ID: CAJw04pAwfcKhAsfneG0b7aRpnFVPop6VX5G4u206domMtFq7ww () mail ! gmail ! com
[Download RAW message or body]

On 20 December 2011 23:53, Dan Fandrich <dan@coneharvesters.com> wrote:
> On Tue, Dec 20, 2011 at 07:41:36PM +0530, Santosh Kumar wrote:
>> =A0 =A0 =A0 =A0 =A0 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. =A0Meanwhile, /dev/ttyS0 is crea=
ted
> 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
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

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