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

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

rootserver=192.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, want=39950, limit=8192 attempt to access beyond end of device 01:00: rw=0, want=39950, limit=8192 attempt to access beyond end of device 01:00: rw=0, want=32686, limit=8192 attempt to access beyond end of device 01:00: rw=0, want=32686, limit=8192 initKernel panic: Attempted to kill init! : error while lo ading shared libRebooting 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.

rootserver=192.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,

Reply to
albert
Loading thread data ...

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.

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.

Reply to
Chuck Gales

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.