[BusyBox] No more tasks for init -- sleeping forever.

Johannes Zellner johannes at zellner.org
Tue Jul 10 15:03:34 UTC 2001


On Mon, Jul 09, 2001 at 07:19:07PM -0400, Tom Cameron wrote:
> > I just tried busybox for the vtech helio (a PDA).
> > Unfortunately I get the boot message
> > 
> >     No more tasks for init -- sleeping forever.
> > 
> > having the following /etc/inittab:
> > ::sysinit:/etc/init.d/rcS
> > ttyS0::askfirst:/bin/sh
> > tty2::askfirst:/bin/sh
> > 
> > apparently /etc/init.d/rcS gets executed, I can put some
> > 'echo' messages there which get printed.
> > 
> > What's the problem ?
> > (replacing 'askfirst' by 'respawn' doesn't help either)
>
> How is the system set up?  Can you give more details?  For instance, is it
> devfs, or standard /dev entries?  Is there a /dev entry for the device
> you're trying to use as a console?  Have you tried it without an inittab
> file?

The root file system is a cramfs.
I'm using standard /dev. I can log the boot transscript if I leave the
helio PDA connected to the cradle (serial line). Here it goes:

<snip>
...................... done, booting the kernel.
done decompressing kernel.
e_entry: 800045e0, e_ehsize: 52, e_phentsize 32, e_phnum 3,
e_shentsize 40, e_shnum 18
copying 0x166a38 bytes from file offset 0x1000 to address 0x80004000
zeroing from 8016aa38 to to 8016aa38, 0x0 bytes
copying 0x23080 bytes from file offset 0x168000 to address 0x8016c000
zeroing from 8018f080 to to 801cb560, 0x3c4e0 bytes
done loading kernel, about to jump in!
mips_machgroup 0x0000000b, mips_machtype 0x00000004
arcs_cmdline: root=/dev/rom console=tty console=ttyS0,115200
Loading R[23]00 MMU routines.
CPU revision is: 00002210
Primary instruction cache 4kb, linesize 16 bytes
Primary data cache 1kb, linesize 4 bytes
Linux version 2.4.0-test1-ac22 (joze at kristine) (gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)) #69 Die Jul 10 22:38:13 CEST 2001
On node 0 totalpages: 9728
zone(0): 9728 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom console=tty console=ttyS0,115200
Console: colour dummy device 80x25
Calibrating delay loop... 73.11 BogoMIPS
Memory: 5616k/38912k available (1434k kernel code, 33296k reserved, 92k data, 48k init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
kmem_create: Poisoning requested, but con given - bdev_cache
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
kmem_create: Poisoning requested, but con given - inode_cache
kmem_create: Poisoning requested, but con given - file lock cache
Checking for 'wait' instruction...  emulated.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.3
Based upon Swansea University Computer Society NET3.039
kmem_create: Poisoning requested, but con given - skbuff_head_cache
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
Starting kswapd v1.6
Console: switching to mono frame buffer device 40x26
fb0: R3912 frame buffer device, using 3K of video memory
No keyboard driver installed
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
rom: registered device at major 60
kmem_create: Forcing size word alignment - nfs_fh
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 48k freed
serial console detected.  Disabling virtual terminals.
init started:  BusyBox v0.52pre (2001.06.21-11:19+0000) multi-call binary

Mounting /proc...
done.
Creating 200k ramdisk...
200+0 records in
200+0 records out
done.
Making minix file system...
80 inodes
200 blocks
Firstdatazone=9 (9)
Zonesize=1024
Maxsize=2147483647

done.
Mounting ramdisk on /mnt...
done.
No more tasks for init -- sleeping forever.
</snip>


Could this be the problem:
"serial console detected.  Disabling virtual terminals."

Here are the devices of the helio image:

crw-r--r--    1 root     root       5,   1 10. Jul 22:36 console
lrwxrwxrwx    1 root     root           11 10. Jul 22:36 core -> /proc/kcore
crw-r--r--    1 root     root      29,   0 10. Jul 22:36 fb0
crw-r--r--    1 root     root      29,   1 10. Jul 22:36 fb0autodetect
crw-r--r--    1 root     root      29,   1 10. Jul 22:36 fb0current
crw-r--r--    1 root     root       1,   7 10. Jul 22:36 full
brw-r--r--    1 root     root       3,   0 10. Jul 22:36 hda
brw-r--r--    1 root     root       3,  64 10. Jul 22:36 hdb
brw-r--r--    1 root     root      22,   0 10. Jul 22:36 hdc
brw-r--r--    1 root     root      22,  64 10. Jul 22:36 hdd
crw-r--r--    1 root     root       1,   2 10. Jul 22:36 kmem
brw-r--r--    1 root     root       7,   0 10. Jul 22:36 loop0
brw-r--r--    1 root     root       7,   1 10. Jul 22:36 loop1
brw-r--r--    1 root     root       7,   2 10. Jul 22:36 loop2
brw-r--r--    1 root     root       7,   3 10. Jul 22:36 loop3
brw-r--r--    1 root     root       7,   4 10. Jul 22:36 loop4
brw-r--r--    1 root     root       7,   5 10. Jul 22:36 loop5
brw-r--r--    1 root     root       7,   6 10. Jul 22:36 loop6
brw-r--r--    1 root     root       7,   7 10. Jul 22:36 loop7
crw-r--r--    1 root     root       1,   1 10. Jul 22:36 mem
crw-r--r--    1 root     root       1,   3 10. Jul 22:36 null
crw-r--r--    1 root     root       1,   4 10. Jul 22:36 port
lrwxrwxrwx    1 root     root            4 10. Jul 22:36 ram -> ram1
brw-r--r--    1 root     root       1,   0 10. Jul 22:36 ram0
brw-r--r--    1 root     root       1,   1 10. Jul 22:36 ram1
brw-r--r--    1 root     root       1,   2 10. Jul 22:36 ram2
brw-r--r--    1 root     root       1,   3 10. Jul 22:36 ram3
brw-r--r--    1 root     root       1,   4 10. Jul 22:36 ram4
brw-r--r--    1 root     root       1,   5 10. Jul 22:36 ram5
brw-r--r--    1 root     root       1,   6 10. Jul 22:36 ram6
brw-r--r--    1 root     root       1,   7 10. Jul 22:36 ram7
brw-r--r--    1 root     root       1,   8 10. Jul 22:36 ram8
brw-r--r--    1 root     root       1,   9 10. Jul 22:36 ram9
crw-r--r--    1 root     root       1,   8 10. Jul 22:36 random
crw-r--r--    1 root     root       5,   0 10. Jul 22:36 tty
crw-r--r--    1 root     root       4,   0 10. Jul 22:36 tty0
crw-r--r--    1 root     root       4,   1 10. Jul 22:36 tty1
crw-r--r--    1 root     root       4,   2 10. Jul 22:36 tty2
crw-r--r--    1 root     root       4,   3 10. Jul 22:36 tty3
crw-r--r--    1 root     root       4,   4 10. Jul 22:36 tty4
crw-r--r--    1 root     root       4,   5 10. Jul 22:36 tty5
crw-r--r--    1 root     root       4,   6 10. Jul 22:36 tty6
crw-r--r--    1 root     root       4,   7 10. Jul 22:36 tty7
crw-r--r--    1 root     root       4,   8 10. Jul 22:36 tty8
crw-r--r--    1 root     root       4,   9 10. Jul 22:36 tty9
crw-r--r--    1 root     root       1,   9 10. Jul 22:36 urandom
lrwxrwxrwx    1 root     root            4 10. Jul 22:36 vcs -> vcs0
brw-r--r--    1 root     root       7,   0 10. Jul 22:36 vcs0
brw-r--r--    1 root     root       7,   1 10. Jul 22:36 vcs1
brw-r--r--    1 root     root       7,   2 10. Jul 22:36 vcs2
brw-r--r--    1 root     root       7,   3 10. Jul 22:36 vcs3
brw-r--r--    1 root     root       7,   4 10. Jul 22:36 vcs4
brw-r--r--    1 root     root       7,   5 10. Jul 22:36 vcs5
brw-r--r--    1 root     root       7,   6 10. Jul 22:36 vcs6
brw-r--r--    1 root     root       7,   7 10. Jul 22:36 vcs7
brw-r--r--    1 root     root       7,   8 10. Jul 22:36 vcs8
brw-r--r--    1 root     root       7,   9 10. Jul 22:36 vcs9
lrwxrwxrwx    1 root     root            5 10. Jul 22:36 vcsa -> vcsa0
brw-r--r--    1 root     root       7,   0 10. Jul 22:36 vcsa0
brw-r--r--    1 root     root       7,   1 10. Jul 22:36 vcsa1
brw-r--r--    1 root     root       7,   2 10. Jul 22:36 vcsa2
brw-r--r--    1 root     root       7,   3 10. Jul 22:36 vcsa3
brw-r--r--    1 root     root       7,   4 10. Jul 22:36 vcsa4
brw-r--r--    1 root     root       7,   5 10. Jul 22:36 vcsa5
brw-r--r--    1 root     root       7,   6 10. Jul 22:36 vcsa6
brw-r--r--    1 root     root       7,   7 10. Jul 22:36 vcsa7
brw-r--r--    1 root     root       7,   8 10. Jul 22:36 vcsa8
brw-r--r--    1 root     root       7,   9 10. Jul 22:36 vcsa9
crw-r--r--    1 root     root       1,   5 10. Jul 22:36 zero

-- 
   Johannes






More information about the busybox mailing list