I am using my udoo to compile my arduino code. Mostly success, I compile the code multiple times a day. Today , I encounter this problem After this, system crash, not moving. ubuntu@udoobuntu: ~ $ cp udooversion2.ino udooversion3.ino ========= Compile the code from GUI =========Crash begin==============Button hang there. ubuntu@udoobuntu: ~ $ [10431.104380] Unable to handle kernel NULL pointer dereference at virtual address 00000000 [10431.112488] pgd = 80004000 [10431.114179] Unable to handle kernel NULL pointer dereference at virtual address 00000000 [10431.114188] pgd = 80004000 [10431.114194] [00000000] *pgd=00000000 [10431.114205] Internal error: Oops: 80000007 [#1] PREEMPT SMP [10431.114213] Modules linked in: vivante drm [10431.114227] CPU: 2 Not tainted (3.0.35 #2) [10431.114236] PC is at 0x0 [10431.114250] LR is at arch_idle+0xc0/0x104 [10431.114260] pc : [<00000000>] lr : [<8004f37c>] psr: 40000093 [10431.114265] sp : bffb5fd0 ip : 00000000 fp : 00000000 [10431.114272] r10: 00000000 r9 : 412fc09a r8 : 1000406a [10431.114280] r7 : 80b7efdc r6 : 805c2324 r5 : 80bca5a4 r4 : 8004f37c [10431.114289] r3 : 00000000 r2 : 00000001 r1 : 80000093 r0 : 80bd1ac0 [10431.114299] Flags: nZcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel [10431.114309] Control: 10c53c7d Table: 49a7c04a DAC: 00000015 [10431.114317] Process swapper (pid: 0, stack limit = 0xbffb42f0) [10431.114325] Stack: (0xbffb5fd0 to 0xbffb6000) [10431.114335] 5fc0: bffb4000 80041120 bffb4000 800417e0 [10431.114349] 5fe0: 4ffb806a 00000015 10c03c7d 80bca760 1000406a 105ba334 f2f2f2f2 f2f2f2f2 [10431.114378] [<8004f37c>] (arch_idle+0xc0/0x104) from [<800417e0>] (cpu_idle+0xc8/0x108) [10431.114393] [<800417e0>] (cpu_idle+0xc8/0x108) from [<105ba334>] (0x105ba334) [10431.114403] Code: bad PC value [10431.114460] ---[ end trace 2c4eb1cf8d48860a ]--- [10431.114471] Kernel panic - not syncing: Attempted to kill the idle task! [10431.114507] [<800475d4>] (unwind_backtrace+0x0/0xfc) from [<805bd250>] (panic+0x74/0x19c) [10431.114535] [<805bd250>] (panic+0x74/0x19c) from [<80079770>] (do_exit+0x70c/0x730) [10431.114557] [<80079770>] (do_exit+0x70c/0x730) from [<80044094>] (die+0x250/0x2c8) [10431.114578] [<80044094>] (die+0x250/0x2c8) from [<8004adf4>] (__do_kernel_fault+0x64/0x84) [10431.114594] [<8004adf4>] (__do_kernel_fault+0x64/0x84) from [<8004af94>] (do_page_fault+0x180/0x2e0) [10431.114624] [<8004af94>] (do_page_fault+0x180/0x2e0) from [<8003a368>] (do_PrefetchAbort+0x34/0x98) [10431.114642] [<8003a368>] (do_PrefetchAbort+0x34/0x98) from [<80040154>] (__pabt_svc+0x74/0xc0) [10431.114652] Exception stack(0xbffb5f88 to 0xbffb5fd0) [10431.114663] 5f80: 80bd1ac0 80000093 00000001 00000000 8004f37c 80bca5a4 [10431.114677] 5fa0: 805c2324 80b7efdc 1000406a 412fc09a 00000000 00000000 00000000 bffb5fd0 [10431.114687] 5fc0: 8004f37c 00000000 40000093 ffffffff [10431.114702] [<80040154>] (__pabt_svc+0x74/0xc0) from [<8004f37c>] (arch_idle+0xc0/0x104) [10431.114718] [<8004f37c>] (arch_idle+0xc0/0x104) from [<800417e0>] (cpu_idle+0xc8/0x108) [10431.114732] [<800417e0>] (cpu_idle+0xc8/0x108) from [<105ba334>] (0x105ba334) [10431.114744] CPU0: stopping [10431.114767] [<800475d4>] (unwind_backtrace+0x0/0xfc) from [<8003a26c>] (do_IPI+0x120/0x14c) [10431.114785] [<8003a26c>] (do_IPI+0x120/0x14c) from [<8003ffcc>] (__irq_svc+0x4c/0xe8) [10431.114794] Exception stack(0xa5c51d50 to 0xa5c51d98) [10431.114805] 1d40: 805c234c 00000005 f2a01000 00000001 [10431.114818] 1d60: a5c51dc4 8c011480 00000001 8c011480 0bfd8000 8c011488 00000001 805c2334 [10431.114830] 1d80: 00000001 a5c51d98 800464ac 800a55d8 200f0013 ffffffff [10431.114858] [<8003ffcc>] (__irq_svc+0x4c/0xe8) from [<800a55d8>] (generic_exec_single+0x6c/0x90) [10431.114879] [<800a55d8>] (generic_exec_single+0x6c/0x90) from [<800a5908>] (smp_call_function_single+0x1cc/0x1f4) [10431.114897] [<800a5908>] (smp_call_function_single+0x1cc/0x1f4) from [<80046e60>] (twd_cpufreq_transition+0x48/0x58) [10431.114922] [<80046e60>] (twd_cpufreq_transition+0x48/0x58) from [<80095df8>] (notifier_call_chain+0x44/0x84) [10431.114941] [<80095df8>] (notifier_call_chain+0x44/0x84) from [<80095f84>] (__srcu_notifier_call_chain+0x44/0x60) [10431.114958] [<80095f84>] (__srcu_notifier_call_chain+0x44/0x60) from [<80095fb8>] (srcu_notifier_call_chain+0x18/0x20) [10431.114978] [<80095fb8>] (srcu_notifier_call_chain+0x18/0x20) from [<803f0694>] (cpufreq_notify_transition+0xa0/0xe0) [10431.114997] [<803f0694>] (cpufreq_notify_transition+0xa0/0xe0) from [<8006446c>] (mxc_set_target+0x1b4/0x2b4) [10431.115026] [<8006446c>] (mxc_set_target+0x1b4/0x2b4) from [<803ef954>] (__cpufreq_driver_target+0x54/0x60) [10431.115047] [<803ef954>] (__cpufreq_driver_target+0x54/0x60) from [<803f2e00>] (do_dbs_timer+0x480/0x498) [10431.115068] [<803f2e00>] (do_dbs_timer+0x480/0x498) from [<8008c538>] (process_one_work+0x108/0x3e4) [10431.115084] [<8008c538>] (process_one_work+0x108/0x3e4) from [<8008cc18>] (worker_thread+0x148/0x450) [10431.115105] [<8008cc18>] (worker_thread+0x148/0x450) from [<80090708>] (kthread+0x84/0x8c) [10431.115122] [<80090708>] (kthread+0x84/0x8c) from [<80041080>] (kernel_thread_exit+0x0/0x8) [10431.115134] CPU3: stopping [10431.115156] [<800475d4>] (unwind_backtrace+0x0/0xfc) from [<8003a26c>] (do_IPI+0x120/0x14c) [10431.115175] [<8003a26c>] (do_IPI+0x120/0x14c) from [<80040268>] (__irq_usr+0x48/0xe0) [10431.115184] Exception stack(0xa5ccffb0 to 0xa5ccfff8) [10431.115194] ffa0: 7ee9c948 00671678 00000002 2ac9c451 [10431.115208] ffc0: 00000000 7ee9c948 00671678 7ee9c3e0 00000002 006710e8 00000002 2ab396e0 [10431.115220] ffe0: fffffffe 7ee9c3d8 2ac7e3fd 2ac9c450 200f0030 ffffffff [10431.586036] [00000000] *pgd=00000000 [10431.589629] Internal error: Oops: 80000007 [#2] PREEMPT SMP [10431.595204] Modules linked in: vivante drm [10431.599344] CPU: 1 Tainted: G D (3.0.35 #2) [10431.604660] PC is at 0x0 [10431.607198] LR is at arch_idle+0xc0/0x104 [10431.611213] pc : [<00000000>] lr : [<8004f37c>] psr: 400f00b3 [10431.611218] sp : bffadfd0 ip : 00000000 fp : 00000000 [10431.622708] r10: 00000000 r9 : 412fc09a r8 : 1000406a [10431.627937] r7 : 80b7efdc r6 : 805c2324 r5 : 80bca5a4 r4 : 8004f37c [10431.634467] r3 : 00000000 r2 : 00000001 r1 : 800f0093 r0 : 80bd1ac0 [10431.640999] Flags: nZcv IRQs off FIQs on Mode SVC_32 ISA Thumb Segment kernel [10431.648573] Control: 10c53c7d Table: 4ada404a DAC: 00000015 [10431.654323] Process swapper (pid: 0, stack limit = 0xbffac2f0) [10431.660159] Stack: (0xbffadfd0 to 0xbffae000) [10431.664521] dfc0: bffac000 80041120 bffac000 800417e0 [10431.672706] dfe0: 4ffb006a 00000015 10c03c7d 80bca760 1000406a 105ba334 f2f2f2f2 f2f2f2f2 [10431.680897] [<8004f37c>] (arch_idle+0xc0/0x104) from [<800417e0>] (cpu_idle+0xc8/0x108) [10431.688910] [<800417e0>] (cpu_idle+0xc8/0x108) from [<105ba334>] (0x105ba334) [10431.696051] Code: bad PC value [10431.699122] CPU1: stopping [10431.701844] [<800475d4>] (unwind_backtrace+0x0/0xfc) from [<8003a26c>] (do_IPI+0x120/0x14c) [10431.710207] [<8003a26c>] (do_IPI+0x120/0x14c) from [<8003ffcc>] (__irq_svc+0x4c/0xe8) [10431.718040] Exception stack(0xbffadd88 to 0xbffaddd0) [10431.723098] dd80: 80bca724 80bcb7f0 00000080 00000000 bffac000 00000000 [10431.731284] dda0: fffffffc fffffff8 bffadde8 fffffff0 00000020 bffadde8 00000000 bffaddd0 [10431.739466] ddc0: 80043f00 805bffa8 600f0113 ffffffff [10431.744529] [<8003ffcc>] (__irq_svc+0x4c/0xe8) from [<805bffa8>] (_raw_spin_unlock_irq+0x18/0x40) [10431.753414] [<805bffa8>] (_raw_spin_unlock_irq+0x18/0x40) from [<80043f00>] (die+0xbc/0x2c8) [10431.761863] [<80043f00>] (die+0xbc/0x2c8) from [<8004adf4>] (__do_kernel_fault+0x64/0x84) [10431.770051] [<8004adf4>] (__do_kernel_fault+0x64/0x84) from [<8004af94>] (do_page_fault+0x180/0x2e0) [10431.779196] [<8004af94>] (do_page_fault+0x180/0x2e0) from [<8003a368>] (do_PrefetchAbort+0x34/0x98) [10431.788253] [<8003a368>] (do_PrefetchAbort+0x34/0x98) from [<80040154>] (__pabt_svc+0x74/0xc0) [10431.796867] Exception stack(0xbffadf88 to 0xbffadfd0) [10431.801925] df80: 80bd1ac0 800f0093 00000001 00000000 8004f37c 80bca5a4 [10431.810110] dfa0: 805c2324 80b7efdc 1000406a 412fc09a 00000000 00000000 00000000 bffadfd0 [10431.818292] dfc0: 8004f37c 00000000 400f00b3 ffffffff [10431.823352] [<80040154>] (__pabt_svc+0x74/0xc0) from [<8004f37c>] (arch_idle+0xc0/0x104) [10431.831452] [<8004f37c>] (arch_idle+0xc0/0x104) from [<800417e0>] (cpu_idle+0xc8/0x108) [10431.839464] [<800417e0>] (cpu_idle+0xc8/0x108) from [<105ba334>] (0x105ba334) Since I encounter kernel issue very frequent, does anyone know if arduino still working after this system crash?
Imho yes. If the i.MX6 continues to run the arduino side runs as well even if the system is in crash.