[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: inittab/getty problems
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2007-08-21 10:25:36
Message-ID: 200708211125.36292.vda.linux () googlemail ! com
[Download RAW message or body]

On Tuesday 21 August 2007 10:16, Rolf Blindheim wrote:
> Hello.
> I've built a rootfs from buildroot-20070616 snapshot, and encountered
> some problems to make to rootfs compile.. I'm booting from initramfs and
> the rootfs is intended to work as an embedded system.
> My current problems are that all the device nodes are not created upon
> boot, so tty1 wont spawn.. I've tried to make a workaround script which
> creates the required device nodes in a script called from rcS, which works
> good. but even it I've got nodes as console, tty1, tty2 etc, inittab wont
> spawn the login...
> I really need some hints on this..
>
> my inittab:
>
> # /etc/inittab
...
> # Set up a couple of getty's
>
> ::respawn:/sbin/getty 38400 tty1
> tty2::respawn:/sbin/getty 38400 tty2

Replace /sbin/getty with /sbin/getty_debug.sh, along the lines of:

/sbin/getty_debug.sh
====================
#!/bin/sh
echo "Started: $0 $*" >/dev/console
"$0" "$@"
echo "Exited with $?: $0 $*" >/dev/console

What do you see on /dev/console?
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic