* console-image: No login prompt
@ 2011-10-29 22:36 Ulf Samuelsson
2011-10-29 22:41 ` Ulf Samuelsson
0 siblings, 1 reply; 4+ messages in thread
From: Ulf Samuelsson @ 2011-10-29 22:36 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: console-image: No login prompt
2011-10-29 22:36 console-image: No login prompt Ulf Samuelsson
@ 2011-10-29 22:41 ` Ulf Samuelsson
2011-10-29 23:05 ` Ulf Samuelsson
0 siblings, 1 reply; 4+ messages in thread
From: Ulf Samuelsson @ 2011-10-29 22:41 UTC (permalink / raw)
To: openembedded-devel
2011-10-30 00:36, Ulf Samuelsson skrev:
> 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
Is this somehow redirected to the non-existant screen?
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: console-image: No login prompt
2011-10-29 22:41 ` Ulf Samuelsson
@ 2011-10-29 23:05 ` Ulf Samuelsson
2011-10-30 19:07 ` Ulf Samuelsson
0 siblings, 1 reply; 4+ messages in thread
From: Ulf Samuelsson @ 2011-10-29 23:05 UTC (permalink / raw)
To: openembedded-devel
2011-10-30 00:41, Ulf Samuelsson skrev:
> 2011-10-30 00:36, Ulf Samuelsson skrev:
>> 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
>
> Is this somehow redirected to the non-existant screen?
A little futher.
If I enable SULOGIN and from SULOGIN do:
$ init 2
I get the login prompt,
but SULOGIN uses the same serial line, so things get mixed up.
It definitely looks like the system never leaves level 1 - why?
>
>>
>> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: console-image: No login prompt
2011-10-29 23:05 ` Ulf Samuelsson
@ 2011-10-30 19:07 ` Ulf Samuelsson
0 siblings, 0 replies; 4+ messages in thread
From: Ulf Samuelsson @ 2011-10-30 19:07 UTC (permalink / raw)
To: openembedded-devel
2011-10-30 01:05, Ulf Samuelsson skrev:
> 2011-10-30 00:41, Ulf Samuelsson skrev:
>> 2011-10-30 00:36, Ulf Samuelsson skrev:
>>> 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
>>
>> Is this somehow redirected to the non-existant screen?
>
> A little futher.
> If I enable SULOGIN and from SULOGIN do:
>
> $ init 2
>
> I get the login prompt,
> but SULOGIN uses the same serial line, so things get mixed up.
>
> It definitely looks like the system never leaves level 1 - why?
Tried with a different kernel.
2.6.30 has problems.
2.6.39 I get the login prompt.
Any clue why?
>>
>>>
>>> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-30 19:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-29 22:36 console-image: No login prompt Ulf Samuelsson
2011-10-29 22:41 ` Ulf Samuelsson
2011-10-29 23:05 ` Ulf Samuelsson
2011-10-30 19:07 ` Ulf Samuelsson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.