2009-05-29 15:11:43 Need some help coding the kernel dump..
Pawel Pastuszak (CANADA)
Message: 74780
Can any body help me decode this?
Bad page state in process 'events/0'
page:00263f20 flags:0x0002407f mapping:00000000 mapcount:0 count:0
Trying to fix it up, but a reboot is needed
Backtrace:
Hardware Trace:
0 Target : <0x00004750> { _dump_stack + 0x0 }
Source : <0x0002c7bc> { _bad_page + 0x4c }
1 Target : <0x0002c7bc> { _bad_page + 0x4c }
Source : <0x0000d68a> { _printk + 0x16 }
2 Target : <0x0000d686> { _printk + 0x12 }
Source : <0x0000d53c> { _vprintk + 0x1b8 }
3 Target : <0x0000d530> { _vprintk + 0x1ac }
Source : <0xffa00cd2> { __common_int_entry + 0xca }
4 Target : <0xffa00c70> { __common_int_entry + 0x68 }
Source : <0xffa00abe> { _return_from_int + 0x4e }
5 Target : <0xffa00abe> { _return_from_int + 0x4e }
Source : <0xffa00a9e> { _return_from_int + 0x2e }
6 Target : <0xffa00a70> { _return_from_int + 0x0 }
Source : <0xffa00c6c> { __common_int_entry + 0x64 }
7 Target : <0xffa00c6a> { __common_int_entry + 0x62 }
Source : <0xffa0040c> { _asm_do_IRQ + 0x68 }
8 Target : <0xffa00404> { _asm_do_IRQ + 0x60 }
Source : <0x0001176e> { __local_bh_enable + 0x3e }
9 Target : <0x00011730> { __local_bh_enable + 0x0 }
Source : <0x00011878> { ___do_softirq + 0x94 }
10 Target : <0x00011870> { ___do_softirq + 0x8c }
Source : <0x00011850> { ___do_softirq + 0x6c }
11 Target : <0x00011844> { ___do_softirq + 0x60 }
Source : <0x00014644> { _run_timer_softirq + 0x84 }
12 Target : <0x000145d4> { _run_timer_softirq + 0x14 }
Source : <0x0001f590> { _hrtimer_run_queues + 0xc8 }
13 Target : <0x0001f560> { _hrtimer_run_queues + 0x98 }
Source : <0x0001f556> { _hrtimer_run_queues + 0x8e }
14 Target : <0x0001f548> { _hrtimer_run_queues + 0x80 }
Source : <0x0001f586> { _hrtimer_run_queues + 0xbe }
15 Target : <0x0001f580> { _hrtimer_run_queues + 0xb8 }
Source : <0x0001f54c> { _hrtimer_run_queues + 0x84 }
Stack from 002cfea0:
00000000 0002c7c0 00263f20 002c1540 34453241 002c16cc 00263f20 00000008
0002407f 00000000 00000000 00000000 0002cd8a 00263f20 00000000 00000018
00000000 ff3ce2ff 0019e428 00158574 00033ab4 0018d900 06a691e0 0018d900
00000001 00000002 00187364 00000000 00033c54 00000002 00000018 00033d2e
002be630 002be620 00187364 00000000 0000990a 00159c3c 00034bb4 002be620
0018d900 00187358 00000000 00159c3c 002c1540 00171a00 00000000 00000000
Call Trace:
[<0001a104>] _run_workqueue+0x6c/0x12c
[<00034b0c>] _cache_reap+0x0/0xd0
[<0001a9da>] _worker_thread+0x8a/0xa4
[<0001a9be>] _worker_thread+0x6e/0xa4
[<0001d32c>] _autoremove_wake_function+0x0/0x30
[<0001cf60>] _kthread+0x50/0x64
[<0001a950>] _worker_thread+0x0/0xa4
[<00001686>] _kernel_thread_helper+0x6/0xc
Bad page state in process 'events/0'
page:00263f00 flags:0x00000000 mapping:00000000 mapcount:0 count:0
Trying to fix it up, but a reboot is needed
Backtrace:
Hardware Trace:
0 Target : <0x00004750> { _dump_stack + 0x0 }
Source : <0x0002c7bc> { _bad_page + 0x4c }
1 Target : <0x0002c7bc> { _bad_page + 0x4c }
Source : <0x0000d68a> { _printk + 0x16 }
2 Target : <0x0000d686> { _printk + 0x12 }
Source : <0x0000d53c> { _vprintk + 0x1b8 }
3 Target : <0x0000d530> { _vprintk + 0x1ac }
Source : <0x0000d522> { _vprintk + 0x19e }
4 Target : <0x0000d51e> { _vprintk + 0x19a }
Source : <0x0000d36c> { _wake_up_klogd + 0x24 }
5 Target : <0x0000d348> { _wake_up_klogd + 0x0 }
Source : <0x0000da6c> { _release_console_sem + 0x1f4 }
6 Target : <0x0000da5e> { _release_console_sem + 0x1e6 }
Source : <0x0000da50> { _release_console_sem + 0x1d8 }
7 Target : <0x0000da46> { _release_console_sem + 0x1ce }
Source : <0x0000da38> { _release_console_sem + 0x1c0 }
8 Target : <0x0000da18> { _release_console_sem + 0x1a0 }
Source : <0x0000d8fe> { _release_console_sem + 0x86 }
9 Target : <0x0000d8ce> { _release_console_sem + 0x56 }
Source : <0x0000d9fa> { _release_console_sem + 0x182 }
10 Target : <0x0000d9f4> { _release_console_sem + 0x17c }
Source : <0x0000d242> { __call_console_drivers + 0x7e }
11 Target : <0x0000d23c> { __call_console_drivers + 0x78 }
Source : <0x0000d1fe> { __call_console_drivers + 0x3a }
12 Target : <0x0000d1ee> { __call_console_drivers + 0x2a }
Source : <0x0000d1de> { __call_console_drivers + 0x1a }
13 Target : <0x0000d1c4> { __call_console_drivers + 0x0 }
Source : <0x0000d9f0> { _release_console_sem + 0x178 }
14 Target : <0x0000d9e6> { _release_console_sem + 0x16e }
Source : <0x0000d984> { _release_console_sem + 0x10c }
15 Target : <0x0000d97e> { _release_console_sem + 0x106 }
Source : <0x0000d1c2> { ___call_console_drivers + 0x52 }
Stack from 002cfe78:
00000006 0002c7c0 00263f00 002c1540 00000003 002c16cc 00263f00 00000008
00000000 00000000 00000000 00000000 0002cb0a 00263f20 00000001 002c16cc
00263f20 00000008 0002cdd2 00263f80 00000002 00000000 00000004 0000ffff
00000000 00000018 00000000 ff3ce2ff 0019e428 00158574 00033ab4 0018d900
06a691e0 0018d900 00000001 00000002 00187364 00000000 00033c54 00000002
00000018 00033d2e 002be630 002be620 00187364 00000000 0000990a 00159c3c
Call Trace:
[<00034bb4>] _cache_reap+0xa8/0xd0
[<00171a00>] _blk_dev_init+0x70/0xf8
[<0001a104>] _run_workqueue+0x6c/0x12c
[<00034b0c>] _cache_reap+0x0/0xd0
[<0001a9da>] _worker_thread+0x8a/0xa4
[<0001a9be>] _worker_thread+0x6e/0xa4
[<0001d32c>] _autoremove_wake_function+0x0/0x30
[<0001cf60>] _kthread+0x50/0x64
[<0001a950>] _worker_thread+0x0/0xa4
[<00001686>] _kernel_thread_helper+0x6/0xc
Thanks
- Pawel
QuoteReplyEditDelete
2009-05-29 15:18:24 Re: Need some help coding the kernel dump..
Mike Frysinger (UNITED STATES)
Message: 74782
if the kernel is crashing like that, the trace is most likely meaningless. something else is corrupting memory which causes events/0 to crash.
QuoteReplyEditDelete
2009-05-29 15:28:51 Re: Need some help coding the kernel dump..
Pawel Pastuszak (CANADA)
Message: 74784
Thanks the only message that i am currently getting.... but the box some one gets hang not all the time.
Also what is events/0?
QuoteReplyEditDelete
2009-05-29 15:41:31 Re: Need some help coding the kernel dump..
Pawel Pastuszak (CANADA)
Message: 74785
Note here is little bit different dump.
page:002634e0 flags:0x000240ff mapping:00000000 mapcount:0 count:0
Trying to fix it up, but a reboot is needed
Backtrace:
: bad directory
Hardware Trace:
0 Target : <0x00004750> { _dump_stack + 0x0 }
Source : <0x0002c7bc> { _bad_page + 0x4c }
1 Target : <0x0002c7bc> { _bad_page + 0x4c }
Source : <0x0000d68a> { _printk + 0x16 }
2 Target : <0x0000d686> { _printk + 0x12 }
Source : <0x0000d53c> { _vprintk + 0x1b8 }
3 Target : <0x0000d530> { _vprintk + 0x1ac }
Source : <0xffa00cd2> { __common_int_entry + 0xca }
4 Target : <0xffa00c70> { __common_int_entry + 0x68 }
Source : <0xffa00abe> { _return_from_int + 0x4e }
5 Target : <0xffa00abe> { _return_from_int + 0x4e }
Source : <0xffa00a9e> { _return_from_int + 0x2e }
6 Target : <0xffa00a70> { _return_from_int + 0x0 }
Source : <0xffa00c6c> { __common_int_entry + 0x64 }
7 Target : <0xffa00c6a> { __common_int_entry + 0x62 }
Source : <0xffa0040c> { _asm_do_IRQ + 0x68 }
8 Target : <0xffa00404> { _asm_do_IRQ + 0x60 }
Source : <0x0001176e> { __local_bh_enable + 0x3e }
9 Target : <0x00011730> { __local_bh_enable + 0x0 }
Source : <0x00011878> { ___do_softirq + 0x94 }
10 Target : <0x00011870> { ___do_softirq + 0x8c }
Source : <0x00011850> { ___do_softirq + 0x6c }
11 Target : <0x00011844> { ___do_softirq + 0x60 }
Source : <0x00011958> { _tasklet_action + 0x7c }
12 Target : <0x00011952> { _tasklet_action + 0x76 }
Source : <0x00011900> { _tasklet_action + 0x24 }
13 Target : <0x000118dc> { _tasklet_action + 0x0 }
Source : <0x00011842> { ___do_softirq + 0x5e }
14 Target : <0x00011830> { ___do_softirq + 0x4c }
Source : <0x0001183a> { ___do_softirq + 0x56 }
15 Target : <0x00011830> { ___do_softirq + 0x4c }
Source : <0x0001183a> { ___do_softirq + 0x56 }
Stack from 06911e0c:
00000000 0002c7c0 002634e0 06a71040 000096d0 06a711cc 002634e0 00000008
000240ff 00000000 00000000 00000000 0002cd8a 002634e0 00000000 00171860
06a71040 00001000 0696ef18 06911ed8 000322bc 06a8f440 00171860 06a71040
00171860 00000001 0000ff00 00158574 000322f0 00000005 000322f6 000322f0
06a69e00 06910000 0000e7da 00171860 00171894 0000b6e2 00171860 00159e98
000101f0 0000faf0 000101f0 0000faf0 000101f0 06a71040 00000000 00000000
Call Trace:
[<0003745e>] _sys_write+0x32/0x64
[<000101fc>] _complete_and_exit+0x0/0x18
[<000101f0>] _sys_exit+0x0/0xc
[<0003742c>] _sys_write+0x0/0x64
[<00008000>] __l1_sram_alloc+0x30/0x94
[<00002000>] _get_sclk+0x4/0x58
Bad page state in process 'create_sounds'
page:00263400 flags:0x00000000 mapping:00000000 mapcount:0 count:0
Trying to fix it up, but a reboot is needed
Backtrace:
Hardware Trace:
0 Target : <0x00004750> { _dump_stack + 0x0 }
Source : <0x0002c7bc> { _bad_page + 0x4c }
1 Target : <0x0002c7bc> { _bad_page + 0x4c }
Source : <0x0000d68a> { _printk + 0x16 }
2 Target : <0x0000d686> { _printk + 0x12 }
Source : <0x0000d53c> { _vprintk + 0x1b8 }
3 Target : <0x0000d530> { _vprintk + 0x1ac }
Source : <0x0000d522> { _vprintk + 0x19e }
4 Target : <0x0000d51e> { _vprintk + 0x19a }
Source : <0x0000d36c> { _wake_up_klogd + 0x24 }
5 Target : <0x0000d348> { _wake_up_klogd + 0x0 }
Source : <0x0000da6c> { _release_console_sem + 0x1f4 }
6 Target : <0x0000da5e> { _release_console_sem + 0x1e6 }
Source : <0x0000da50> { _release_console_sem + 0x1d8 }
7 Target : <0x0000da46> { _release_console_sem + 0x1ce }
Source : <0x0000da38> { _release_console_sem + 0x1c0 }
8 Target : <0x0000da18> { _release_console_sem + 0x1a0 }
Source : <0x0000d8fe> { _release_console_sem + 0x86 }
9 Target : <0x0000d8ce> { _release_console_sem + 0x56 }
Source : <0x0000d9fa> { _release_console_sem + 0x182 }
10 Target : <0x0000d9f4> { _release_console_sem + 0x17c }
Source : <0x0000d242> { __call_console_drivers + 0x7e }
11 Target : <0x0000d23c> { __call_console_drivers + 0x78 }
Source : <0x0000d1fe> { __call_console_drivers + 0x3a }
12 Target : <0x0000d1ee> { __call_console_drivers + 0x2a }
Source : <0x0000d1de> { __call_console_drivers + 0x1a }
13 Target : <0x0000d1c4> { __call_console_drivers + 0x0 }
Source : <0x0000d9f0> { _release_console_sem + 0x178 }
14 Target : <0x0000d9e6> { _release_console_sem + 0x16e }
Source : <0x0000d984> { _release_console_sem + 0x10c }
15 Target : <0x0000d97e> { _release_console_sem + 0x106 }
Source : <0x0000d1c2> { ___call_console_drivers + 0x52 }
Stack from 06911de4:
00000006 0002c7c0 00263400 06a71040 00000003 06a711cc 00263400 00000008
00000000 00000000 00000000 00000000 0002cb0a 002634e0 00000007 06a711cc
002634e0 00000008 0002cdd2 00263800 00000005 00000000 00000020 0000ffff
00000000 00171860 06a71040 00001000 0696ef18 06911ed8 000322bc 06a8f440
00171860 06a71040 00171860 00000001 0000ff00 00158574 000322f0 00000005
000322f6 000322f0 06a69e00 06910000 0000e7da 00171860 00171894 0000b6e2
Call Trace:
[<00171860>] _ipc_sysctl_init+0x4/0x18
[<000101f0>] _sys_exit+0x0/0xc
[<0000faf0>] _do_exit+0xec/0x760
[<000101f0>] _sys_exit+0x0/0xc
[<0000faf0>] _do_exit+0xec/0x760
[<000101f0>] _sys_exit+0x0/0xc
[<0003745e>] _sys_write+0x32/0x64
[<000101fc>] _complete_and_exit+0x0/0x18
[<000101f0>] _sys_exit+0x0/0xc
[<0003742c>] _sys_write+0x0/0x64
[<00008000>] __l1_sram_alloc+0x30/0x94
[<00002000>] _get_sclk+0x4/0x58
QuoteReplyEditDelete
2009-05-29 16:02:46 Re: Need some help coding the kernel dump..
Mike Frysinger (UNITED STATES)
Message: 74786
events/0 is a kernel process. you need to debug your apps to find out who is corrupting things.
using the 2008R1 svn branch or newer, you can enable MPU in the kernel to test things. or review the documentation:
docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:debugging_applications
if you've modified the kernel, you should back out your changes to see if that makes a difference.
QuoteReplyEditDelete
2009-05-29 17:55:29 Re: Need some help coding the kernel dump..
Pawel Pastuszak (CANADA)
Message: 74789
After turning on the MPU its seems to stop at nand but nand is working correctly in u-boot so i not sure why its stoping at nand.
Defered Exception context
CURRENT PROCESS:
COMM=swapper PID=1
invalid mm
return address: [0x000b0166]; contents of:
0x000b0140: 9908 0041 5aac 9911 4340 0801 1fef 6390
0x000b0150: 0484 0010 0c39 180f 480a 1c0e e14a 0018
0x000b0160: e10a ac30 9152 [e691] 0002 0030 0000 0000
0x000b0170: 0024 0040 0010 e14a 0018 e10a ac30 9152
SEQUENCER STATUS: Not tainted
SEQSTAT: 00000026 IPEND: 8030 SYSCFG: 0006
HWERRCAUSE: 0x0
EXCAUSE : 0x26
physical IVG15 asserted : <0xffa00e7c> { _evt_system_call + 0x0 }
logical irq 6 mapped : <0xffa00270> { _timer_interrupt + 0x0 }
logical irq 24 mapped : <0x000a6060> { _bf537mac_interrupt + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x00537efc> /* unknown address */
RETX: <0x000b0166> { _bfin_hwcontrol + 0x12 }
RETS: <0x000ae5bc> { _nand_command + 0x2c }
PC : <0x000b0166> { _bfin_hwcontrol + 0x12 }
DCPLB_FAULT_ADDR: <0x00537ad0> /* unknown address */
ICPLB_FAULT_ADDR: <0x0008fbf4> { _sprintf + 0x0 }
PROCESSOR STATE:
R0 : 005cee00 R1 : 00000090 R2 : 00000083 R3 : 0000001f
R4 : 00000001 R5 : ffffffff R6 : 00000090 R7 : 00000000
P0 : 0000000a P1 : 005cee00 P2 : 20000000 P3 : 0018ac2c
P4 : 005cee00 P5 : 005ceec0 FP : 00178da0 SP : 00537e20
LB0: ffa01868 LT0: ffa01868 LC0: 00000000
LB1: 0008f5aa LT1: 0008f59c LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 005c1ea8
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 00000000
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : fffedb65
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 00000000 ASTAT: 00002000
Hardware Trace:
0 Target : <0x00004404> { _dump_bfin_trace_buffer + 0x0 }
Source : <0x000049a6> { _trap_c + 0x132 }
1 Target : <0x000049a6> { _trap_c + 0x132 }
Source : <0x00004402> { _show_regs + 0x366 }
2 Target : <0x000043f6> { _show_regs + 0x35a }
Source : <0x0000dba2> { _printk + 0x16 }
3 Target : <0x0000db9e> { _printk + 0x12 }
Source : <0x0000da54> { _vprintk + 0x1b8 }
4 Target : <0x0000da36> { _vprintk + 0x19a }
Source : <0x0000d884> { _wake_up_klogd + 0x24 }
5 Target : <0x0000d880> { _wake_up_klogd + 0x20 }
Source : <0x0000d870> { _wake_up_klogd + 0x10 }
6 Target : <0x0000d860> { _wake_up_klogd + 0x0 }
Source : <0x0000df84> { _release_console_sem + 0x1f4 }
7 Target : <0x0000df76> { _release_console_sem + 0x1e6 }
Source : <0x0000df68> { _release_console_sem + 0x1d8 }
8 Target : <0x0000df5e> { _release_console_sem + 0x1ce }
Source : <0x0000df50> { _release_console_sem + 0x1c0 }
9 Target : <0x0000df30> { _release_console_sem + 0x1a0 }
Source : <0x0000de16> { _release_console_sem + 0x86 }
10 Target : <0x0000dde6> { _release_console_sem + 0x56 }
Source : <0x0000df12> { _release_console_sem + 0x182 }
11 Target : <0x0000df0c> { _release_console_sem + 0x17c }
Source : <0x0000d75a> { __call_console_drivers + 0x7e }
12 Target : <0x0000d754> { __call_console_drivers + 0x78 }
Source : <0x0000d716> { __call_console_drivers + 0x3a }
13 Target : <0x0000d706> { __call_console_drivers + 0x2a }
Source : <0x0000d6f6> { __call_console_drivers + 0x1a }
14 Target : <0x0000d6dc> { __call_console_drivers + 0x0 }
Source : <0x0000df08> { _release_console_sem + 0x178 }
15 Target : <0x0000defe> { _release_console_sem + 0x16e }
Source : <0x0000de9c> { _release_console_sem + 0x10c }
Stack from 00537e00:
00000000 ffa007b0 0015a56c 0015a56c 0015a568 00000000 00000000 00000000
000b0166 00008030 00000026 00000000 00537efc 000b0166 000b0166 000ae5bc
005cee00 00002000 0008f5aa ffa01868 0008f59c ffa01868 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 fffedb65 00000000 005c1ea8 00000000 00178da0 005ceec0 005cee00
Call Trace:
[<000adb9e>] _nand_scan_ident+0xda/0x57c
[<00008080>] __l1_sram_free+0x3c/0xb4
[<000ae05a>] _nand_scan+0x1a/0x78
[<00174dce>] _bfin_nand_init+0x5e/0x164
[<00174e74>] _bfin_nand_init+0x104/0x164
[<0016866c>] _kernel_init+0x88/0x234
[<001685e4>] _kernel_init+0x0/0x234
[<00001686>] _kernel_thread_helper+0x6/0xc
Modules linked in:
Kernel panic - not syncing: Kernel exception
QuoteReplyEditDelete
2009-05-29 18:14:07 Re: Need some help coding the kernel dump..
Mike Frysinger (UNITED STATES)
Message: 74790
you havent described your software or hardware setup anywhere. please do so now.
QuoteReplyEditDelete
2009-06-01 09:43:06 Re: Need some help coding the kernel dump..
Pawel Pastuszak (CANADA)
Message: 74921
uClinux-dist-2008R1-RC8
BF537 0.3 rev
128 MB - MT48LC64M8A2P
256 MB - NAND 02GW3B0DN6E
CPLD, ISDN, FXS, E1, etc..
I am not running any drivers for the ISDN,FXS,E1 all that is initialized is currently Nand (yaffs) and blackfin
- Pawel