ramdisk /sbin/init not running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am trying to run Montavista linux (kernel version 2.4) on my development board which is based on MIPS processor. The ramdisk is compiled into the kernel image by placing the ramdisk.gz file in the source tree.

The kernel boots up completely and the control is passed over to /sbin/init binary present in the ramdisk in the init thread. After that no print is observed on the console, where I should have observed "BusyBox v0.60.5 (2005.03.06-21:20+0000) Built-in shell (msh)" as the first print from the ramdisk binary.

I tried to run my own init binary which was nothing but a simple "Hello world" application, but even with this binary the print wasn't observed.

Finally, On putting prints in the load_elf_binary routing, I found that load_elf_binary is returning with retval: 0 which means success.

So, I am suspecting that the problem somehow lies with the UART in that no prints are seen from the newly execed program(/sbin/init).
Could this be the case?

Could there be a problem with the kernel code?

Following are the last few prints observed on the console:

###############################################################
Freeing initrd memory: 1836k freed

VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing prom memory: 0kb freed
Freeing unused kernel memory: 84k freed

Algorithmics/MIPS FPU Emulator v1.5
###############################################################

Any help in this regard would be greatly appreciated.

Regards,
Gautam

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux