| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | ramdisk /sbin/init not running |
| From: | "Gautam Dawar" <gautam.dawar@gmail.com> |
| Date: | Wed, 16 Jan 2008 16:53:10 +0530 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=CnCEj5Akl8A73pTUSeQCDh8J9OVwN/XUozPe1AB4Snk=; b=Y6FZT/L2Rk3QYnBoG9v8jEsSReiHoEbm4PhErstT7/jXOYMspP2bvYK9G/FZlXvCRJtIfRe/Ny3ddjbXWj5F+Vu4Y9s51pjo2uB0/40OPlomjVqzY6I6bOzEtyWhvGBCYO4WxmTPM4C/o70C5LXmVVrLNwZo5jUurqJPwcnGY/E= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=myY6p84xbJySAvw4Jo4SRzLmCtRD1WLmZl89CJ4PomyXzSSpHcec6gSkE48mW1TmORPw94cbBLA+Lt2Hrx0lBbJzdch5MepzxGw/NTsrDZmsJPu1q24hhJEJU4DfS/fCL31yiEc82guYXoDCpGKwlcGeMFjbYkWQFfNDNmTgWqU= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
|
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] I8042: SNI RM support, Dmitry Torokhov |
|---|---|
| Next by Date: | Re: [PATCH 1/4] early_printk, Atsushi Nemoto |
| Previous by Thread: | does anyone get mpatrol work on linux for mips?, zhuzhenhua |
| Next by Thread: | Re: [UPDATED PATCH] IP28 support, peter fuerst |
| Indexes: | [Date] [Thread] [Top] [All Lists] |