[oe] console-image: No login prompt

Ulf Samuelsson ulf_samuelsson at telia.com
Sat Oct 29 22:36:55 UTC 2011


Have build console-image and I am running it on an AT91SAM9G20EK.
The boot process freezes, and I have managed to verify that this
happens after the init process has executed "finished.sh".
(Put some print statements in this, and I see them)

Then nothing...
Normally I would get a login prompt

Have been searching for people with similar problems,
and I found one that claimed that /etc/rcS.d/S03udev
needs to run after /etc/rcS.d/S10checkout.

I tried this but this does not make any difference.
Is there some configuration item that enables/disables the console
after init.

finish.sh is linked from rcS.d/S99/finish.sh

Is the problem, that the kernel stays in level 1 for some reason?
Default run level is 5 (id:5:initdefault:) which I assume

Does that make sense for a console-image?

Should not level 3 be more appropriate if
you do not have any graphics?

Any reason why console I/O is redirected?

------------------------------------------------------------------------------------
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:5:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin
S:2345:respawn:/sbin/getty 115200 ttyS0





-- 
Best Regards
Ulf Samuelsson





More information about the Openembedded-devel mailing list