Cannot login a shell
Hi Erik,
I have compiled a kernel, version linux-2.6.24.4 using the toolchain at http://cross-lfs.org/view/clfs-sysroot/arm/ which is not a uClibc version. Then I have compiled a cpio file system using buildroot which has it own version of uClibc.
When I try to boot these images, I am not able to login. It comes back to the same login prompt when I login as root.
Output:
....
....
NET: Registered protocol family 1
NET: Registered protocol family 17 registered taskstats version 1 Freeing init memory: 1108K
Welcome to the Erik's uClibc development environment. uClibc login: root
Welcome to the Erik's uClibc development environment.. uClibc login:
Ihave tried compiling with different versions but it remains the same.It actually spawns a shell, but it comes back to the login. It is thesame with busybox as well as bash.
Kindly help me.
Thanks in Advance.
Tiju
Meet people who discuss and share your passions. Go to http://in.promos.yahoo.com/groups/bestofyahoo/
Tiju,
Edit /etc/inittab and comment out any getty's and add this:
ttyS0::respawn:-/bin/sh (if you are using a serial port)
or
tty0::respawn:-/bin/sh (if you are using a regular console)
then change the root password:
passwd root
This should hopefully get you in. If not, you might have some other problem.
John
Quoted 37 lines · Tiju Jacob
Hi Erik,
I have compiled a kernel, version linux-2.6.24.4 using the toolchain at
http://cross-lfs.org/view/clfs-sysroot/arm/ which is not a uClibc version. Then I have compiled a cpio file system using buildroot which has it own version of uClibc.When I try to boot these images, I am not able to login. It comes back to the same login prompt when I login as root.
Output:
....
....
NET: Registered protocol family 1
NET: Registered protocol family 17
registered taskstats version 1
Freeing init memory: 1108KWelcome to the Erik's uClibc development environment. uClibc login: root
Welcome to the Erik's uClibc development environment.. uClibc login:
Ihave tried compiling with different versions but it remains the same.It actually spawns a shell, but it comes back to the login. It is thesame with busybox as well as bash.
Kindly help me.
Thanks in Advance.
Tiju
Quoted 8 lines
Meet people who discuss and share your passions. Go to
http://in.promos.yahoo.com/groups/bestofyahoo/_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080502/95047217/attachment.htm