kernel crash on boot
cloc3 opened this issue · 6 comments
compiling these sources with the same config file of ubuntu - udoo official kernel, I had a failure on boot:
...
[ 1.063782] i2c-core: driver [max17135] using legacy suspend method
[ 1.070068] i2c-core: driver [max17135] using legacy resume method
[ 1.076297] Switching to clocksource mxc_timer1
[ 1.095727] Unable to handle kernel NULL pointer dereference at virtual address 00000010
[ 1.103867] pgd = 80004000
[ 1.106583] [00000010] *pgd=00000000
[ 1.110187] Internal error: Oops: 5 [#1] PREEMPT SMP
[ 1.115166] Modules linked in:
[ 1.118247] CPU: 0 Not tainted (3.0.35-udoo-g8a6eb06 #1)
[ 1.123941] PC is at set_inverse_trans_unicode.isra.4+0x64/0xe8
[ 1.129881] LR is at 0x0
[ 1.132424] pc : [<802ca5d0>] lr : [<00000000>] psr: 20000013
[ 1.132429] sp : bff8bef8 ip : 000000f8 fp : 00000001
[ 1.143945] r10: bfe3ba80 r9 : 00000000 r8 : 00000000
[ 1.149186] r7 : bff155ec r6 : 0000001b r5 : 000006c0 r4 : bfff6c00
[ 1.155731] r3 : 00000000 r2 : 0001fffe r1 : 0000000e r0 : 000003c6
[ 1.162279] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
...
here a complete pastebin: http://pastebin.com/raw.php?i=cW9FJ8Qz
I found here a similar problem:
https://lists.yoctoproject.org/pipermail/meta-freescale/2013-July/003524.html
may it be a gcc-4.8 issue?
So is there a way to fix this issue? I'm not sure how to apply those patches.
Just use newer gcc and you are fine.
I'm using 4.8.2 and having this is issue. Looking around that appears to be the latest version.
Use 4.9 from Linaro: https://eewiki.net/display/linuxonarm/UDOO#UDOO-ARMCrossCompiler:GCC