[TinyLogin] /bin/sh: need one of --start or --stop

=?gb2312?B?s8LPow==?= xchen at sunrisetelecom.com.cn
Tue Jan 16 21:50:36 PST 2007


Hi, 
	I use ash as the default shell. Ln -s busybox sh   ln -s busybox ash
In /etc/shells
/bin/sh
/bin/ash

These are  some important set up in inittab,I use sysvinit instead of
busybox init
Id:3:initdefault:
Si::sysinit:/etc/init.d/rcS

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

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

T0:234:respawn:/sbin/getty -L ttyS0 115200 vt100  -------------->my board is
mpc885 I use serial as the console


When I boot the ramdisk,there are two problem, The shell does not start. And
the getty does not start and display the login dialog

RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1282k freed
mount_root
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
free_initmem
Freeing unused kernel memory: 40k init
execute_command
/sbin/init
INIT: version 2.86 booting
/bin/sh: need one of --start or --stop
Try `/bin/sh --help' for more information.
INIT: Entering runlevel: 3
/bin/sh: need one of --start or --stop
Try `/bin/sh --help' for more information.
/bin/sh: need one of --start or --stop
Try `/bin/sh --help' for more information.
/bin/sh: need one of --start or --stop
Try `/bin/sh --help' for more information.
/bin/sh: need one of --start or --stop
Try `/bin/sh --help' for more information.
/bin/sh: need one of --start or --stop
Try `/bin/sh --help' for more information.
/bin/sh: need one of --start or --stop
Try `/bin/sh --help' for more information.
/bin/sh: need one of --start or --stop
Try `/bin/sh --help' for more information.
/bin/sh: need one of --start or --stop
Try `/bin/sh --help' for more information.
/bin/sh: need one of --start or --stop
Try `/bin/sh --help' for more information.
/bin/sh: need one of --start or --stop
Try `/bin/sh --help' for more information.
INIT: Id "1" respawning too fast: disabled for 5 minutes
Hope your help

Thanks and Br,
xchen




More information about the tinylogin mailing list