日期:2014-05-16  浏览次数:21522 次

JFFS2文件系统警告
各位大神,我用的是TI的AM3505,内核是2.6.37,文件系统是JFFS2,从USB复制文件到本地后会出现如下打印信息,
[   44.057525] jffs2_flush_wbuf(): Write failed with -5
[   44.063507] Write of 1302 bytes at 0x023d14d8 failed. returned -5, retlen 0
[   44.070953] Not marking the space at 0x023d14d8 as dirty because the flash driver returned retlen zero
这是怎么回事,有时候复制后会直接系统崩溃,打印信息如下
[  141.776062] jffs2_flush_wbuf(): Write failed with -5
[  141.782623] Recovery of wbuf succeeded to 016e0000
[  141.787933] Write of 1256 bytes at 0x01702d50 failed. returned -5, retlen 0
[  141.795349] Not marking the space at 0x01702d50 as dirty because the flash driver returned retlen zero
[  142.565124] jffs2_flush_wbuf(): Write failed with -5
[  142.571563] Recovery of wbuf succeeded to 015e0000
[  142.576873] Write of 1233 bytes at 0x0161dfa0 failed. returned -5, retlen 0
[  142.584289] Not marking the space at 0x0161dfa0 as dirty because the flash driver returned retlen zero
[  143.205749] jffs2_flush_wbuf(): Write failed with -5
[  143.221374] Recovery of wbuf failed due to a second write error
[  143.227600] Write of 1315 bytes at 0x01567dd4 failed. returned -5, retlen 0
[  143.235046] Not marking the space at 0x01567dd4 as dirty because the flash driver returned retlen zero
[  143.245910] JFFS2 error: (463) jffs2_link_node_ref: Adding new ref cbcee8f0 at (0x01568000-0x01568000) not immediately after previous (0x01567dd4-0x01568000)
[  143.260833] kernel BUG at fs/jffs2/nodelist.c:644!
[  143.265960] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[  143.274536] pgd = cbd2c000
[  143.277435] [00000000] *pgd=8bc6b031, *pte=00000000, *ppte=00000000
[  143.284118] Internal error: Oops: 817 [#1]
[  143.288391] last sysfs file: /sys/devices/platform/omap/omap_i2c.1/i2c-1/i2c-dev/i2c-1/dev
[  143.296997] Modules linked in:
[  143.300170] CPU: 0    Tainted: G        W    (2.6.37 #23)
[  143.305786] PC is at __bug+0x18/0x24
[  143.309509] LR is at __bug+0x14/0x24
[  143.313232] pc : [<c00a1138>]    lr : [<c00a1134>]    psr: 60000013
[  143.313232] sp : cbc4fbc0  ip : cbc4e000  fp : cf393130
[  143.325164] r10: 00000000  r9 : 01540000  r8 : 01540000
[  143.330596] r7 : 0000