init issue on linux 2.4 devel and busybox

Hi,

I have been working on porting linux 2.4 devel to the ml403 board (Xilinx Virtex 4 with PPC405). It boots well and then it goes on the CompactFlash to get the root filesystem where the executables are from busybox. The init program is found and launches well however the message is that init.d/rcS can't be found. I have looked up my inittab file and the first line is ::sysinit:/etc/init.d/rcS. I do not understand why init can't find the rcS file when it seems correct in inittab and I have checked that the file rcS is in /etc/init.d. Does anyone have an idea as to what might be wrong ?

Thanks,

JF Hasson

Reply to
jean-francois.hasson
Loading thread data ...

posting your log could help us guessing.

-- _ .-._.=\-. (_)=='(_)______________/ helix \___

Reply to
Helix

Hello,

Is the root system correctly mounted and the file does really exist? Is it also executable?

If all this is true, you could try to append "init=/bin/sh" and look youself if you can execute the file.

Lastly, as Helix already said, a log could be useful.

Regards, Sebastian

Reply to
Sebastian

Hello ,

Does this file rcS has execute permission? Check that!

Best Regards, Vivekanandan M

Reply to
Vivekanandan M

Hi,

The problem I had was due to the fact that I had some of the test files dos formatted (????).

Best regards,

JF

Reply to
jean-francois.hasson

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.