<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: How to identify the reason for memory corruption using Kernel Panic log?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-identify-the-reason-for-memory-corruption-using-Kernel/m-p/749573#M116663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;When&amp;nbsp;do you run into these kernel panics ? Is this reproducible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anuradha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 18:31:14 GMT</pubDate>
    <dc:creator>tengri</dc:creator>
    <dc:date>2018-06-14T18:31:14Z</dc:date>
    <item>
      <title>How to identify the reason for memory corruption using Kernel Panic log?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-identify-the-reason-for-memory-corruption-using-Kernel/m-p/749571#M116661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;My custom hardware is based on imax6q processor.&amp;nbsp;&lt;SPAN style="color: #51626f;"&gt;Kernel I'm using - Linux-boundary 4.1.15.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;I'm getting kernel panics while running linux application on my custom hardware design. So how can I debug this to clarify whether this is a hardware related&amp;nbsp; or software problem ? Or how to address which memory is corrupting ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Presently I'm using &lt;STRONG&gt;&amp;gt;&amp;gt;addr2line -e vmlinux_with_debug_info&amp;nbsp;&lt;SPAN style="border: 0px; font-size: 14px;"&gt; &lt;STRONG&gt;804a47e8&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;lt;&amp;lt; t&lt;/STRONG&gt;o decode kernel panic message. But it only shows the kernel source when the panic occur(Where program counter stopped)&amp;nbsp;.&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;1) As an example from the following kernel log when I decode [&lt;STRONG&gt;804a47e8&lt;/STRONG&gt;] it only give the kernel source. So do you know how to identify the which memory is going to corrupt ?&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Ex :&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Using addr2line&amp;gt;&amp;gt;&lt;/P&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;root@osboxes:/home/debug# addr2line -e vmlinux 804a47e8&lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;/yocto/fsl-community-bsp/build/workspace/sources/linux-boundary/lib/rbtree.c:457&lt;/DIV&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So the source is rbtree.c and line 457 is going to crash.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (node-&amp;gt;rb_right) {&lt;BR /&gt; node = node-&amp;gt;rb_right; &lt;BR /&gt; while (node-&amp;gt;rb_left) **//Line 457**&lt;BR /&gt; node=node-&amp;gt;rb_left;&lt;BR /&gt; return (struct rb_node *)node;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In file entry-armv.S line 1219 is pointing from addr2line&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vectors_start:&lt;BR /&gt; &amp;gt;&amp;gt;W(b) vector_rst **//Line 1219**&lt;BR /&gt; W(b) vector_und&lt;BR /&gt; W(ldr) pc, __vectors_start + 0x1000&lt;BR /&gt; W(b) vector_pabt&lt;BR /&gt; W(b) vector_dabt&lt;BR /&gt; W(b) vector_addrexcptn&lt;BR /&gt; W(b) vector_irq&lt;BR /&gt; W(b) vector_fiq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Like this I could identify some file like;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #222222; font-size: small;"&gt;entry-armv.S&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="background-color: #ffffff; color: #222222; font-size: small;"&gt;timerqueue.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #222222; font-size: small;"&gt;thread_info.h&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="background-color: #ffffff; color: #222222; font-size: small;"&gt;spinlock.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="background-color: #ffffff; color: #222222; font-size: small;"&gt;&lt;STRONG&gt;2) If the kernel panic log point the above files when the panic happen what we can figure-out from this ? Can we find why the memory is going to corrupt and the reason with this information ?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;Peter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-size: 14px;"&gt;&lt;STRONG&gt;Kernel Panic Log&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[ 6814.239517] Unable to handle kernel NULL pointer dereference at virtual address 00000408&lt;BR /&gt;[ 6814.247646] pgd = 80004000&lt;BR /&gt;[ 6814.250364] [00000408] *pgd=00000000&lt;BR /&gt;[ 6814.253979] Internal error: Oops: 17 [#1] PREEMPT SMP ARM&lt;BR /&gt;[ 6814.259387] Modules linked in: mxc_v4l2_capture ipu_bg_overlay_sdc tw6869 videobuf2_dma_contig ipu_still ipu_prp_enc videobuf2_memops ipu_csi_enc adv7610_video ipu_fg_overlay_sdc v4l2_int_device galcore(O)[ 6814.276790] DEBUG: ADV7610 HDMI cable detected TENGRI-RC&lt;BR /&gt;[ 6814.280811] DEBUG: ADV7610 read 1280x720p&lt;BR /&gt;[ 6814.282531] DEBUG: ADV7610 returned 1280x720p@61&lt;/P&gt;&lt;P&gt;[ 6814.291626]&lt;BR /&gt;[ 6814.293327] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G O 4.1.15-2.0.0-ga+yocto+gff4e28b #1&lt;BR /&gt;[ 6814.302558] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[ 6814.309096] task: ce11b200 ti: ce14a000 task.ti: ce14a000&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.314520] PC is at rb_next+0x2c/0x6c&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.318282] LR is at timerqueue_del+0x48/0x80&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.322647] pc : [&amp;lt;804a47e8&amp;gt;] lr : [&amp;lt;804a7128&amp;gt;] psr: 20030193&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.322647] sp : ce14bd80 ip : ce14bd90 fp : ce14bd8c&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.334128] r10: 00000002 r9 : 00000001 r8 : ce14be40&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.339356] r7 : d0f0f650 r6 : 00000000 r5 : d0f0f404 r4 : d0f0f650&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.345887] r3 : 00000400 r2 : d0f0f650 r1 : d0f0f650 r0 : 00000400&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.352419] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.359819] Control: 10c5387d Table: 5e96404a DAC: 00000015&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.365569] Process swapper/1 (pid: 0, stack limit = 0xce14a210)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.371580] Stack: (0xce14bd80 to 0xce14c000)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.375945] bd80: ce14bdac ce14bd90 804a7128 804a47c8 d0f0f650 d0f0f3f8 00000000 d0f0f650&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.384128] bda0: ce14bddc ce14bdb0 8018fa6c 804a70ec 00000000 d0f0f650 00000632 d0f0f3f8&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.392311] bdc0: d0f0f3c0 ce14be40 00000001 d0f0f4d8 ce14be04 ce14bde0 8019025c 8018fa30&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.400494] bde0: 8a653461 00000632 d0f0f3f8 00000000 d0f0f3c0 00000001 ce14be7c ce14be08&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.408677] be00: 80190894 80190210 8a653461 00000632 80e02508 d0f0f4d0 d0f0f498 d0f0f460&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.416860] be20: 00000003 d0f0f3f8 ffffffff 7fffffff 8a653461 00000632 8a653461 00000632&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.425042] be40: 8a653461 00000632 ce14be6c dc8ba30f 00008648 80d98648 80d99c34 00000001&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.433225] be60: 80e88b48 00000000 00000001 80e02508 ce14be94 ce14be80 801a061c 80190768&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.441407] be80: 80d99c34 80d99c34 ce14bec4 ce14be98 8010ff50 801a05e0 ce14bee8 f4a0010c&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.449590] bea0: 80e02f7c ce14bee8 f4a00100 d0f11ed0 80e08b14 80e02508 ce14bee4 ce14bec8&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.457772] bec0: 80101594 8010fd60 806fb0b0 60030013 ffffffff ce14bf1c ce14bf8c ce14bee8&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.465955] bee0: 8010d240 80101538 00000000 80ed4c20 dc8ba30f dc8ba30f 89d010b1 00000632&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.474137] bf00: 80e89160 00000004 d0f11ed0 80e08b14 80e02508 ce14bf8c ce14bed0 ce14bf30&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.482320] bf20: 80944994 806fb0b0 60030013 ffffffff 8a652374 00000632 89d010b1 00000632&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.490502] bf40: 00000004 00000000 0094f441 00000001 8a652374 00000632 00000000 dc8ba30f&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.498685] bf60: 80d97320 ce14a000 80e025e8 80e89160 d0f11ed0 80e08a74 80a02970 ce14bfa0&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.506868] bf80: ce14bf9c ce14bf90 806fb390 806faffc ce14bfdc ce14bfa0 80171a74 806fb378&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.515050] bfa0: 80d9b880 80d9b880 00000000 80e02e00 80e025f0 80e888ea 00000001 80c137fc&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.523233] bfc0: 80d9aec8 80d97300 10c0387d 80e8e35c ce14bff4 ce14bfe0 8010fae0 801717d8&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.531416] bfe0: 5e13006a 00000015 00000000 ce14bff8 1010162c 8010f994 5b3c779b 85ac6ed7&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.539594] Backtrace:&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;[ 6814.542068] [&amp;lt;804a47bc&amp;gt;] (rb_next) from [&amp;lt;804a7128&amp;gt;] (timerqueue_del+0x48/0x8&lt;/STRONG&gt;&lt;/EM&gt;0)&lt;BR /&gt;[ 6814.549393] [&amp;lt;804a70e0&amp;gt;] (timerqueue_del) from [&amp;lt;8018fa6c&amp;gt;] (__remove_hrtimer+0x48/0xdc)&lt;BR /&gt;[ 6814.557487] r7:d0f0f650 r6:00000000 r5:d0f0f3f8 r4:d0f0f650&lt;BR /&gt;[ 6814.563218] [&amp;lt;8018fa24&amp;gt;] (__remove_hrtimer) from [&amp;lt;8019025c&amp;gt;] (__run_hrtimer+0x58/0x284)&lt;BR /&gt;[ 6814.571310] r10:d0f0f4d8 r9:00000001 r8:ce14be40 r7:d0f0f3c0 r6:d0f0f3f8 r5:00000632&lt;BR /&gt;[ 6814.579220] r4:d0f0f650 r3:00000000&lt;BR /&gt;[ 6814.582837] [&amp;lt;80190204&amp;gt;] (__run_hrtimer) from [&amp;lt;80190894&amp;gt;] (hrtimer_interrupt+0x138/0x344)&lt;BR /&gt;[ 6814.591104] r9:00000001 r8:d0f0f3c0 r7:00000000 r6:d0f0f3f8 r5:00000632 r4:8a653461&lt;BR /&gt;[ 6814.598940] [&amp;lt;8019075c&amp;gt;] (hrtimer_interrupt) from [&amp;lt;801a061c&amp;gt;] (tick_receive_broadcast+0x48/0x60)&lt;BR /&gt;[ 6814.607813] r10:80e02508 r9:00000001 r8:00000000 r7:80e88b48 r6:00000001 r5:80d99c34&lt;BR /&gt;[ 6814.615721] r4:80d98648&lt;BR /&gt;[ 6814.618283] [&amp;lt;801a05d4&amp;gt;] (tick_receive_broadcast) from [&amp;lt;8010ff50&amp;gt;] (handle_IPI+0x1fc/0x2f8)&lt;BR /&gt;[ 6814.626723] r5:80d99c34 r4:80d99c34&lt;BR /&gt;[ 6814.630337] [&amp;lt;8010fd54&amp;gt;] (handle_IPI) from [&amp;lt;80101594&amp;gt;] (gic_handle_irq+0x68/0x6c)&lt;BR /&gt;[ 6814.637909] r10:80e02508 r9:80e08b14 r8:d0f11ed0 r7:f4a00100 r6:ce14bee8 r5:80e02f7c&lt;BR /&gt;[ 6814.645818] r4:f4a0010c r3:ce14bee8&lt;BR /&gt;[ 6814.649431] [&amp;lt;8010152c&amp;gt;] (gic_handle_irq) from [&amp;lt;8010d240&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;[ 6814.656917] Exception stack(0xce14bee8 to 0xce14bf30)&lt;BR /&gt;[ 6814.661974] bee0: 00000000 80ed4c20 dc8ba30f dc8ba30f 89d010b1 00000632&lt;BR /&gt;[ 6814.670157] bf00: 80e89160 00000004 d0f11ed0 80e08b14 80e02508 ce14bf8c ce14bed0 ce14bf30&lt;BR /&gt;[ 6814.678338] bf20: 80944994 806fb0b0 60030013 ffffffff&lt;BR /&gt;[ 6814.683392] r7:ce14bf1c r6:ffffffff r5:60030013 r4:806fb0b0&lt;BR /&gt;[ 6814.689129] [&amp;lt;806faff0&amp;gt;] (cpuidle_enter_state) from [&amp;lt;806fb390&amp;gt;] (cpuidle_enter+0x24/0x28)&lt;BR /&gt;[ 6814.697395] r10:ce14bfa0 r9:80a02970 r8:80e08a74 r7:d0f11ed0 r6:80e89160 r5:80e025e8&lt;BR /&gt;[ 6814.705304] r4:ce14a000&lt;BR /&gt;[ 6814.707865] [&amp;lt;806fb36c&amp;gt;] (cpuidle_enter) from [&amp;lt;80171a74&amp;gt;] (cpu_startup_entry+0x2a8/0x43c)&lt;BR /&gt;[ 6814.716137] [&amp;lt;801717cc&amp;gt;] (cpu_startup_entry) from [&amp;lt;8010fae0&amp;gt;] (secondary_start_kernel+0x158/0x164)&lt;BR /&gt;[ 6814.725184] r7:80e8e35c&lt;BR /&gt;[ 6814.727743] [&amp;lt;8010f988&amp;gt;] (secondary_start_kernel) from [&amp;lt;1010162c&amp;gt;] (0x1010162c)&lt;BR /&gt;[ 6814.735142] r5:00000015 r4:5e13006a&lt;BR /&gt;[ 6814.738754] Code: e5923004 e3530000 0a000004 e1a00003 (e5933008)&lt;BR /&gt;[ 6814.744855] ---[ end trace 4a16766634a9d08f ]---&lt;BR /&gt;[ 6814.749478] Kernel panic - not syncing: Fatal exception in interrupt&lt;BR /&gt;[ 6814.755842] CPU0: stopping&lt;BR /&gt;[ 6814.758566] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D O 4.1.15-2.0.0-ga+yocto+gff4e28b #1&lt;BR /&gt;[ 6814.767789] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[ 6814.774320] Backtrace:&lt;BR /&gt;[ 6814.776799] [&amp;lt;8010c358&amp;gt;] (dump_backtrace) from [&amp;lt;8010c5d4&amp;gt;] (show_stack+0x20/0x24)&lt;BR /&gt;[ 6814.784372] r7:80e88b48 r6:80e45d94 r5:00000000 r4:80e45d94&lt;BR /&gt;[ 6814.790107] [&amp;lt;8010c5b4&amp;gt;] (show_stack) from [&amp;lt;8093ee58&amp;gt;] (dump_stack+0x7c/0xbc)&lt;BR /&gt;[ 6814.797338] [&amp;lt;8093eddc&amp;gt;] (dump_stack) from [&amp;lt;80110038&amp;gt;] (handle_IPI+0x2e4/0x2f8)&lt;BR /&gt;[ 6814.804737] r7:80e88b48 r6:00000005 r5:80d99c34 r4:80d99c34&lt;BR /&gt;[ 6814.810469] [&amp;lt;8010fd54&amp;gt;] (handle_IPI) from [&amp;lt;80101594&amp;gt;] (gic_handle_irq+0x68/0x6c)&lt;BR /&gt;[ 6814.818041] r10:80e02508 r9:80e08b14 r8:d0f04ed0 r7:f4a00100 r6:80e01e98 r5:80e02f7c&lt;BR /&gt;[ 6814.825955] r4:f4a0010c r3:80e01e98&lt;BR /&gt;[ 6814.829571] [&amp;lt;8010152c&amp;gt;] (gic_handle_irq) from [&amp;lt;8010d240&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;[ 6814.837057] Exception stack(0x80e01e98 to 0x80e01ee0)&lt;BR /&gt;[ 6814.842114] 1e80: 00000000 d0f084c0&lt;BR /&gt;[ 6814.850299] 1ea0: dc8ba30f dc8ba30f a8cb74e4 00000632 80e89160 00000004 d0f04ed0 80e08b14&lt;BR /&gt;[ 6814.858483] 1ec0: 80e02508 80e01f3c 80e01e80 80e01ee0 80944994 806fb0b0 600f0013 ffffffff&lt;BR /&gt;[ 6814.866662] r7:80e01ecc r6:ffffffff r5:600f0013 r4:806fb0b0&lt;BR /&gt;[ 6814.872399] [&amp;lt;806faff0&amp;gt;] (cpuidle_enter_state) from [&amp;lt;806fb390&amp;gt;] (cpuidle_enter+0x24/0x28)&lt;BR /&gt;[ 6814.880665] r10:80e01f50 r9:80a02970 r8:80e08a74 r7:d0f04ed0 r6:80e89160 r5:80e025e8&lt;BR /&gt;[ 6814.888581] r4:80e00000&lt;BR /&gt;[ 6814.891140] [&amp;lt;806fb36c&amp;gt;] (cpuidle_enter) from [&amp;lt;80171a74&amp;gt;] (cpu_startup_entry+0x2a8/0x43c)&lt;BR /&gt;[ 6814.899418] [&amp;lt;801717cc&amp;gt;] (cpu_startup_entry) from [&amp;lt;8093cb20&amp;gt;] (rest_init+0x98/0x9c)&lt;BR /&gt;[ 6814.907165] r7:80e02500&lt;BR /&gt;[ 6814.909731] [&amp;lt;8093ca88&amp;gt;] (rest_init) from [&amp;lt;80d00d9c&amp;gt;] (start_kernel+0x404/0x424)&lt;BR /&gt;[ 6814.917216] r5:80e8e000 r4:80e8e04c&lt;BR /&gt;[ 6814.920833] [&amp;lt;80d00998&amp;gt;] (start_kernel) from [&amp;lt;1000807c&amp;gt;] (0x1000807c)&lt;BR /&gt;[ 6814.927366] CPU3: stopping&lt;BR /&gt;[ 6814.930085] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D O 4.1.15-2.0.0-ga+yocto+gff4e28b #1&lt;BR /&gt;[ 6814.939309] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[ 6814.945839] Backtrace:&lt;BR /&gt;[ 6814.948315] [&amp;lt;8010c358&amp;gt;] (dump_backtrace) from [&amp;lt;8010c5d4&amp;gt;] (show_stack+0x20/0x24)&lt;BR /&gt;[ 6814.955888] r7:80e88b48 r6:80e45d94 r5:00000000 r4:80e45d94&lt;BR /&gt;[ 6814.961621] [&amp;lt;8010c5b4&amp;gt;] (show_stack) from [&amp;lt;8093ee58&amp;gt;] (dump_stack+0x7c/0xbc)&lt;BR /&gt;[ 6814.968852] [&amp;lt;8093eddc&amp;gt;] (dump_stack) from [&amp;lt;80110038&amp;gt;] (handle_IPI+0x2e4/0x2f8)&lt;BR /&gt;[ 6814.976250] r7:80e88b48 r6:00000005 r5:80d99c34 r4:80d99c34&lt;BR /&gt;[ 6814.981983] [&amp;lt;8010fd54&amp;gt;] (handle_IPI) from [&amp;lt;80101594&amp;gt;] (gic_handle_irq+0x68/0x6c)&lt;BR /&gt;[ 6814.989555] r10:80e02508 r9:80e08b14 r8:d0f2bed0 r7:f4a00100 r6:ce14fee8 r5:80e02f7c&lt;BR /&gt;[ 6814.997471] r4:f4a0010c r3:ce14fee8&lt;BR /&gt;[ 6815.001087] [&amp;lt;8010152c&amp;gt;] (gic_handle_irq) from [&amp;lt;8010d240&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;[ 6815.008572] Exception stack(0xce14fee8 to 0xce14ff30)&lt;BR /&gt;[ 6815.013631] fee0: 00000000 d0f2f4c0 dc8ba30f dc8ba30f a8cc0d3c 00000632&lt;BR /&gt;[ 6815.021815] ff00: 80e89160 00000004 d0f2bed0 80e08b14 80e02508 ce14ff8c ce14fed0 ce14ff30&lt;BR /&gt;[ 6815.029996] ff20: 80944994 806fb0b0 60010013 ffffffff&lt;BR /&gt;[ 6815.035050] r7:ce14ff1c r6:ffffffff r5:60010013 r4:806fb0b0&lt;BR /&gt;[ 6815.040786] [&amp;lt;806faff0&amp;gt;] (cpuidle_enter_state) from [&amp;lt;806fb390&amp;gt;] (cpuidle_enter+0x24/0x28)&lt;BR /&gt;[ 6815.049052] r10:ce14ffa0 r9:80a02970 r8:80e08a74 r7:d0f2bed0 r6:80e89160 r5:80e025e8&lt;BR /&gt;[ 6815.056967] r4:ce14e000&lt;BR /&gt;[ 6815.059525] [&amp;lt;806fb36c&amp;gt;] (cpuidle_enter) from [&amp;lt;80171a74&amp;gt;] (cpu_startup_entry+0x2a8/0x43c)&lt;BR /&gt;[ 6815.067798] [&amp;lt;801717cc&amp;gt;] (cpu_startup_entry) from [&amp;lt;8010fae0&amp;gt;] (secondary_start_kernel+0x158/0x164)&lt;BR /&gt;[ 6815.076846] r7:80e8e35c&lt;BR /&gt;[ 6815.079404] [&amp;lt;8010f988&amp;gt;] (secondary_start_kernel) from [&amp;lt;1010162c&amp;gt;] (0x1010162c)&lt;BR /&gt;[ 6815.086803] r5:00000015 r4:5e13006a&lt;BR /&gt;[ 6815.090414] CPU2: stopping&lt;BR /&gt;[ 6815.093135] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D O 4.1.15-2.0.0-ga+yocto+gff4e28b #1&lt;BR /&gt;[ 6815.102358] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[ 6815.108888] Backtrace:&lt;BR /&gt;[ 6815.111364] [&amp;lt;8010c358&amp;gt;] (dump_backtrace) from [&amp;lt;8010c5d4&amp;gt;] (show_stack+0x20/0x24)&lt;BR /&gt;[ 6815.118937] r7:80e88b48 r6:80e45d94 r5:00000000 r4:80e45d94&lt;BR /&gt;[ 6815.124669] [&amp;lt;8010c5b4&amp;gt;] (show_stack) from [&amp;lt;8093ee58&amp;gt;] (dump_stack+0x7c/0xbc)&lt;BR /&gt;[ 6815.131901] [&amp;lt;8093eddc&amp;gt;] (dump_stack) from [&amp;lt;80110038&amp;gt;] (handle_IPI+0x2e4/0x2f8)&lt;BR /&gt;[ 6815.139300] r7:80e88b48 r6:00000005 r5:80d99c34 r4:80d99c34&lt;BR /&gt;[ 6815.145032] [&amp;lt;8010fd54&amp;gt;] (handle_IPI) from [&amp;lt;80101594&amp;gt;] (gic_handle_irq+0x68/0x6c)&lt;BR /&gt;[ 6815.152604] r10:80e02508 r9:80e08b14 r8:d0f1eed0 r7:f4a00100 r6:ce14dee8 r5:80e02f7c&lt;BR /&gt;[ 6815.160519] r4:f4a0010c r3:ce14dee8&lt;BR /&gt;[ 6815.164134] [&amp;lt;8010152c&amp;gt;] (gic_handle_irq) from [&amp;lt;8010d240&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;[ 6815.171620] Exception stack(0xce14dee8 to 0xce14df30)&lt;BR /&gt;[ 6815.176679] dee0: 00000000 d0f224c0 dc8ba30f dc8ba30f a87f549c 00000632&lt;BR /&gt;[ 6815.184863] df00: 80e89160 00000004 d0f1eed0 80e08b14 80e02508 ce14df8c ce14ded0 ce14df30&lt;BR /&gt;[ 6815.193044] df20: 80944994 806fb0b0 60010013 ffffffff&lt;BR /&gt;[ 6815.198099] r7:ce14df1c r6:ffffffff r5:60010013 r4:806fb0b0&lt;BR /&gt;[ 6815.203834] [&amp;lt;806faff0&amp;gt;] (cpuidle_enter_state) from [&amp;lt;806fb390&amp;gt;] (cpuidle_enter+0x24/0x28)&lt;BR /&gt;[ 6815.212100] r10:ce14dfa0 r9:80a02970 r8:80e08a74 r7:d0f1eed0 r6:80e89160 r5:80e025e8&lt;BR /&gt;[ 6815.220015] r4:ce14c000&lt;BR /&gt;[ 6815.222574] [&amp;lt;806fb36c&amp;gt;] (cpuidle_enter) from [&amp;lt;80171a74&amp;gt;] (cpu_startup_entry+0x2a8/0x43c)&lt;BR /&gt;[ 6815.230847] [&amp;lt;801717cc&amp;gt;] (cpu_startup_entry) from [&amp;lt;8010fae0&amp;gt;] (secondary_start_kernel+0x158/0x164)&lt;BR /&gt;[ 6815.239895] r7:80e8e35c&lt;BR /&gt;[ 6815.242453] [&amp;lt;8010f988&amp;gt;] (secondary_start_kernel) from [&amp;lt;1010162c&amp;gt;] (0x1010162c)&lt;BR /&gt;[ 6815.249852] r5:00000015 r4:5e13006a&lt;BR /&gt;[ 6815.253467] ---[ end Kernel panic - not syncing: Fatal exception in interrupt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:48:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-identify-the-reason-for-memory-corruption-using-Kernel/m-p/749571#M116661</guid>
      <dc:creator>peteramond</dc:creator>
      <dc:date>2018-06-04T09:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify the reason for memory corruption using Kernel Panic log?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-identify-the-reason-for-memory-corruption-using-Kernel/m-p/749572#M116662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems these routines are machine-specific layer procedures, general&lt;/P&gt;&lt;P&gt;kernel routines that is not specific for i.MX. More proper way to post it to&lt;/P&gt;&lt;P&gt;kernel mail list. Briefly these routines are described in Chapter 3 Machine-Specific&lt;/P&gt;&lt;P&gt;Layer (MSL) attached Linux Manual. In particular file entry-armv.S contains low-level&lt;/P&gt;&lt;P&gt;vector interface routines, so jumping there from "rbtree.c" may mean wrong data&lt;/P&gt;&lt;P&gt;on "while (node-&amp;gt;rb_left) **//Line 457**" - this may mean and memory corruption and wrong&lt;/P&gt;&lt;P&gt;input parameters for that procedure or incorrect permissions.&lt;/P&gt;&lt;P&gt;You can debug it indirectly, running linux in minimal configuration then adding drivers.&lt;/P&gt;&lt;P&gt;For example try to disable SMP adding kernel boot parameter "nosmp".&lt;/P&gt;&lt;P&gt;Also there are complex of arm errata (#define CONFIG_ARM_ERRATA_743622,751472,&lt;/P&gt;&lt;P&gt;794072,761320,845369) defined in uboot/include/configs/mx6_common.h, one can try to&lt;/P&gt;&lt;P&gt;play with them and check behaviour :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/include/configs/mx6_common.h?h=imx_v2016.03_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.1.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/include/configs/mx6_common.h?h=imx_v2016.03_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.1.0_ga"&gt;uboot-imx.git - Freescale i.MX u-boot Tree&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 08:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-identify-the-reason-for-memory-corruption-using-Kernel/m-p/749572#M116662</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-06-05T08:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify the reason for memory corruption using Kernel Panic log?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-identify-the-reason-for-memory-corruption-using-Kernel/m-p/749573#M116663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;When&amp;nbsp;do you run into these kernel panics ? Is this reproducible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anuradha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 18:31:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-identify-the-reason-for-memory-corruption-using-Kernel/m-p/749573#M116663</guid>
      <dc:creator>tengri</dc:creator>
      <dc:date>2018-06-14T18:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify the reason for memory corruption using Kernel Panic log?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-identify-the-reason-for-memory-corruption-using-Kernel/m-p/749574#M116664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; So did you resolve your crashes ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 09:03:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-identify-the-reason-for-memory-corruption-using-Kernel/m-p/749574#M116664</guid>
      <dc:creator>stasgil</dc:creator>
      <dc:date>2018-10-19T09:03:20Z</dc:date>
    </item>
  </channel>
</rss>

