sh: can't access tty; job control turned off

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Hi,
I'm using montavista devrocket to build a ramdisk root file system. The
kernel fails to boot. Here is the error message:

rootserver19%2.168.111.201, rootpath=/local/opt
/montavista/pro/devkit/ppc/405/target
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 16165k freed
VFS: Mounted root (ext2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k init
attempt to access beyond end of device
01:00: rw=0, want39%950, limit81%92
attempt to access beyond end of device
01:00: rw=0, want39%950, limit81%92
attempt to access beyond end of device
01:00: rw=0, want32%686, limit81%92
attempt to access beyond end of device
01:00: rw=0, want32%686, limit81%92
initKernel panic: Attempted to kill init!
: error while lo ading shared lib<0>Rebooting in 180
seconds..raries: libc.so.6:
 cannot open shared object file: Input/output error

And when  I turned on strip binary file and Optimize library
footprints options and to rebuild the ramdisk, and I got different error
message.

rootserver19%2.168.111.201, rootpath=/local/opt
/montavista/pro/devkit/ppc/405/target
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1832k freed
VFS: Mounted root (ext2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k init
sh: can't access tty; job control turned off
#

Hopefully, there are Montavista embedded linux experts that can help me
solve the problem.
Many thanks,




Re: sh: can't access tty; job control turned off

Quoted text here. Click to load it

This error is because your ramdisk size exceeds the ramdisk size you
specified in your kernel .config file.  You can do as you did below, or
you can increase the ramdisk size in your .config.

Quoted text here. Click to load it

This is because your inittab does not specify a tty device for your
initial console.  You should specify a tty device (ttyS0, or tts/0) in
your etc/inittab file.

Quoted text here. Click to load it


Site Timeline