This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

JFFS2报警信息

Other Parts Discussed in Thread: AM3505

各位大神我用的是TI的AM3505,内核是2.6.37,写文件时会出现以下报警信息

[ 1527.693634] Write of 122 bytes at 0x04c00fb8 failed. returned -5, retlen 0
[ 1527.700958] Not marking the space at 0x04c00fb8 as dirty because the flash driver returned retlen zero
[ 1527.736724] jffs2_flush_wbuf(): Write failed with -5
[ 1527.743041] Recovery of wbuf succeeded to 04bc0000

这个要如何解决非常感谢

  • 多贴点前后的信息啊

  • 在另一个贴里面回复你了

  •  774.791412] jffs2_flush_wbuf(): Write failed with -5
    [  774.807067] Recovery of wbuf failed due to a second write error
    [  774.813446] Write of 489 bytes at 0x01f8d7ac failed. returned -5, retlen 0
    [  774.820800] Not marking the space at 0x01f8d7ac as dirty because the flash driver returned retlen zero
    [  774.854827] enter to interrupt
    [  774.858245] jffs2_flush_wbuf(): Write failed with -5
    [  774.864562] nand_do_write_ops: Attempt to write not page aligned data
    [  774.871520] Recovery of wbuf failed due to a second write error
    [  774.877746] Write of 494 bytes at 0x01f60968 failed. returned -5, retlen 0
    [  774.885040] Not marking the space at 0x01f60968 as dirty because the flash driver returned retlen zero
    [  774.933044] JFFS2 error: (433) jffs2_link_node_ref: Adding new ref cd38fd98 at (0x01f8d800-0x01f8d800) not immediately after previous (0x01fa0000-0x01f8d800)
    [  774.947937] kernel BUG at fs/jffs2/nodelist.c:644!
    [  774.953186] Unable to handle kernel NULL pointer dereference at virtual address 00000000
    [  774.961853] pgd = ced78000
    [  774.964721] [00000000] *pgd=8ed91031, *pte=00000000, *ppte=00000000
    [  774.971435] Internal error: Oops: 817 [#1]
    [  774.975677] last sysfs file: /sys/devices/platform/omap/omap_i2c.1/i2c-1/i2c-dev/i2c-1/dev
    [  774.984283] Modules linked in:
    [  774.987457] CPU: 0    Tainted: G        W    (2.6.37 #23)
    [  774.993103] PC is at __bug+0x18/0x24
    [  774.996826] LR is at __bug+0x14/0x24
    [  775.000518] pc : [<c00a1138>]    lr : [<c00a1134>]    psr: 60000013
    [  775.000549] sp : cecd3bc0  ip : cecd2000  fp : cf36e938
    [  775.012451] r10: 00000000  r9 : 01f60968  r8 : 01f60968
    [  775.017883] r7 : 00000000  r6 : 00000000  r5 : cd38fd98  r4 : cecd90c0
    [  775.024688] r3 : 00000000  r2 : cecd3bb4  r1 : c0433920  r0 : 0000003c
    [  775.031463] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [  775.038879] Control: 10c5387d  Table: 8ed78019  DAC: 00000015
    [  775.044860] Process iControl600 (pid: 433, stack limit = 0xcecd22f0)
    [  775.051452] Stack: (0xcecd3bc0 to 0xcecd4000)
    [  775.055999] 3bc0: cecd90c0 c01b9768 01f8d800 01f8d800 01fa0000 01f8d800 00000001 00000000
    [  775.064514] 3be0: cec74000 cecb3330 00000001 c01c69e0 00000000 cecd3c34 cec8e800 c035da14
    [  775.072998] 3c00: cec742a4 cec74000 01f60968 00000000 cec742a8 80000013 cecd95d8 01f60968
    [  775.081512] 3c20: 00000090 c01c6c38 00000003 c00f6940 cec742d8 00000800 00000130 01f80000
    [  775.090026] 3c40: 01f60000 cec74000 cec74000 01f60968 01f60968 00000000 cf36e938 c01c6cc8
    [  775.098510] 3c60: c01be7b0 c00f3ef4 cecd90c0 c0152028 000000d0 00000002 cecd3cd0 cec742a4
    [  775.107025] 3c80: 60000013 cbc41cb8 000000d0 c0152028 cf5f8b40 cbc56840 01f60968 00020000
    [  775.115539] 3ca0: cec74000 cbc41cb8 000001ee 00000000 cf36e938 c01be8c0 01f60968 00000000
    [  775.124053] 3cc0: cecd3ce4 00000102 0001f698 00000002 cbc56840 00000044 ced19000 000001aa
    [  775.132537] 3ce0: cec74000 cecd3d4c cade8000 00000000 00000007 0000000c 00000000 00000000
    [  775.141052] 3d00: cf36e938 00000003 cbc56840 c01bf0f8 000001aa 00000003 00000000 000000aa
    [  775.149566] 3d20: 00000000 00000020 00000000 00000007 cade8000 cec74000 00000000 00000000
    [  775.158050] 3d40: 000001aa 00000cee 0001f698 ced19000 cf5f8a40 00002000 cbc56840 cf36e9b0
    [  775.166564] 3d60: 00000000 c0d46d00 00000cee 00000000 cec74000 c01b8fc4 00002000 00000cee
    [  775.175079] 3d80: cecd3d9c c068f7f8 cecd90c0 cecd9548 00002000 00000000 00002000 00000000
    [  775.183563] 3da0: 00000cee 00000cee 00000000 00002000 00000000 00000cee cf36eb0c cecd2000
    [  775.192077] 3dc0: 00000000 c0126d14 00000cee 00000cee c0d46d00 cf36e9b0 cec8c280 00001000
    [  775.200592] 3de0: 00000000 c0391aa0 cecd3f40 00000001 00000000 00000cee cf36e9b0 c0d46d00
    [  775.209075] 3e00: 5248b7dc 00002cee 00000000 00000cee cecd3f40 00002000 00000000 00000cee
    [  775.217590] 3e20: 00000000 c0128b4c 00002000 00000000 cecd3f00 00000cee 00000000 cecd90c0
    [  775.226104] 3e40: cf36ea94 cecd3f00 cecd3ec8 cec8c280 cf36eb0c 00000001 00000002 00000000
    [  775.234619] 3e60: c0128bec c035b7a0 22222222 00000cee 22222222 cf36ea54 00000000 cecd3ec8
    [  775.243103] 3e80: 00000001 cecd3f40 cec8c280 00002000 00000000 c0128c00 cecd3ec8 cecd3f40
    [  775.251617] 3ea0: 00002000 00000000 cecd3ec8 cec8c280 cecd3f80 cecd2000 00000000 c0153ff4
    [  775.260131] 3ec0: 00002000 00000000 00000007 00000000 00000000 00000001 ffffffff cec8c280
    [  775.268615] 3ee0: 00000000 00000000 00000000 00000000 cecd90c0 cecd9328 00000000 00000000
    [  775.277130] 3f00: 00002000 00000000 00000002 c04c3cbc 00000cee 60000013 00000cee 00000002
    [  775.285644] 3f20: 00002000 00000000 cf36e9b0 c01541ec cecd90c0 c04c3cbc c0155184 cecd90c0
    [  775.294128] 3f40: 01338e18 00000cee cec8c280 00000cee 01338e18 cecd3f80 01338e18 c01549fc
    [  775.302642] 3f60: cec8c280 01338e18 00002000 00000000 cec8c280 00000cee 01338e18 c0154b30
    [  775.311157] 3f80: 00002000 00000000 00000cee 00000001 00002000 00000000 00000031 00000004
    [  775.319671] 3fa0: c009d708 c009d540 00002000 00000000 00000031 01338e18 00000cee 00000002
    [  775.328155] 3fc0: 00002000 00000000 00000031 00000004 012fd810 00002cee 01338e18 00000000
    [  775.336669] 3fe0: 00000000 beab5fb0 40e804dc 40e80bc4 80000010 00000031 8fbfe021 8fbfe421
    [  775.345184] [<c00a1138>] (__bug+0x18/0x24) from [<c01b9768>] (jffs2_link_node_ref+0x88/0x1c4)
    [  775.354064] [<c01b9768>] (jffs2_link_node_ref+0x88/0x1c4) from [<c01c69e0>] (__jffs2_flush_wbuf+0xabc/0xc68)
    [  775.364318] [<c01c69e0>] (__jffs2_flush_wbuf+0xabc/0xc68) from [<c01c6cc8>] (jffs2_flash_writev+0xe4/0x46c)
    [  775.374450] [<c01c6cc8>] (jffs2_flash_writev+0xe4/0x46c) from [<c01be8c0>] (jffs2_write_dnode+0x178/0x3fc)
    [  775.384490] [<c01be8c0>] (jffs2_write_dnode+0x178/0x3fc) from [<c01bf0f8>] (jffs2_write_inode_range+0x2e4/0x424)
    [  775.395080] [<c01bf0f8>] (jffs2_write_inode_range+0x2e4/0x424) from [<c01b8fc4>] (jffs2_write_end+0x18c/0x2e4)
    [  775.405487] [<c01b8fc4>] (jffs2_write_end+0x18c/0x2e4) from [<c0126d14>] (generic_file_buffered_write+0x16c/0x228)
    [  775.416259] [<c0126d14>] (generic_file_buffered_write+0x16c/0x228) from [<c0128b4c>] (__generic_file_aio_write+0x3fc/0x444)
    [  775.427825] [<c0128b4c>] (__generic_file_aio_write+0x3fc/0x444) from [<c0128c00>] (generic_file_aio_write+0x6c/0xcc)
    [  775.438781] [<c0128c00>] (generic_file_aio_write+0x6c/0xcc) from [<c0153ff4>] (do_sync_write+0x98/0xe4)
    [  775.448547] [<c0153ff4>] (do_sync_write+0x98/0xe4) from [<c01549fc>] (vfs_write+0xac/0x134)
    [  775.457244] [<c01549fc>] (vfs_write+0xac/0x134) from [<c0154b30>] (sys_write+0x3c/0x68)
    [  775.465576] [<c0154b30>] (sys_write+0x3c/0x68) from [<c009d540>] (ret_fast_syscall+0x0/0x3c)
    [  775.474365] Code: e92d4010 e59f000c eb0ae51c e3a03000 (e5833000)
    [  775.481079] ---[ end trace 1b75b31a2719ed1e ]---

  • 最新的SDK应该没有这个问题