Re: [gentoo-user] How can I control ttyS0 respawning speed?

2010-04-24 Thread Amit Dor-Shifer



Jarry wrote:

On 21. 4. 2010 9:43, Amit Dor-Shifer wrote:

Jarry wrote:


s0:12345:respawn:/sbin/agetty 38400 ttyS0 vt100
It mostly works, with one exception: right after boot-up
I get this message:

INIT: ID "s0" respawning too fast: disabled for 5 minutes

How can I control that respawn speed, or prohibit this
behavior (disabling ttyS0 for 5min)? I do not like waiting
5min to log in, after I restarted server...


Don't know the answer to yr question. But I'm also not sure if you're
asking the right question.
When I last saw "respawning too fast: disabled for 5 minutes", it was
actually an issue with the spawned process not being able to start. I'm
therefore suggesting you'd want to consider checking why agetty cannot
run, rather than working around init's behavior.
Amit


You may be right, but I did not find any clue as why is agetty
spawning too fast. I just noticed it happens only during boot-up,
with probability about 1:5. Maybe some starting processes are
conflicting with agetty. I do not think it is very serious problem,
as agetty on ttyS0 is always respawned after those 5min. All I want
is to reduce somehow those 5min time...

Jarry

Well then, as far as I can see, the 5 min. timeout is hard-coded in 
/sbin/init.

Amit



Re: [gentoo-user] How can I control ttyS0 respawning speed?

2010-04-22 Thread Jarry

On 21. 4. 2010 9:43, Amit Dor-Shifer wrote:

Jarry wrote:


s0:12345:respawn:/sbin/agetty 38400 ttyS0 vt100
It mostly works, with one exception: right after boot-up
I get this message:

INIT: ID "s0" respawning too fast: disabled for 5 minutes

How can I control that respawn speed, or prohibit this
behavior (disabling ttyS0 for 5min)? I do not like waiting
5min to log in, after I restarted server...


Don't know the answer to yr question. But I'm also not sure if you're
asking the right question.
When I last saw "respawning too fast: disabled for 5 minutes", it was
actually an issue with the spawned process not being able to start. I'm
therefore suggesting you'd want to consider checking why agetty cannot
run, rather than working around init's behavior.
Amit


You may be right, but I did not find any clue as why is agetty
spawning too fast. I just noticed it happens only during boot-up,
with probability about 1:5. Maybe some starting processes are
conflicting with agetty. I do not think it is very serious problem,
as agetty on ttyS0 is always respawned after those 5min. All I want
is to reduce somehow those 5min time...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] How can I control ttyS0 respawning speed?

2010-04-21 Thread Amit Dor-Shifer



Jarry wrote:

Hi,
I have set-up serial console on my server in /etc/inittab:

s0:12345:respawn:/sbin/agetty 38400 ttyS0 vt100

It mostly works, with one exception: right after boot-up
I get this message:

INIT: ID "s0" respawning too fast: disabled for 5 minutes

Of course, I can see this only on attached monitor, because
ttyS0 is dead. After those 5min ttyS0 is again up/running
and I can finally log in. I tried lowering port speed
down to 9600, but it does not make any difference...

How can I control that respawn speed, or prohibit this
behavior (disabling ttyS0 for 5min)? I do not like waiting
5min to log in, after I restarted server...

Jarry

Don't know the answer to yr question. But I'm also not sure if you're 
asking the right question.
When I last saw "respawning too fast: disabled for 5 minutes", it was 
actually an issue with the spawned process not being able to start. I'm 
therefore suggesting you'd want to consider checking why agetty cannot 
run, rather than working around init's behavior.

Amit



[gentoo-user] How can I control ttyS0 respawning speed?

2010-04-19 Thread Jarry

Hi,
I have set-up serial console on my server in /etc/inittab:

s0:12345:respawn:/sbin/agetty 38400 ttyS0 vt100

It mostly works, with one exception: right after boot-up
I get this message:

INIT: ID "s0" respawning too fast: disabled for 5 minutes

Of course, I can see this only on attached monitor, because
ttyS0 is dead. After those 5min ttyS0 is again up/running
and I can finally log in. I tried lowering port speed
down to 9600, but it does not make any difference...

How can I control that respawn speed, or prohibit this
behavior (disabling ttyS0 for 5min)? I do not like waiting
5min to log in, after I restarted server...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.