LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-08-2012, 06:32 PM   #1
plumpfern
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
JFFS2 garbage collect crash


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
 
Old 08-10-2012, 02:45 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
For me it looks like NULL pointer dereference, $r0 is 0 in this dump. Looking into the code http://lxr.linux.no/#linux+v2.6.21/fs/jffs2/gc.c#L432 there are many pointer operations in this function. Do you have a chance to conect by gdb to the kernel when it has crashes? Also, does it happen on a specific machine or only on this specific flash image?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using xev to collect keycodes kaega2 Linux - Software 4 09-28-2004 03:42 AM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 07:09 AM
iwspy: no statistics to collect h/w Linux - Networking 2 10-20-2003 08:21 PM
does anybody else collect old computers? Brain Drop General 28 04-06-2003 10:26 PM
collect 2: cannot find 'ld' dancindoc Linux - Newbie 1 09-08-2002 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration