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

Does JFFS2 take seconds to mount?



Hi, all.

I use mtd/jffs2 on linux-2.4.19 patched by patch-2.4.19-rmk4.
The target device is NOR Flash memory on ARM Integrator AP with
ARM920T(50MHz).
I use the sample_img_01.jffs2 as my root file system.

When mounting the root filesystem of JFFS2, it takes 10sec or more to
mount it, and jffs2 outputs some messages (see below). This happens
every time when the system mounts the root file system.

Is this normal or is this a special case?
If this is a special case, does anybody know what's going on? 

My partition is defined as following:
------
Using static partition definition
Creating 3 MTD partitions on "AFS":
0x00000000-0x00100000 : "zImage"
0x00100000-0x02000000 : "User Filesystem"
0x02000000-0x02040000 : "ARM Boot Monitor SIB"
------


And, here are the messages for mounting the root file system:
------
jffs2_scan_empty(): Empty block at 0x0000fffc ends at 0x00010000 (with
0xe0021985)! Marking dirty
jffs2_scan_empty(): Empty block at 0x0002fffc ends at 0x00030000 (with
0xe0021985)! Marking dirty
jffs2_scan_empty(): Empty block at 0x0004fffc ends at 0x00050000 (with
0xe0021985)! Marking dirty
jffs2_scan_empty(): Empty block at 0x0006fffc ends at 0x00070000 (with
0xe0021985)! Marking dirty
jffs2_scan_empty(): Empty block at 0x0008fffc ends at 0x00090000 (with
0xe0021985)! Marking dirty
jffs2_scan_empty(): Empty block at 0x000afffc ends at 0x000b0000 (with
0xe0021985)! Marking dirty
jffs2_scan_empty(): Empty block at 0x000cfffc ends at 0x000d0000 (with
0xe0021985)! Marking dirty
jffs2_scan_empty(): Empty block at 0x000efffc ends at 0x000f0000 (with
0xe0021985)! Marking dirty
jffs2_scan_empty(): Empty block at 0x0010fffc ends at 0x00110000 (with
0xe0021985)! Marking dirty
jffs2_scan_empty(): Empty block at 0x0012fffc ends at 0x00130000 (with
0xe0021985)! Marking dirty
jffs2_scan_empty(): Empty block at 0x0014fffc ends at 0x00150000 (with 
0xe0021985)! Marking dirty
jffs2_scan_empty(): Empty block at 0x0016fff0 ends at 0x00170000 (with
0xe0021985)! Marking dirty
------


Regards,
Shuichi


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com