LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel crash (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-crash-746620/)

linux_newbie79 08-11-2009 12:07 AM

kernel crash
 
Hi,

I recently downloaded the 2.6.30 linux kernel and compiled for arm processor.

system is booted properly and I am getting prompt in the serial console. If I leave the system idle for some time, it crashes and following is the trace.

can anyone suggest how to debug this issue

Internal error: Oops: 817 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.30 #27)
PC is at __bug+0x20/0x2c
LR is at release_console_sem+0x1b8/0x1ec
pc : [<c002927c>] lr : [<c004055c>] psr: 60000013
sp : c78e9ea4 ip : c78e9de0 fp : c78e9eb0
r10: c7acc6dc r9 : 00f48000 r8 : c7413150
r7 : c792f240 r6 : c70ee168 r5 : c79d3c00 r4 : c792f240
r3 : 00000000 r2 : 20000013 r1 : 0000197b r0 : 00000026
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0000397f Table: a7104000 DAC: 00000017
Process pdflush (pid: 177, stack limit = 0xc78e8260)
Stack: (0xc78e9ea4 to 0xc78ea000)
9ea0: c78e9f08 c78e9eb4 c0112aa4 c0029268 c78e9ed8 c796a660 fffffffb
9ec0: c7acc6a8 00f4c3f4 c796a660 00000048 c70ee168 00004000 0000000c 00000000
9ee0: c79d3c00 00f4c400 c79d3d18 c79d3c2c 00000000 00000000 00000000 c78e9f28
9f00: c78e9f0c c01139f4 c011289c c79d3c00 00000000 0000000a c0401c0c c78e9f40
9f20: c78e9f2c c01108fc c011396c c79d3a00 c79d3a3c c78e9f58 c78e9f44 c0091a14
9f40: c01108c4 c78e9fb0 c0401c0c c78e9fa0 c78e9f5c c006f9d4 c00919ac 00000000
9f60: 00000000 c78e9f84 00000000 00000000 00000000 00000000 00000000 00000000
9f80: 00000025 c78e9f90 c78e9fb0 c0406ecc c78e8000 c78e9fd8 c78e9fa4 c0071048
9fa0: c006f988 c783a900 c006f97c 00000000 c78e9fb0 c78e9fb0 ffffc733 c78e8000
9fc0: 00000000 c0070f44 00000000 c78e9ff4 c78e9fdc c005371c c0070f50 00000000
9fe0: 00000000 00000000 00000000 c78e9ff8 c00420c4 c00536c8 00000000 00000000
Backtrace:
[<c002925c>] (__bug+0x0/0x2c) from [<c0112aa4>] (__jffs2_flush_wbuf+0x214/0xbf0)
[<c0112890>] (__jffs2_flush_wbuf+0x0/0xbf0) from [<c01139f4>] (jffs2_flush_wbuf_gc+0x94/0xec)
[<c0113960>] (jffs2_flush_wbuf_gc+0x0/0xec) from [<c01108fc>] (jffs2_write_super+0x44/0x48)
r7:c0401c0c r6:0000000a r5:00000000 r4:c79d3c00
[<c01108b8>] (jffs2_write_super+0x0/0x48) from [<c0091a14>] (sync_supers+0x74/0xb4)
r5:c79d3a3c r4:c79d3a00
[<c00919a0>] (sync_supers+0x0/0xb4) from [<c006f9d4>] (wb_kupdate+0x58/0x164)
r5:c0401c0c r4:c78e9fb0
[<c006f97c>] (wb_kupdate+0x0/0x164) from [<c0071048>] (pdflush+0x104/0x1f4)
r6:c78e8000 r5:c0406ecc r4:c78e9fb0
[<c0070f44>] (pdflush+0x0/0x1f4) from [<c005371c>] (kthread+0x60/0x98)
r7:00000000 r6:c0070f44 r5:00000000 r4:c78e8000
[<c00536bc>] (kthread+0x0/0x98) from [<c00420c4>] (do_exit+0x0/0x5b4)
r6:00000000 r5:00000000 r4:00000000
Code: e1a01000 e59f000c eb005d9f e3a03000 (e5833000)
---[ end trace 33f284aad003e908 ]---
------------[ cut here ]------------
WARNING: at kernel/exit.c:896 do_exit+0x38/0x5b4()
Modules linked in:
Backtrace:
[<c0029440>] (dump_backtrace+0x0/0x110) from [<c0029584>] (dump_stack+0x18/0x1c)
r6:c00420fc r5:c039a9d8 r4:00000380
[<c002956c>] (dump_stack+0x0/0x1c) from [<c003fc80>] (warn_slowpath_common+0x50/0x68)
[<c003fc30>] (warn_slowpath_common+0x0/0x68) from [<c003fcb0>] (warn_slowpath_null+0x18/0x1c)
r7:00000001 r6:0000000b r5:c783a900 r4:c78e8000
[<c003fc98>] (warn_slowpath_null+0x0/0x1c) from [<c00420fc>] (do_exit+0x38/0x5b4)
[<c00420c4>] (do_exit+0x0/0x5b4) from [<c00298d4>] (die+0x224/0x258)
[<c00296b0>] (die+0x0/0x258) from [<c002ae00>] (__do_kernel_fault+0x6c/0x80)
[<c002ad94>] (__do_kernel_fault+0x0/0x80) from [<c002b084>] (do_page_fault+0x204/0x224)
r7:c78e9e5c r6:c783a900 r5:c03fe83c r4:ffffffff
[<c002ae80>] (do_page_fault+0x0/0x224) from [<c00251dc>] (do_DataAbort+0x3c/0xa0)
[<c00251a0>] (do_DataAbort+0x0/0xa0) from [<c0025980>] (__dabt_svc+0x40/0x60)
Exception stack(0xc78e9e5c to 0xc78e9ea4)
9e40: 00000026
9e60: 0000197b 20000013 00000000 c792f240 c79d3c00 c70ee168 c792f240 c7413150
9e80: 00f48000 c7acc6dc c78e9eb0 c78e9de0 c78e9ea4 c004055c c002927c 60000013
9ea0: ffffffff
r8:c7413150 r7:c792f240 r6:c70ee168 r5:c78e9e90 r4:ffffffff
[<c002925c>] (__bug+0x0/0x2c) from [<c0112aa4>] (__jffs2_flush_wbuf+0x214/0xbf0)
[<c0112890>] (__jffs2_flush_wbuf+0x0/0xbf0) from [<c01139f4>] (jffs2_flush_wbuf_gc+0x94/0xec)
[<c0113960>] (jffs2_flush_wbuf_gc+0x0/0xec) from [<c01108fc>] (jffs2_write_super+0x44/0x48)
r7:c0401c0c r6:0000000a r5:00000000 r4:c79d3c00
[<c01108b8>] (jffs2_write_super+0x0/0x48) from [<c0091a14>] (sync_supers+0x74/0xb4)
r5:c79d3a3c r4:c79d3a00
[<c00919a0>] (sync_supers+0x0/0xb4) from [<c006f9d4>] (wb_kupdate+0x58/0x164)
r5:c0401c0c r4:c78e9fb0
[<c006f97c>] (wb_kupdate+0x0/0x164) from [<c0071048>] (pdflush+0x104/0x1f4)
r6:c78e8000 r5:c0406ecc r4:c78e9fb0
[<c0070f44>] (pdflush+0x0/0x1f4) from [<c005371c>] (kthread+0x60/0x98)
r7:00000000 r6:c0070f44 r5:00000000 r4:c78e8000
[<c00536bc>] (kthread+0x0/0x98) from [<c00420c4>] (do_exit+0x0/0x5b4)
r6:00000000 r5:00000000 r4:00000000
---[ end trace 33f284aad003e909 ]---

bhaslinux 08-11-2009 09:04 AM

from the logs what i can understand is that there is some issue with the jffs caching.


All times are GMT -5. The time now is 06:55 AM.