Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
INIT: cannot execute "/sbin/agetty"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rth
Apprentice
Apprentice


Joined: 23 Sep 2002
Posts: 157

PostPosted: Wed May 12, 2004 1:51 am    Post subject: INIT: cannot execute "/sbin/agetty" Reply with quote

After going through a stage 2 install a few times (had other issues that needed to be sorted out), I now come across this when rebooting.

Code:
INIT: cannot execute "/sbin/agetty"
INIT: id "c1" respawning too fast: disabled for 5 minutes


c1 goes up to c6 and the /sbin/agetty line shows up a large number of times. The line prior to these messages in boot is: Configuring kernel parameters. I've recompiled the kernel (2.6.5-gentoo-r1) a couple of times and searched these forums and Google for possible solutions, but I haven't found anything. Some mention enabling /dev/pts in the kernel, it is and it is also loaded before these messages appear.

Any ideas?
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Wed May 12, 2004 1:54 am    Post subject: Reply with quote

try passing the "single" argument to your kernel

If you get a prompt then, something is wrong with your /etc/rc.conf.. Please post that
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
rth
Apprentice
Apprentice


Joined: 23 Sep 2002
Posts: 157

PostPosted: Wed May 12, 2004 1:57 am    Post subject: Reply with quote

What is the single argument and how do I pass it to the kernel?
Back to top
View user's profile Send private message
tiny
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2003
Posts: 102
Location: Slovenia

PostPosted: Wed May 12, 2004 5:53 am    Post subject: Reply with quote

Single is a boot parameter that puts you in single user mode. (I think)
You usualy pass those parameters to your kernel with yours boot loader (lilo,grub, ...). Check your config files for your's boot loader.
Back to top
View user's profile Send private message
rth
Apprentice
Apprentice


Joined: 23 Sep 2002
Posts: 157

PostPosted: Thu May 13, 2004 12:22 am    Post subject: Reply with quote

I added single to the end of the kernel line in grub.conf and it boots and puts me to a prompt that starts with:

sh-2.05b#

Presumably it works. But what do I do from here?

As for rc.conf, I haven't touched it, so it's the default.
Back to top
View user's profile Send private message
rth
Apprentice
Apprentice


Joined: 23 Sep 2002
Posts: 157

PostPosted: Fri May 14, 2004 1:03 am    Post subject: Reply with quote

My default rc.conf:

Code:
# /etc/rc.conf: Global startup script configuration settings
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/rc.conf,v 1.22 2003/10/21 06$

# Use KEYMAP to specify the default console keymap.  There is a complete tree
# of keymaps in /usr/share/keymaps to choose from.  This setting is used by the
# /etc/init.d/keymaps script.

KEYMAP="us"

# Should we first load the 'windowkeys' console keymap?  Most x86 users will
# say "yes" here.  Note that non-x86 users should leave it as "no".

SET_WINDOWKEYS="no"

# The maps to load for extended keyboards.  Most users will leave this as is.

EXTENDED_KEYMAPS=
#EXTENDED_KEYMAPS="backspace keypad"

# CONSOLEFONT specifies the default font that you'd like Linux to use on the
# console.  You can find a good selection of fonts in /usr/share/consolefonts;
# you shouldn't specify the trailing ".psf.gz", just the font name below.
# To use the default console font, comment out the CONSOLEFONT setting below.
# This setting is used by the /etc/init.d/consolefont script (NOTE: if you do
# not want to use it, run "rc-update del consolefont" as root).

CONSOLEFONT="default8x16"

# CONSOLETRANSALTION is the charset map file to use.  Leave commented to use on the
# console.  You can find a good selection of fonts in /usr/share/consolefonts;
# you shouldn't specify the trailing ".psf.gz", just the font name below.
# To use the default console font, comment out the CONSOLEFONT setting below.
# This setting is used by the /etc/init.d/consolefont script (NOTE: if you do
# not want to use it, run "rc-update del consolefont" as root).

