From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RKI42-0002uZ-R6 for openembedded-devel@lists.openembedded.org; Sun, 30 Oct 2011 01:11:46 +0200 Received: from iph5.telenor.se (iph5.telenor.se [195.54.127.136]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id DD5EEEB689 for ; Sun, 30 Oct 2011 01:05:40 +0200 (CEST) X-SENDER-IP: [83.227.59.253] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjorAHuGrE5T4zv9PGdsb2JhbAAMN4k+kRuPKQEBAQE3giQBAQEBAzhAEQshDQEIDwkDAgECATEUEwgBAbpsg0GCLQGDEwSUDpFh X-IronPort-AV: E=Sophos;i="4.69,425,1315173600"; d="scan'208";a="62693062" Received: from c-fd3be353.011-39-73746f12.cust.bredbandsbolaget.se (HELO [10.175.196.249]) ([83.227.59.253]) by iph5.telenor.se with ESMTP; 30 Oct 2011 01:05:33 +0200 Message-ID: <4EAC86BD.9040903@telia.com> Date: Sun, 30 Oct 2011 01:05:33 +0200 From: Ulf Samuelsson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <4EAC8007.4080006@telia.com> <4EAC810B.8010302@telia.com> In-Reply-To: <4EAC810B.8010302@telia.com> Subject: Re: console-image: No login prompt X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2011 23:11:46 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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