mount of JFFS2

amit lubovsky amit.lubovsky at infineon.com
Wed Oct 24 11:42:41 EDT 2001


Hi,
When trying to mount JFFS2 as root on a malta board with mips5kc, I have
passed the kernel the mount device by:
        'go . root=/dev/mtdblock1'

after copying the file system to that device and I got the following:

jffs_scan_flash(): Leaving...
jffs_find_file(): ino: 1
jffs_find_file(): Didn't find file with ino 1.
jffs_add_virtual_root(): Creating a virtual root directory.
jffs_insert_file_into_hash(): f->ino: 1
jffs_possibly_delete_file(): ino: 1
jffs_remove_redundant_nodes(): ino: 1, name: "", newest_type: 1
jffs_insert_file_into_tree(): name: ""
jffs_find_file(): ino: 0
jffs_find_file(): Didn't find file with ino 0.
jffs_build_file(): ino: 1, name: ""
jffs_update_file(): ino: 1, version: 0
JFFS: Dumping the file system's hash table...
*** c->hash[1]: "" (ino: 1, pino: 0)
/ (ino: 1, highest_version: 0, size: 0)
jffs_read_inode(): inode->i_ino == 1
read_inode(): down biglock
jffs_find_file(): ino: 1
jffs_find_file(): Found file with ino 1. (name: "")
read_inode(): up biglock
JFFS: GC thread pid=8.
JFFS: Successfully mounted device 1f:01.
amit: JFFS: Successfully mounted device 1f:01.
VFS: Mounted root (jffs filesystem) readonly.
Freeing prom memory: 956kb freed
Freeing unused kernel memory: 76k freed
jffs_lookup(): dir: 0x810b0c40, name: "dev"
lookup(): down biglock
jffs_find_child()
jffs_find_child(): Didn't find the file "dev".
jffs_lookup(): Couldn't find the file. f = 0x00000000, name = "dev", d =
0x811f1
lookup(): up biglock
Warning: unable to open an initial console.
jffs_lookup(): dir: 0x810b0c40, name: "sbin"
lookup(): down biglock
jffs_find_child()
jffs_find_child(): Didn't find the file "sbin".
jffs_lookup(): Couldn't find the file. f = 0x00000000, name = "sbin", d
= 0x8111
lookup(): up biglock
jffs_lookup(): dir: 0x810b0c40, name: "etc"
lookup(): down biglock
jffs_find_child()
jffs_find_child(): Didn't find the file "etc".
jffs_lookup(): Couldn't find the file. f = 0x00000000, name = "etc", d =
0x811f1
lookup(): up biglock
jffs_lookup(): dir: 0x810b0c40, name: "bin"
lookup(): down biglock
jffs_find_child()
jffs_find_child(): Didn't find the file "bin".
jffs_lookup(): Couldn't find the file. f = 0x00000000, name = "bin", d =
0x811f1
lookup(): up biglock
Kernel panic: No init found.  Try passing init= option to kernel.

Any ideas ???

Thanks, amit.





More information about the linux-mtd mailing list