I can't log in

Denys Vlasenko vda.linux at googlemail.com
Mon Jan 7 08:03:15 PST 2008


On Sunday 06 January 2008 08:15, zhuzhu wrote:
> dear sir:
>   I built my own filesystems with busybox ,use nfs to boot,and copy "group passwd shadow"to /myrootfs/etc.but I  can't login with my user name,when I type my login name,:zhu.I get"
>   Process '/sbin/getty 115200 ttyS0' (pid 12) exited.  Scheduling it for restart.",it enve didn't ask me for password.,thank you for your help.

Which version of busybox do you use?
Which architecture/device do you use it on?
Can you post your .config?

>   best regards
>   zhudq
>   here is the infomation:
>    
>   Probing IDE interface ide0...
>   NET4: Linux TCP/IP 1.0 for NET4.0
>   IP Protocols: ICMP, UDP, TCP, IGMP
>   IP: routing cache hash table of 2048 buckets, 16Kbytes
>   TCP: Hash tables configured (established 16384 bind 32768)
>   eth0: Phy @ 0x0, type LXT971 (0x001378e2)
>   IP-Config: Gateway not on directly connected network.
>   NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
>   Looking up port of RPC 100003/2 on 10.212.43.54
>   Looking up port of RPC 100005/1 on 10.212.43.54
>   VFS: Mounyted root (nfs fesystem).
         ^^^^^^^^
>   Foreeing unused kemory: 76k init
    ^^^^^^^^
??

>   init started:  BusyBox v1.1.2 (2008.01.05-09:08+0000) multi-call binary
>   Starting pid 11, console /dev/console: '/etc/init.d/rcS'
>   Bummer, could not run '/etc/init.d/rcS': No such file or directory
>   Bummer, could not run '/etc/init.d/rcS': No such file or directory
>   Starting pid 12, console /dev/console: '/sbin/getty'
>                                                                                                                                                  
>   icecube login: zju
>   Process '/sbin/getty 115200 ttyS0' (pid 12) exited.  Scheduling it for restart.
>   Starting pid 13, console /dev/console: '/sbin/getty'

Yes, getty seems to die incorrectly. :(

If you have, or can build strace, try to start just /bin/sh
instead of getty, and then run "strace /sbin/getty ..... ...."
from the shell prompt.

>   icecube login: root
>   Process '/sbin/getty 115200 ttyS0' (pid 13) exited.  Scheduling it for restart.
>   Starting pid 14, console /dev/console: '/sbin/getty'
--
vda


More information about the busybox mailing list