[meta-freescale] [Question]Cannot auto login with problem:INIT: Id "mxc1" respawning too fast: disabled for 5 minutes

Fabio Berton fabio.berton at ossystems.com.br
Mon Sep 4 05:05:32 PDT 2017


Hi!

Are you using systemd? If you're using systemd check if you
have CONFIG_FHANDLE=y in your defconfig, if not add this to defconfig,
build kernel and try to boot again.

Fabio Berton

On Mon, Sep 4, 2017 at 6:38 AM, Gao Yang <gaoyang.fr at gmail.com> wrote:

> Hi All,
>
> I use imx6q sabre lite board with Yocto Morty. Every time I start my imx6
> board, it always asks me to enter login: root , so I have tried auto login
> with the following way:
> in my /usr/bin, I create a autologin script contains this:
> #!/bin/sh
> exec /bin/login -f root
>
> then in /etc/inittab, I have changed
> #mxc1:12345:respawn:/bin/start_getty 115200 ttymxc
> to follows
> mxc1:12345:respawn:/bin/start_getty -l /usr/bin/autologin -n 115200
> ttymxc1
>
> but when I reboot the board, it doesn't auto login, and it display:
> INIT: Id "mxc1" respawning too fast: disabled for 5 minutes
>
> I don't know where is wrong and how I should modify this file? I attached
> my inittab file, thanks in advance!
>
> ------------------------------------------------------------
> -------------------------------
> # /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
> mxc1:12345:respawn:/bin/start_getty 115200 ttymxc1
> #mxc1:12345:respawn:/bin/start_getty -l /usr/bin/autologin -n 115200
> ttymxc1
> # /sbin/getty invocations for the runlevels.
> #
> # The "id" field MUST be the same as the last
> # characters of the device (after "tty").
> #
> # Format:
> # <id>:<runlevels>:<action>:<process>
> #
> 1:12345:respawn:/sbin/getty 38400 tty1
>
> Best regards,
> Yang GAO
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20170904/1d7a0ac5/attachment.html>


More information about the meta-freescale mailing list