Hi,
I've suffered for many days and "google" almost every where.
I would like to boot from the flash with jffs2 (i.e. using jffs2 as my
root /) . But it alyaws shows:
VFS: Cannot open root device..... (whole message is as below)
Anybody knows what may cause this ? Please help and
thank you.
/HappyPhot
==============(booting message)==================
.......
physmap flash device: 1000000 at 70000000
phys_mapped_flash: Found 2 x8 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
5 cmdlinepart partitions found on MTD device phys_mapped_flash
Creating 5 MTD partitions on "phys_mapped_flash":
0x00000000-0x00200000 : "k4"
mtd: Giving out device 0 to k4
0x00200000-0x00400000 : "k6"
mtd: Giving out device 1 to k6
0x00400000-0x00800000 : "rd"
mtd: Giving out device 2 to rd
0x00800000-0x00c00000 : "jffs2"
mtd: Giving out device 3 to jffs2
0x00c00000-0x02000000 : "others"
mtd: Giving out device 4 to others
VFS: Cannot open root device "31:03" or unknown-block(31,3)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(31,3)
<0>Rebooting in 180 seconds..
==========================================
On Monday 02 January 2006 15:48, HappyPhot wrote:
Hi,
I've suffered for many days and "google" almost every where.
I would like to boot from the flash with jffs2 (i.e. using jffs2 as my
root /) . But it alyaws shows:
VFS: Cannot open root device..... (whole message is as below)
Anybody knows what may cause this ? Please help and
thank you.
[...]
You omitted the interesting part of the log output, the bootarguments at the
very beginning. What is the value of root= ?
Maybe you made the typical mistake of specifying /dev/mtd3 instead
of /dev/mtdblock3, or you didn't compile in support for mtd access as a block
device?
Greetings,
--
David Jander
On Monday 02 January 2006 15:48, HappyPhot wrote:
quoted
Hi,
I've suffered for many days and "google" almost every where.
I would like to boot from the flash with jffs2 (i.e. using jffs2 as my
root /) . But it alyaws shows:
VFS: Cannot open root device..... (whole message is as below)
Anybody knows what may cause this ? Please help and
thank you.
[...]
You omitted the interesting part of the log output, the bootarguments at
the
very beginning. What is the value of root= ?
Maybe you made the typical mistake of specifying /dev/mtd3 instead
of /dev/mtdblock3, or you didn't compile in support for mtd access as a
block
device?
Hi, David and all,
I've tried root=/dev/mtdblock3, root=/dev/mtd3, root=31:03 etc. And
"Caching
block device access to MTD devices" was also selected when 'make
menuconfig'.
The results were the same.
I use "phys_mapped_flash" and "mtdparts=phys_mapped_flash:2M(k4),2M(k6),
4M(rd),4M(jffs2),-(User_Data)". What is the "root=" I should use ?
Also, I am wondering how the kernel knows "/dev/mtdblock3" is in my flash
?
I think I never do any setting about this....
thank you ,
/HappyPhot