CONSOLEFONT="default8x16"

# CONSOLETRANSALTION is the charset map file to use.  Leave commented to use
# the default one.  Have a look in /usr/share/consoletrans for a selection of
# map files you can use.

#CONSOLETRANSLATION="8859-1_to_uni"

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time).  If your clock is set to the local time, then set CLOCK
# to "local".  This setting is used by the /etc/init.d/clock script.

CLOCK="UTC"

# Set EDITOR to your preferred editor.

EDITOR="/bin/nano"
#EDITOR="/usr/bin/vim"
#EDITOR="/usr/bin/emacs"

# Set PROTOCOLS to the protocols that you plan to use.  Gentoo Linux will only
# enable module auto-loading for these protocols, eliminating annoying module
# not found errors.
#
# NOTE: Do NOT uncomment the next lines, but add them to 'PROTOCOLS=...' line!!
#
# Num   Protocol
# 1:    Unix
# 2:    IPv4
# 3:    Amateur Radio AX.25
# 4:    IPX
# 5:    DDP / appletalk
# 6:    Amateur Radio NET/ROM
# 9:    X.25
# 10:   IPv6
# 11:   ROSE / Amateur Radio X.25 PLP
# 19:   Acorn Econet

# Most users want this:
PROTOCOLS="1 2"

#For IPv6 support:
#PROTOCOLS="1 2 10"


# What display manager do you use ?  [ xdm | gdm | kdm | entrance ]
#DISPLAYMANAGER="xdm"

# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit.  The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to.  The support scripts is smart enouth to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enligtenment" can also work.  This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE:  1) this behaviour is overridden when a ~/.xinitrc exists, and startx
#           is called.
#        2) even if a ~/.xsession exist, if XSESSION can be resolved, it will
#           be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps

#XSESSION="Gnome"
Back to top
View user's profile Send private message
rth
Apprentice
Apprentice


Joined: 23 Sep 2002
Posts: 157

PostPosted: Fri May 14, 2004 7:15 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri May 14, 2004 7:34 pm    Post subject: Reply with quote

Some suggestions in these threads:
https://forums.gentoo.org/viewtopic.php?t=97254&highlight=respawning+fast
https://forums.gentoo.org/viewtopic.php?t=139186&highlight=respawning+fast
https://forums.gentoo.org/viewtopic.php?t=142695&highlight=respawning+fast
https://forums.gentoo.org/viewtopic.php?t=156272&highlight=respawning+fast
https://forums.gentoo.org/viewtopic.php?t=156266&highlight=respawning+fast
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Fri May 14, 2004 8:59 pm    Post subject: Reply with quote

Moved to Duplicate Threads. --> Restored.
Back to top
View user's profile Send private message
rth
Apprentice
Apprentice


Joined: 23 Sep 2002
Posts: 157

PostPosted: Sat May 15, 2004 7:16 pm    Post subject: Reply with quote

Not a dupe... I saw those threads prior to posting here. Note that mine says "cannot execute" not that tty is not found.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat May 15, 2004 8:12 pm    Post subject: Reply with quote

rth wrote:
Not a dupe... I saw those threads prior to posting here. Note that mine says "cannot execute" not that tty is not found.
Ok, I see that most do not explicitly mention "cannot execute" as they don't mention what command they executed and the direct feedback from that. Are you sure none of them apply to your situation? Have you tried the suggestion of editing your inittab, commenting out certain lines?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
rth
Apprentice
Apprentice


Joined: 23 Sep 2002
Posts: 157

PostPosted: Sun May 16, 2004 4:29 am    Post subject: Reply with quote

Yes, I tried commenting out the lines in inittab and I just get different errors, presumably farther along the boot sequence. Just to be clear, this happens when booting the first time during the installation following the steps in the installation handbook. I am not executing any commands.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed May 19, 2004 10:10 pm    Post subject: Reply with quote

Could you be more specific on the errors? And post your grub.conf (or lilo.conf if you use lilo) too.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum