LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   why would kernel not start /sbin/init (https://www.linuxquestions.org/questions/linux-newbie-8/why-would-kernel-not-start-sbin-init-215188/)

liyuheu 08-08-2004 10:20 PM

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!

Tianjie Kuo 09-02-2004 09:44 PM

I have the same problem. If you have resolve it, pls tell me how to do.
Thank you.

liyuheu 09-02-2004 09:57 PM

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!

Tianjie Kuo 09-02-2004 10:17 PM

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?

liyuheu 09-02-2004 10:37 PM

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?

Tianjie Kuo 09-03-2004 12:13 AM

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


All times are GMT -5. The time now is 12:26 PM.