LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Reply
 
Search this Thread
Old 08-19-2009, 11:02 PM   #1
okeyla
Member
 
Registered: Nov 2004
Posts: 47

Rep: Reputation: 15
busybox cause some problem...


There's an old ramdisk with busybox.
Because i would like to add new functions in it (telnetd , tab completion...),
so i re-compile busybox and override install to the old one.

But after booting , error message shows...

nit started: BusyBox v1.14.3 (2009-08-11 22:32:23 CST)
Bad inittab entry at line 5
Bad inittab entry at line 39
Bad inittab entry at line 40
Bad inittab entry at line 41
can't open /dev/si: No such file or directory
can't open /dev/~~: No such file or directory
can't open /dev/l0: No such file or directory
can't open /dev/l1: No such file or directory
can't open /dev/l2: No such file or directory
can't open /dev/l3: No such file or directory
can't open /dev/l4: No such file or directory
can't open /dev/l5: No such file or directory
can't open /dev/l6: No such file or directory
can't open /dev/z6: No such file or directory
can't open /dev/con: No such file or directory
process '/sbin/sulogin' (pid 269) exited. Scheduling for restart.
process '/sbin/getty console' (pid 270) exited. Scheduling for restart.
can't open /dev/z6: No such file or directory
can't open /dev/con: No such file or directory
process '/sbin/sulogin' (pid 271) exited. Scheduling for restart.
process '/sbin/getty console' (pid 272) exited. Scheduling for restart.
can't open /dev/z6: No such file or directory
can't open /dev/con: No such file or directory
process '/sbin/sulogin' (pid 273) exited. Scheduling for restart.
process '/sbin/getty console' (pid 274) exited. Scheduling for restart.
can't open /dev/z6: No such file or directory
can't open /dev/con: No such file or directory
process '/sbin/sulogin' (pid 275) exited. Scheduling for restart.
process '/sbin/getty console' (pid 276) exited. Scheduling for restart.
can't open /dev/z6: No such file or directory
can't open /dev/con: No such file or directory
process '/sbin/sulogin' (pid 277) exited. Scheduling for restart.
process '/sbin/getty console' (pid 278) exited. Scheduling for restart.





As for my /etc/inittab file is...

# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:3:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

# What to do when the power fails/returns.
pf:owerwait:/etc/init.d/powerfail start
pn:owerfailnow:/etc/init.d/powerfail now
po:owerokwait:/etc/init.d/powerfail stop

# This line provides a nice out-of-box experience. For regular use, you
# should replace it with the proper getty lines below.
con:2345:respawn:/sbin/getty console



Do i miss something???

===
Someone says , remove init=linuxrc in booting argument could solve this.
But...I always don't have this argument!
 
Old 08-26-2009, 03:11 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Busybox doesn't support runlevels. You can't use your standard Linux inittab (as this one seems to be copied from your Linux machine). Example busybox file:
http://free-electrons.com/doc/embedded_lfs/img23.html
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Busybox And Jffs2 Problem ashthet Linux - General 0 09-02-2008 01:20 AM
Installation problem- busybox? mothergoose729 Ubuntu 2 08-28-2008 03:25 AM
BusyBox doesn't go away Grife DamnSmallLinux 0 08-23-2007 02:01 AM
Busybox as a shell D0M1N1C Linux - General 5 12-15-2005 04:31 AM
Busybox and vi krizzz Linux - Software 3 03-24-2005 05:33 PM


All times are GMT -5. The time now is 12:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration