I am pretty sure this is a GCC 4.8 issue I have almost identical log when compiling an msm-8960 kernel with GCC-4.8 [ 0.350923,0] Unable to handle kernel NULL pointer dereference at virtual address 00000001 [ 0.351014,0] pgd = c0004000 [ 0.351136,0] [00000001] *pgd=00000000 [ 0.351258,0] Internal error: Oops: 5 [#1] PREEMPT SMP [ 0.351350,0] Modules linked in: [ 0.351533,0] CPU: 0 Not tainted (3.0.31-ge95971c #1) [ 0.351594,0] PC is at kmem_cache_alloc_trace+0xa4/0x1a0 [ 0.351747,0] LR is at con_insert_unipair+0xa0/0xec [ 0.351808,0] pc : [] lr : [] psr: 60000093 [ 0.351808,0] sp : c8c45ef8 ip : c0c29d38 fp : 00000000 [ 0.352021,0] r10: 00002cf8 r9 : 00000080 r8 : c0410a18 [ 0.352083,0] r7 : c8c44038 r6 : 000000d0 r5 : c8c00200 r4 : 00000001 [ 0.352205,0] r3 : c8c44000 r2 : 20000013 r1 : 028ac000 r0 : c0053540 [ 0.352327,0] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel [ 0.352418,0] Control: 10c5787d Table: 8020406a DAC: 00000015
Kernel compiles and boots fine with GCC 4.7. https://github.com/razrqcom-dev-team/android_kernel_motorola_msm8960-common/tree/cm-10.1-gcc47
I know this is off topic but hopefully it helps get to the bottom of the root issue with GCC 4.8 and arm cross-compile
I am pretty sure this is a GCC 4.8 issue I have almost identical log when compiling an msm-8960 kernel with GCC-4.8 alloc_trace+ 0xa4/0x1a0 unipair+ 0xa0/0xec
[ 0.350923,0] Unable to handle kernel NULL pointer dereference at virtual address 00000001
[ 0.351014,0] pgd = c0004000
[ 0.351136,0] [00000001] *pgd=00000000
[ 0.351258,0] Internal error: Oops: 5 [#1] PREEMPT SMP
[ 0.351350,0] Modules linked in:
[ 0.351533,0] CPU: 0 Not tainted (3.0.31-ge95971c #1)
[ 0.351594,0] PC is at kmem_cache_
[ 0.351747,0] LR is at con_insert_
[ 0.351808,0] pc : [] lr : [] psr: 60000093
[ 0.351808,0] sp : c8c45ef8 ip : c0c29d38 fp : 00000000
[ 0.352021,0] r10: 00002cf8 r9 : 00000080 r8 : c0410a18
[ 0.352083,0] r7 : c8c44038 r6 : 000000d0 r5 : c8c00200 r4 : 00000001
[ 0.352205,0] r3 : c8c44000 r2 : 20000013 r1 : 028ac000 r0 : c0053540
[ 0.352327,0] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 0.352418,0] Control: 10c5787d Table: 8020406a DAC: 00000015
Kernel compiles and boots fine with GCC 4.7. /github. com/razrqcom- dev-team/ android_ kernel_ motorola_ msm8960- common/ tree/cm- 10.1-gcc47
https:/
I know this is off topic but hopefully it helps get to the bottom of the root issue with GCC 4.8 and arm cross-compile