Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
sh: can't access tty; job control turned off
- 11-04-2004
November 4, 2004, 4:33 pm

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,
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

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.

Site Timeline
- » 25 papers on real-time and embedded Linux
- — Next thread in » Embedded Linux
-
- » 1MB size limited application in uCLinux
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » OpenGL Application: FrameNumber for examining display monitors !
- — The site's Newest Thread. Posted in » Electronics Design
-
- » Rules
- — The site's Last Updated Thread. Posted in » Microcontrollers (Russian)
-