I am running some network application on an embedded environment where there is no HDD, just a flash storage with jffs2 filesystem. Upon running the daemon, the JFFS2 garbage collection randomly crash (probably around every 5 minutes or so).
The linux kernel version is 2.6.21.5.
Does anyone have any idea what may have been the case?
Code:
Cpu 0
$ 0 : 00000000 00000004 00000001 00000002
$ 4 : 80337c80 00000001 ffffffff 0001469a
$ 8 : 00000034 80330000 00000000 00000000
$12 : 8039392c 00000002 80393cf4 00000000
$16 : 00000000 825a26a8 00000000 82588690
$20 : 8121b6d8 8038c1c0 87eb4600 00000000
$24 : ffffffff 802c6024
$28 : 811ae000 811afe00 87eb4000 800e77a4
Hi : 00000000
Lo : 00000000
epc : 800e77b8 jffs2_garbage_collect_live+0x4e0/0x11e0 Tainted: PF
ra : 800e77a4 jffs2_garbage_collect_live+0x4cc/0x11e0
Status: 1100fc03 KERNEL EXL IE
Cause : 00800024
PrId : 00019740
Process jffs2_gcd_mtd2 (pid: 737, threadinfo=811ae000, task=87fb53f8)
Stack : 811afe34 0000debc 00000034 8121b6d8 0000001b 00000002 00000120 87eb4600
0000000c 811afe30 0001709c 87eb4600 87eb4400 81111f88 00000034 800939a0
1fef2b83 00000053 00000002 0000a1ff 87eb4400 80093c00 386d0b7d 386d0b7d
386d0b7d 00000000 87eb4400 81218398 00000001 00000034 80300000 800eb3dc
00000090 81218380 8121b6e8 87eb462c 00000000 8038c1c0 82588690 8121b6d8
...
Call Trace:
[<800e77b8>] jffs2_garbage_collect_live+0x4e0/0x11e0
[<800e8afc>] jffs2_garbage_collect_pass+0x644/0xad8
[<800ea364>] jffs2_garbage_collect_thread+0xac/0x134
[<8000ae48>] kernel_thread_helper+0x10/0x18