LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,1) (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block-31-1-a-672444/)

sorav 09-26-2008 12:58 AM

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,1)
 
Hi all,

I am new to linux so please don't mind if I say something wrong.The issue is I am using kernel 2.6.20.1 and the supported device info,driver info and BSP info are build into it.When I boot my board with the compiled image I get the following log.


yaffs: dev is 1048576 name is "ram0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 1.0, "ram0"
yaffs: dev is 1048576 name is "ram0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 1.0, "ram0"
No filesystem could mount root, tried: ext3 ext2 iso9660 yaffs yaffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)


After this I tried even booting from the flash by giving the command line parameter as

console=ttyS0,9600 root=31:1 rw mtdparts=phys_mapped_flash:16M(Linux) 110M(JFFS2) -(REST)

then i get the follwoing messages

yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs: MTD device is not NAND it's type 3
yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs: MTD device is not NAND it's type 3
No filesystem could mount root, tried: ext3 ext2 iso9660 yaffs yaffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,1)


FYI

I am using MOTload boot loader and I am not able to find information on boot options :How to boot from flash.

Thanks & Regards
Saurabh Chopra


All times are GMT -5. The time now is 04:23 AM.