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

jffs hangs



jffs (in 2.4.9 and 2.4.10) hangs when I write to the filesystem.
It doesn't matter if I modify a file or create a new file.
It works fine in kernel 2.4.7, but not in 2.4.9 or 2.4.10 (I haven't tried 2.4.8).

The following log is what I got when doing "echo hello > /mnt/flash/file1".

Any clues?

/Jonas


jffs_write_node(): setting version of file1 to 2
, result: 0x0000021e
, result: 0x000001d1
, result: 0x00000814
jffs_write_node(): About to write this raw inode to the flash at pos 0x6964:
jffs_raw_inode: inode number: 33
{
        0x34383931, /* magic  */
        0x00000021, /* ino  */
        0x00000001, /* pino  */
        0x00000002, /* version  */
        0x000081a4, /* mode  */
        0x0000,     /* uid  */
        0x0000,     /* gid  */
        0x386d45be, /* atime  */
        0x386d45be, /* mtime  */
        0x386d45bd, /* ctime  */
        0x00000000, /* offset  */
        0x00000006, /* dsize  */
        0x00000000, /* rsize  */
        0x05,       /* nsize  */
        0x01,       /* nlink  */
        0x00,       /* spare  */
        0,          /* rename  */
        0,          /* deleted  */
        0xff,       /* accurate  */
        0x0000021e, /* dchksum  */
        0x01d1,     /* nchksum  */
        0x0814,     /* chksum  */
}
jffs_write_node(): Leaving...
jffs_insert_node(): ino = 33, version = 2, name = "", deleted = 0
jffs_insert_node(): ---------------------------------------------------------------------- 1
jffs_update_file(): ino: 33, version: 2
jffs_delete_data(): offset = 0, remove_size = 0
jffs_insert_data(): node->data_offset = 0, node->data_size = 6, f->size = 0
jffs_insert_data(): f->size = 6
jffs_remove_redundant_nodes(): ino: 33, name: "file1", newest_type: 7
jffs_remove_redundant_nodes(): Removing node: ino: 33, version: 1, mod_type: 3
jffs_fmfree(): node->ino = 33, node->version = 1
thread_should_wake(): free=300624, dirty=68, blocksize=65536.
jffs_insert_node(): ---------------------------------------------------------------------- 2
jffs_file_write(): new f_pos 6.
file_write(): up biglock
thread_should_wake(): free=300624, dirty=68, blocksize=65536.
thread_should_wake(): free=300624, dirty=68, blocksize=65536.
thread_should_wake(): free=300624, dirty=68, blocksize=65536.
thread_should_wake(): free=300624, dirty=68, blocksize=65536.
thread_should_wake(): free=300624, dirty=68, blocksize=65536.
thread_should_wake(): free=300624, dirty=68, blocksize=65536.
thread_should_wake(): free=300624, dirty=68, blocksize=65536.
thread_should_wake(): free=300624, dirty=68, blocksize=65536.
thread_should_wake(): free=300624, dirty=68, blocksize=65536.
.
.
.
<infinity>

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