参考mx6q_sabresd开发板设计的,使用的是android4.4开发包。
每次起来都是飞掉,打印的结果也不一样,
内存我用内存测试工具测试了,可以跑到600mhz没有问题,
打印:
acc_open
acc_release
kernel BUG at mm/slab.c:3059!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = d24cc000
[00000000] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT SMP
Modules linked in:
CPU: 2 Not tainted (3.0.35-06497-gcc45965-dirty #1)
PC is at __bug+0x1c/0x28
LR is at __bug+0x18/0x28
pc : [<c0051070>] lr : [<c005106c>] psr: 60070093
sp : d2583c98 ip : d997a000 fp : d60767a8
r10: 00000014 r9 : 00200200 r8 : 00000035
r7 : d6128800 r6 : d60767a0 r5 : 00100100 r4 : d6019b60
r3 : 00000000 r2 : c09453c0 r1 : 60070093 r0 : 00000024
Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c53c7d Table: 224cc04a DAC: 00000015
PC: 0xc0050ff0:
0ff0 e1a04000 e24dd010 e590003c eb01c3f4 e3500000 0594003c 0a00000d e2841034
1010 e594002c e891000e e88d000f ea000003 e59d000c eb01c3ea e3500000 0a000006
1030 e1a0000d eb000eab e3500000 aafffff7 e3a00000 e28dd010 e8bd8010 e59d000c
1050 eafffffb e92d4008 e1a03000 e1a02001 e59f0010 e1a01003 eb18f256 e3a03000
1070 e5833000 eafffffe c0803ac8 e3030ae4 e30012e1 e92d4008 e34c0080 ebfffff0
1090 e1a01000 e3030afc e92d4008 e34c0080 eb18f248 e3030ae4 e30012c5 e34c0080
10b0 ebffffe7 e92d4008 e1a02000 e1a03001 e3030b1c e1a0100e e34c0080 eb18f23d
10d0 e3030ae4 e3001299 e34c0080 ebffffdc e92d4ff0 e24dd06c e1a06002 e1a08000
LR: 0xc0050fec:
0fec e92d4010 e1a04000 e24dd010 e590003c eb01c3f4 e3500000 0594003c 0a00000d
100c e2841034 e594002c e891000e e88d000f ea000003 e59d000c eb01c3ea e3500000
102c 0a000006 e1a0000d eb000eab e3500000 aafffff7 e3a00000 e28dd010 e8bd8010
104c e59d000c eafffffb e92d4008 e1a03000 e1a02001 e59f0010 e1a01003 eb18f256
106c e3a03000 e5833000 eafffffe c0803ac8 e3030ae4 e30012e1 e92d4008 e34c0080
108c ebfffff0 e1a01000 e3030afc e92d4008 e34c0080 eb18f248 e3030ae4 e30012c5
10ac e34c0080 ebffffe7 e92d4008 e1a02000 e1a03001 e3030b1c e1a0100e e34c0080
10cc eb18f23d e3030ae4 e3001299 e34c0080 ebffffdc e92d4ff0 e24dd06c e1a06002
SP: 0xd2583c18:
3c18 00000002 00000000 00000000 d6070560 00001dc4 00000ff6 00000000 00000000
3c38 00000000 0000040f 00000005 d60767a0 d6128800 c004d2d0 00000024 60070093
3c58 c09453c0 00000000 d6019b60 00100100 d60767a0 d6128800 00000035 00200200
3c78 00000014 d60767a8 d997a000 d2583c98 c005106c c0051070 60070093 ffffffff
3c98 d6d5f020 c068ee08 d2582000 d60767b0 000004d0 d60767c4 00000010 000004d0
3cb8 c0046320 d6019b60 60070013 d6019b60 000004d0 d2582000 000004d0 c0531140
3cd8 000004d0 c01306d0 0000006f c029862c 00000000 d2480080 00000018 d6019b60
3cf8 00000000 000004d0 00000000 c052beb4 000004d0 c0531140 ffffffff d2480080
IP: 0xd9979f80:
9f80 ******** ******** ******** ******** ******** ******** ******** ********
9fa0 ******** ******** ******** ******** ******** ******** ******** ********
9fc0 ******** ******** ******** ******** ******** ******** ******** ********
9fe0 ******** ******** ******** ******** ******** ******** ******** ********
a000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
a020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
a040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
a060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
FP: 0xd6076728:
6728 d4ab4000 d4004000 d6076730 d6076730 00000013 00000090 00000003 00000000
6748 00000000 d6025000 00000000 ffff9f85 00000000 f7ffafff d6076760 d6076760
6768 d6076768 d6076768 d6076770 d6076770 00000000 00000091 00000000 00000000
6788 00000000 d6025400 00000000 ffff9f85 00000000 ffffbfff d6d5f020 d6fe5040
67a8 d6137000 d6d23020 d60767b0 d60767b0 00000022 00000140 00000002 00000001
67c8 00000001 d612b800 00000000 ffff9f85 00000000 ffffffff d60156e0 d6401b20
67e8 00000000 d612b000 00000002 ffffffff d6020000 00000001 ffffffff fffffffe
6808 00000000 00000000 00000000 00000000 00000000 00000000 d60a59a0 d6076824
R2: 0xc0945340:
5340 00000018 00000019 0000001a 0000001b 0000001c 0000001d 0000001e 0000001f
5360 c09ae6a8 00004000 00000001 c094536c c094536c 00000000 00000000 000001f4
5380 0000000a 00000001 00000000 00000000 0000000f 00000004 00000001 00000007
53a0 00000000 00000000 00000001 c09453ac c09453ac 00000000 00000000 00000000
53c0 c09453c0 c09453c0 00000004 ffffffff 00000000 ffffffff 00000000 c008f840
53e0 c0943f7c 00000000 00000000 00000001 00000000 00000000 c09453f8 c09453f8
5400 00000000 00000000 00000001 00000000 00000000 c0945414 c0945414 00000000
5420 00000000 c080d140 c080d144 c080d14c c080d154 c080d15c c080d164 c080d174
R4: 0xd6019ae0:
9ae0 00000040 00000000 c0527dac c0894720 d6019b50 d6019a90 d6076720 00000000
9b00 d60772a0 d60771a0 d60770a0 d612cee0 0000001b 00000036 00000008 00000180
9b20 00aaaaab 00042000 0000000a 00000000 00000000 00000005 00000020 00000000
9b40 00000060 00000000 00000000 c0894bc8 d6019bb0 d6019af0 d6076760 00000000
9b60 d6128c00 d6128a00 d6128800 d6128600 0000003c 00000078 00000008 000000c0
9b80 01555556 00042000 00000014 00000000 00000000 00000004 00000020 00000000
9ba0 00000080 00000000 00000000 c0894bb4 d6019c10 d6019b50 d60767a0 00000000
9bc0 d6081a00 d6081800 d6081600 d6081400 0000003c 00000078 00000008 00000068
R6: 0xd6076720:
6720 d6076720 d6076720 d4a95040 d4004000 d6076730 d6076730 00000000 00000090
6740 00000003 00000000 00000000 d6025000 00000000 ffff9f85 00000001 f7ffafff
6760 d6076760 d6076760 d6076768 d6076768 d6076770 d6076770 00000000 00000091
6780 00000000 00000000 00000000 d6025400 00000000 ffff9f85 00000000 ffffbfff
67a0 d6d5f020 d6fe5040 d6137000 d6d23020 d60767b0 d60767b0 00000022 00000140
67c0 00000002 00000001 00000001 d612b800 00000000 ffff9f85 00000000 ffffffff
67e0 d60156e0 d6401b20 00000000 d612b000 00000002 ffffffff d6020000 00000001
6800 ffffffff fffffffe 00000000 00000000 00000000 00000000 00000000 00000000
R7: 0xd6128780:
8780 ffffffde ff9fffff ffffffff ffffffff efffffff ffffffff ffffffff 7fffffff
87a0 ffffffff ffffffff ffffffff f7ffffef fff7fbff fffffffb ffffffff ffffffff
87c0 ffeffffe fffff7ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
87e0 ffffffff ffffffff ffffffff ffffffff fffffbff fffffeff ffffffff ffffffff
8800 00000007 00000078 0000003c 00000001 00000000 00000000 d61378c0 d6137740
8820 d6137800 d6137980 d6137ec0 d6d5fca0 d6d5fd60 d6fe7b60 d6fe7920 d6fe76e0
8840 d6fe74a0 d6fe7260 d6fe7e60 d6fe7c20 d6fe79e0 d6fe7560 d6fe7320 d6137ec0
8860 d6137980 d6137800 d6137740 d61378c0 d6fe71a0 d6fe5480 d6fe5a80 d6fe5840
Process EventThread (pid: 2513, stack limit = 0xd25822f0)
Stack: (0xd2583c98 to 0xd2584000)
3c80: d6d5f020 c068ee08
3ca0: d2582000 d60767b0 000004d0 d60767c4 00000010 000004d0 c0046320 d6019b60
3cc0: 60070013 d6019b60 000004d0 d2582000 000004d0 c0531140 000004d0 c01306d0
3ce0: 0000006f c029862c 00000000 d2480080 00000018 d6019b60 00000000 000004d0
3d00: 00000000 c052beb4 000004d0 c0531140 ffffffff d2480080 00000000 00000000
3d20: 00000000 d2582000 c00acc48 c052beb4 d2583d7c 00000018 c00bdd34 01ffffff
3d40: 00000000 ffffffff 00000001 00000001 4eac46a0 d24802a0 d2583e00 d2583eec
3d60: d4176260 d2582000 00000000 d2480080 00000000 c052c00c d2583db4 00000000
3d80: d2583e00 c05e7834 d2480080 00000000 00000000 00000000 00000018 00000000
3da0: 00000000 00000000 00000000 00000000 00000000 ffffffa6 00000000 d644da60
3dc0: d61ec8c0 00000000 000008fa 000003e8 000003eb 0000006f 00000000 d4176260
3de0: 00000018 d2583eec d2583e00 00000000 00000000 00000000 401582ec c0528958
3e00: d2583e70 c00bea14 d2583e34 00000018 d4176260 40065338 d2583dbc d2583eec
3e20: d2582000 d2583f78 7fac5695 0000000c d2583ef8 c09c4aa0 00000064 d2583e3c
3e40: d2583e3c d2583e44 00000000 00000001 ffffffff 00000000 00000000 00000000
3e60: 00000000 00000000 d628b5c0 ffffffff 00000000 00000000 00000000 00000000
3e80: d2583e00 0000000c 7fab9345 0000000c c00b00e4 c134e4f8 00000000 000009d1
3ea0: 00000000 6e657645 00000000 c0135800 fffffff7 d2583edc d2583ee0 00000018
3ec0: 49c44d40 d4176260 00000000 00004040 d2582000 c052a5e8 00000000 fffffff7
3ee0: 00000001 49c44d40 00000018 00000000 00000000 d2583ee4 00000001 00000000
3f00: 00000000 00004040 00000000 00000000 00002235 00000000 643a8b45 00000000
3f20: 002c8a57 00000000 00002235 00000000 fffffff7 c09140c0 d43fbad8 00000000
3f40: 00000080 00000000 40065338 fffff462 d2582000 3b9aca00 00000000 c00c0940
3f60: 40065338 00000000 ffffffff 00000000 7fab9345 0000000c 7fab9345 0000000c
3f80: 00000001 00000000 40065338 00000000 00000000 00000018 00000122 c004da84
3fa0: 00000000 c004d900 00000000 00000000 00000021 49c44d40 00000018 00004040
3fc0: 00000000 00000000 00000018 00000122 400e199c 400e1d1b 00000000 401582ec
3fe0: 49c44cc8 49c44cb8 4013a5c1 4012d3ec 40070010 00000021 00000000 00000000
[<c0051070>] (__bug+0x1c/0x28) from [<c068ee08>] (cache_alloc_refill+0x16c/0x50c
)
[<c068ee08>] (cache_alloc_refill+0x16c/0x50c) from [<c01306d0>] (kmem_cache_allo
c+0xa8/0x14c)
[<c01306d0>] (kmem_cache_alloc+0xa8/0x14c) from [<c0531140>] (__alloc_skb+0x2c/0
xe0)
[<c0531140>] (__alloc_skb+0x2c/0xe0) from [<c052beb4>] (sock_alloc_send_pskb+0x1
90/0x2cc)
[<c052beb4>] (sock_alloc_send_pskb+0x190/0x2cc) from [<c052c00c>] (sock_alloc_se
nd_skb+0x1c/0x24)
[<c052c00c>] (sock_alloc_send_skb+0x1c/0x24) from [<c05e7834>] (unix_dgram_sendm
sg+0x260/0x618)
[<c05e7834>] (unix_dgram_sendmsg+0x260/0x618) from [<c0528958>] (sock_sendmsg+0x
c4/0xe4)
[<c0528958>] (sock_sendmsg+0xc4/0xe4) from [<c052a5e8>] (sys_sendto+0xb4/0xd8)
[<c052a5e8>] (sys_sendto+0xb4/0xd8) from [<c004d900>] (ret_fast_syscall+0x0/0x30
)
Code: e59f0010 e1a01003 eb18f256 e3a03000 (e5833000)
---[ end trace 4793e045f245c0d8 ]---
Kernel panic - not syncing: Fatal exception
[<c0055044>] (unwind_backtrace+0x0/0x138) from [<c068d8a8>] (panic+0x74/0x194)
[<c068d8a8>] (panic+0x74/0x194) from [<c00514d8>] (die+0x218/0x284)
[<c00514d8>] (die+0x218/0x284) from [<c068cd24>] (__do_kernel_fault.part.3+0x54/
0x74)
[<c068cd24>] (__do_kernel_fault.part.3+0x54/0x74) from [<c0058e10>] (do_page_fau
lt+0x2cc/0x334)
[<c0058e10>] (do_page_fault+0x2cc/0x334) from [<c0047424>] (do_DataAbort+0x34/0x
9c)
[<c0047424>] (do_DataAbort+0x34/0x9c) from [<c004d2d0>] (__dabt_svc+0x70/0xa0)
Exception stack(0xd2583c50 to 0xd2583c98)
3c40: 00000024 60070093 c09453c0 00000000
3c60: d6019b60 00100100 d60767a0 d6128800 00000035 00200200 00000014 d60767a8
3c80: d997a000 d2583c98 c005106c c0051070 60070093 ffffffff
[<c004d2d0>] (__dabt_svc+0x70/0xa0) from [<c0051070>] (__bug+0x1c/0x28)
[<c0051070>] (__bug+0x1c/0x28) from [<c068ee08>] (cache_alloc_refill+0x16c/0x50c
)
[<c068ee08>] (cache_alloc_refill+0x16c/0x50c) from [<c01306d0>] (kmem_cache_allo
c+0xa8/0x14c)
[<c01306d0>] (kmem_cache_alloc+0xa8/0x14c) from [<c0531140>] (__alloc_skb+0x2c/0
xe0)
[<c0531140>] (__alloc_skb+0x2c/0xe0) from [<c052beb4>] (sock_alloc_send_pskb+0x1
90/0x2cc)
[<c052beb4>] (sock_alloc_send_pskb+0x190/0x2cc) from [<c052c00c>] (sock_alloc_se
nd_skb+0x1c/0x24)
[<c052c00c>] (sock_alloc_send_skb+0x1c/0x24) from [<c05e7834>] (unix_dgram_sendm
sg+0x260/0x618)
[<c05e7834>] (unix_dgram_sendmsg+0x260/0x618) from [<c0528958>] (sock_sendmsg+0x
c4/0xe4)
[<c0528958>] (sock_sendmsg+0xc4/0xe4) from [<c052a5e8>] (sys_sendto+0xb4/0xd8)
[<c052a5e8>] (sys_sendto+0xb4/0xd8) from [<c004d900>] (ret_fast_syscall+0x0/0x30
)
CPU3: stopping
[<c0055044>] (unwind_backtrace+0x0/0x138) from [<c00473bc>] (do_IPI+0x1d4/0x208)
[<c00473bc>] (do_IPI+0x1d4/0x208) from [<c004d34c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xd6f43ea8 to 0xd6f43ef0)
3ea0: d60767c4 d60767a0 60070013 00000001 d6f42000 00000001
3ec0: 00000000 00000000 d6019b60 c0914080 00000000 c1356d14 ffff9f82 d6f43ef0
3ee0: c012f814 c0694c60 20070013 ffffffff
[<c004d34c>] (__irq_svc+0x4c/0xe8) from [<c0694c60>] (__raw_spin_lock_irqsave+0x
9c/0xb8)
[<c0694c60>] (__raw_spin_lock_irqsave+0x9c/0xb8) from [<c012f814>] (drain_array+
0x54/0xd0)
[<c012f814>] (drain_array+0x54/0xd0) from [<c012f910>] (cache_reap+0x80/0x134)
[<c012f910>] (cache_reap+0x80/0x134) from [<c00a7f48>] (process_one_work+0x12c/0
x494)
[<c00a7f48>] (process_one_work+0x12c/0x494) from [<c00a8420>] (worker_thread+0x1
70/0x3cc)
[<c00a8420>] (worker_thread+0x170/0x3cc) from [<c00ac514>] (kthread+0x80/0x88)
[<c00ac514>] (kthread+0x80/0x88) from [<c004e408>] (kernel_thread_exit+0x0/0x8)
CPU0: stopping
[<c0055044>] (unwind_backtrace+0x0/0x138) from [<c00473bc>] (do_IPI+0x1d4/0x208)
[<c00473bc>] (do_IPI+0x1d4/0x208) from [<c004d34c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xc0913f68 to 0xc0913fb0)
3f60: c09b4028 200d0093 00000001 00000000 c0912000 c09abac4
3f80: c0927a70 c06977e4 c09302ac 412fc09a 00000000 00000000 00000000 c0913fb0
3fa0: c005d304 c004e468 400d0013 ffffffff
[<c004d34c>] (__irq_svc+0x4c/0xe8) from [<c004e468>] (default_idle+0x24/0x28)
[<c004e468>] (default_idle+0x24/0x28) from [<c004e790>] (cpu_idle+0xe0/0x124)
[<c004e790>] (cpu_idle+0xe0/0x124) from [<c00088c0>] (start_kernel+0x2a0/0x2f0)
[<c00088c0>] (start_kernel+0x2a0/0x2f0) from [<10008040>] (0x10008040)
SMP: failed to stop secondary CPUs |