LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-08-2004, 10:20 PM   #1
liyuheu
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Rep: Reputation: 0
why would kernel not start /sbin/init


hi, I've got a port to a new chip (ARM926 core) that is very close to
booting. There appears to be something keeping the /sbin/init process
from starting.

when the program run :
run_init_process("/sbin/init");
it freezes. it seems like it run in background!
Who can tell me if my filesystem has problem?
thanks!
 
Old 09-02-2004, 09:44 PM   #2
Tianjie Kuo
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
I have the same problem. If you have resolve it, pls tell me how to do.
Thank you.
 
Old 09-02-2004, 09:57 PM   #3
liyuheu
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Yes, I have resolve it.

1,Be sure you have drived the correct serial and console. Otherwise you can not get any furture information.

2,Please check your file system carefully!
If you use busybox, you must create some other necessary directory and configure file!

may you lucky!
 
Old 09-02-2004, 10:17 PM   #4
Tianjie Kuo
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Thank you !
1. I finished console_setup within idx: 0 baud:115200, and I got kernel information from UART.
2. I created bin dev etc lib proc sbin tmp usr var directories.
what configure file is I need?
 
Old 09-02-2004, 10:37 PM   #5
liyuheu
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Do you create the /etc/init.d directory and rcS file? If not, try again!

# cat rcS
#!/bin/sh
mount -a
syslogd -m 0 &

If the problem is still exist, you must check if the parameters you transfer to kernel are right, special to console!

I don't know which boot loader you choose, but the kernel parameter decide success or not!


affixation:
Do you choose the ARM 926EJ-S DevChip?
 
Old 09-03-2004, 12:13 AM   #6
Tianjie Kuo
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Bootloader : U-booot-1.1.1
kernel: 2.6.6
tool: gcc-3.3.2
glibc-2.3.2
console=ttySA0,115200n8 root=/dev/ram0 and mknod ttySA0 c 204 5
StrongARM
 
  


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
INIT: cannot execute /sbin/agetty xrado Slackware 5 08-06-2005 04:44 AM
kernel parameter is init=/bin/sh , how to start the second tty console? jiawj Slackware 2 04-22-2005 02:10 AM
/sbin/init errors on boot dereko Debian 2 03-17-2005 10:56 AM
Kernel Boots but then hangs. Init Doesn't Start jhorton Mandriva 4 10-14-2004 10:31 AM
How can i overwrite /sbin/init? poboy Linux - Newbie 3 08-28-2004 08:40 AM


All times are GMT -5. The time now is 02:24 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