Returning EFAULT => 0 Exp: 1985 and Got=> 42 Address is fe000084 jffs2_flush_wbuf(): Write failed with -5 jffs2 wbuf recover: c1cad200 Before Spin Lock About to refile bad block at 00c80000 Refiling block at 00c80000 to bad_used_list Before First Raw Write of 3048 bytes at 0x00c803ec failed. returned -5, retlen 0 Not marking the space at 0x00c803ec as dirty because the flash driver returned retlen zero Returning EFAULT => 0 Exp: 1985 and Got=> 42 Address is fe000084 jffs2_flush_wbuf(): Write failed with -5 jffs2 wbuf recover: c1cad200 Before Spin Lock About to refile bad block at 00c60000 Refiling block at 00c60000 to bad_used_list Before First Raw Write of 3048 bytes at 0x00c603ec failed. returned -5, retlen 0 Not marking the space at 0x00c603ec as dirty because the flash driver returned retlen zero Returning EFAULT => 0 Exp: 5643 and Got=> 42 Address is fe000084 jffs2_flush_wbuf(): Write failed with -5 jffs2 wbuf recover: c1cad200 Before Spin Lock About to refile bad block at 00c20000 Refiling block at 00c20000 to bad_used_list Before First Raw Returning EFAULT => 0 Exp: 1ebd and Got=> 42 Address is fe000084 Recovery of wbuf failed due to a second write error Write of 2356 bytes at 0x00c28258 failed. returned -5, retlen 0 Not marking the space at 0x00c28258 as dirty because the flash driver returned retlen zero Returning EFAULT => 0 Exp: 5643 and Got=> 42 Address is fe000084 jffs2_flush_wbuf(): Write failed with -5 jffs2 wbuf recover: c1cad200 Before Spin Lock About to refile bad block at 00c20000 Refiling block at 00c20000 to bad_used_list Before First Raw Returning EFAULT => 0 Exp: 1ebd and Got=> 42 Address is fe000084 Recovery of wbuf failed due to a second write error Write of 2356 bytes at 0x01fa0000 failed. returned -5, retlen 0 Not marking the space at 0x01fa0000 as dirty because the flash driver returned retlen zero Totlen for ref at c1d9acb8 (0x00c40000-0x00c40000) miscalculated as 0xfffe8800 instead of 0 next c1d9acc4 (0x00c28800-0x00c28800) jeb->wasted_size 17da8, dirty_size 0, used_size 8258, free_size 0 BUG: warning at fs/jffs2/nodelist.c:1219/__jffs2_ref_totlen() JFFS2 error: (491) jffs2_link_node_ref: Adding new ref c1d9acc4 at (0x00c28800-0x00c28800) not immediately after previous (0x00c40000-0x00c40000) Unable to handle kernel NULL pointer dereference at virtual address 00000000 pgd = c0818000 [00000000] *pgd=80f47031, *pte=00000000, *ppte=00000000 Internal error: Oops: 817 [#1] Modules linked in: cmemk(P) omap24xxlib sensor_vs6524 vs6524lib video_buf omap2_audio_aic31 omap2_audio omap2_audio_buf_intfc tlv320aic31 CPU: 0 PC is at jffs2_link_node_ref+0x16c/0x244 LR is at 0x1 pc : [] lr : [<00000001>] Tainted: P sp : c1557bf8 ip : 00000000 fp : c1557c30 r10: 00c28801 r9 : 00000000 r8 : c1556000 r7 : c1cad200 r6 : 00000000 r5 : c1fe93b4 r4 : c1d9acc4 r3 : 00000000 r2 : 00000000 r1 : 0d3ab56c r0 : 00000095 Flags: nZCv IRQs on FIQs on Mode SVC_32 Segment user Control: C5387F Table: 80818000 DAC: 00000015 Process sh (pid: 491, stack limit = 0xc1556248) Stack: (0xc1557bf8 to 0xc1558000) 7be0: 00c28800 00c28800 7c00: 00c40000 00c40000 00000000 01fa0000 c1cad200 00000800 c1fe93b4 00000001 7c20: 00000000 c1557c9c c1557c34 c0126fe0 c0117e08 00000000 c1fe1800 00000000 7c40: 00000000 c1cad200 c1557c6c c1557c58 c003cfac 00020000 01fa0000 00000000 7c60: 00c28000 c1bb3000 00000800 00000934 c1557c8c 00020000 01fa0000 c1cad200 7c80: 00c28000 c1bb3000 01fa0000 00000934 c1557ce8 c1557ca0 c01275e4 c01262e8 7ca0: c019e120 c01ab0d8 c1cad31c 01920000 00000000 00000001 c1557cfc c01490d4 7cc0: 01fa0000 00000000 c1557d34 c1cad200 c1bb3000 c1df3e94 00000934 c1557d1c 7ce0: c1557cf0 c01279a0 c01274ec 01fa0000 00000000 c1557d34 00000000 c1bb3000 7d00: 00000934 00000000 01fa0000 c1cad200 c1557d64 c1557d20 c011f550 c0127954 7d20: c1557d34 c1bb3000 00000000 c1d14380 c1cad22c 00000934 0001f6a4 c1fea8d4 7d40: c1d14380 c1cad200 c1df3e94 c1cad22c c1cad22c 00000000 c1557dd0 c1557d68 7d60: c0121358 c011f300 00000161 00020000 c1557d7c c0041350 c0040e68 c1557dac 7d80: c1557d8c c0040fe8 00040000 00000000 00fb489c 02a7371c 00017eb4 c1cad22c 7da0: c1cad200 c1557dc0 c1557db4 00040000 00000000 00fb489c 02a7371c 00017eb4 7dc0: c1cad200 c1557e28 c1557dd4 c011a8fc c0120c58 02a7371c 00017eb4 00fb489c 7de0: 00000000 00040000 03c00000 03c00000 0000000c 00000000 c1557e34 00000044 7e00: 00000000 c15a12dc c15301e0 c1bb94f8 c1bb94f8 c1cad200 c15301b4 c1557e68 7e20: c1557e2c c011d330 c011a718 00000012 c1557e3c c0123c5c c00921a4 000000ec 7e40: 00000000 c15a1308 c15301e0 c1bb94f8 c0ce2f20 c1556000 c15a12dc c1557e98 7e60: c1557e6c c0114f30 c011d304 c0ce2f78 00000006 c15301e0 000081a4 c1557f0c 7e80: c0ce2f20 ffffff9c 00020242 c1557eb8 c1557e9c c00880f0 c0114e78 c0ce2f20 7ea0: c1557f0c c1590ac4 c0389000 c1557f04 c1557ebc c00884c8 c0088030 00020242 7ec0: 000001b6 00000000 00000000 00000002 000001b6 c0362320 c0ce2f20 00020241 7ee0: c1557f0c 000001b6 c0389000 ffffff9c c1556000 40140654 c1557f70 c1557f08 7f00: c007e6f4 c0088354 c1557f0c c1590ac4 c0362320 becb899c 00000006 c038900d 7f20: 00000300 00000000 00000000 c1556000 c1581420 c1c8f560 ffffffe8 40140654 7f40: c1557f70 c1557f50 c007e8a0 c0093b58 00020242 000001b6 c1506920 00020241 7f60: 00000003 c1557f94 c1557f74 c007ea14 c007e6d4 000001b6 00000241 000b3108 7f80: 00000005 c0023ee4 c1557fa4 c1557f98 c007ea7c c007e9d0 00000000 c1557fa8 7fa0: c0023d40 c007ea64 000001b6 00000241 000b3108 00020241 000001b6 00000000 7fc0: 000001b6 00000241 000b3108 000c3608 00000000 000ae2c8 40140654 beeaa8ec 7fe0: 000a8244 beeaa7c8 00051e2c 400d7354 60000010 000b3108 6c756f63 6f6e2064 Backtrace: [] (jffs2_link_node_ref+0x0/0x244) from [] (__jffs2_flush_wbuf+0xd04/0xf34) [] (__jffs2_flush_wbuf+0x0/0xf34) from [] (jffs2_flash_writev+0x108/0x46c) [] (jffs2_flash_writev+0x4/0x46c) from [] (jffs2_flash_write+0x58/0x60) [] (jffs2_flash_write+0x0/0x60) from [] (jffs2_garbage_collect_pristine+0x25c/0x3f8) r6 = C1CAD200 r5 = 01FA0000 r4 = 00000000 [] (jffs2_garbage_collect_pristine+0x0/0x3f8) from [] (jffs2_garbage_collect_pass+0x70c/0x89c) [] (jffs2_garbage_collect_pass+0x0/0x89c) from [] (jffs2_reserve_space+0x1f0/0x2dc) [] (jffs2_reserve_space+0x0/0x2dc) from [] (jffs2_do_create+0x38/0x348) [] (jffs2_do_create+0x0/0x348) from [] (jffs2_create+0xc4/0x168) [] (jffs2_create+0x0/0x168) from [] (vfs_create+0xcc/0xd0) [] (vfs_create+0x0/0xd0) from [] (open_namei+0x180/0x660) r7 = C0389000 r6 = C1590AC4 r5 = C1557F0C r4 = C0CE2F20 [] (open_namei+0x0/0x660) from [] (do_filp_open+0x2c/0x48) [] (do_filp_open+0x0/0x48) from [] (do_sys_open+0x50/0x94) r5 = 00000003 r4 = 00020241 [] (do_sys_open+0x0/0x94) from [] (sys_open+0x24/0x28) r8 = C0023EE4 r7 = 00000005 r6 = 000B3108 r5 = 00000241 r4 = 000001B6 [] (sys_open+0x0/0x28) from [] (ret_fast_syscall+0x0/0x2c) Code: e59f20d0 e58dc00c ebfca511 e3a03000 (e5833000) Segmentation fault<7>jffs2_follow_link(): target path is '../../bin/busybox' jffs2_follow_link(): target path is '../../bin/busybox' jffs2_follow_link(): target path is 'ld-2.3.5.so' jffs2_follow_link(): target path is 'libm-2.3.5.so' jffs2_follow_link(): target path is 'libcrypt-2.3.5.so' jffs2_follow_link(): target path is 'libc-2.3.5.so' cmp: /home/sriram/file68: No such file or directory Pattern nOt matcjffs2_garbage_collect_thread(): pass hing... #jffs2_write_super() jffs2_thread_should_wake(): nr_free_blocks 11, nr_erasing_blocks 0, dirty_size 0x2a7371c: yes jffs2_erase_pending_blocks completed jffs2_flush_wbuf_gc() called for ino #0...