<?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>topic Re: imx7d crashes in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx7d-crashes/m-p/1134670#M161015</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Every other peripheral and hardware are working correctly for ou board. why do you think DDR is a problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asma&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 22:13:27 GMT</pubDate>
    <dc:creator>asmaa</dc:creator>
    <dc:date>2020-09-02T22:13:27Z</dc:date>
    <item>
      <title>imx7d crashes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7d-crashes/m-p/1133394#M160947</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;My company is working on imx7d boards, kernel version we are using is&amp;nbsp;4.19.35.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have written a char driver, which is being called from userspace to turn ON/OFF a GPIO. I know I can do it in userspace as well, however, I have to turn GPIO ON/OFF very frequently from both the userspace and kernel space. So Instead of resource sharing from userspace and kernel space, I thought of making a driver in kernel space which will be called from userspace and handle LED toggling for both the worlds.&lt;/P&gt;&lt;P&gt;Now after 1 o- 2 hours of running without any issue, the kernel crashes. Here is the output I see, I will attach the full log.&lt;BR /&gt;&lt;BR /&gt;WARNING: CPU: 0 PID: 1060562623 at kernel/sched/core.c:3187 search_module_extables+0x10/0x88&lt;BR /&gt;DEBUG_LOCKS_WARN_ON((preempt_count() &amp;lt; 0))&lt;BR /&gt;Modules linked in:&lt;BR /&gt;CPU: 0 PID: 1060562623 Comm: Hã &amp;nbsp;ã Tainted: G W 4.19.35-00051-g3d6c7ab1fd59-dirty #1&lt;BR /&gt;Hardware name: Freescale i.MX7 Dual (Device Tree)&lt;BR /&gt;[&amp;lt;8010e0ec&amp;gt;] (unwind_backtrace) from [&amp;lt;8010b868&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;8010b868&amp;gt;] (show_stack) from [&amp;lt;80128078&amp;gt;] (__warn+0xe0/0xf8)&lt;BR /&gt;[&amp;lt;80128078&amp;gt;] (__warn) from [&amp;lt;801280d8&amp;gt;] (warn_slowpath_fmt+0x48/0x6c)&lt;BR /&gt;[&amp;lt;801280d8&amp;gt;] (warn_slowpath_fmt) from [&amp;lt;8018caf4&amp;gt;] (search_module_extables+0x10/0x88)&lt;BR /&gt;[&amp;lt;8018caf4&amp;gt;] (search_module_extables) from [&amp;lt;80111c74&amp;gt;] (fixup_exception+0x10/0x28)&lt;BR /&gt;[&amp;lt;80111c74&amp;gt;] (fixup_exception) from [&amp;lt;80111eb8&amp;gt;] (do_page_fault+0x7c/0x36c)&lt;BR /&gt;[&amp;lt;80111eb8&amp;gt;] (do_page_fault) from [&amp;lt;80112408&amp;gt;] (do_PrefetchAbort+0x48/0xcc)&lt;BR /&gt;---[ end trace 802dce8a39c2e1b0 ]---&lt;BR /&gt;Unable to handle kernel paging request at virtual address 01010000&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel paging request at virtual address 2000e2a9&lt;BR /&gt;Unable to handle kernel NULL pointer dereference at virtual address 0000018c&lt;BR /&gt;pgd = a5f496ab&lt;BR /&gt;[0000018c] *pgd=a6bb1835, *pte=00000000, *ppte=00000000&lt;BR /&gt;Internal error: Oops: 5 [#1] PREEMPT ARM&lt;BR /&gt;Modules linked in:&lt;BR /&gt;CPU: 0 PID: 224 Comm: klogd Tainted: G W 4.19.35-00051-g3d6c7ab1fd59-dirty #1&lt;BR /&gt;Hardware name: Freescale i.MX7 Dual (Device Tree)&lt;BR /&gt;PC is at do_page_fault+0x30/0x36c&lt;BR /&gt;LR is at do_DataAbort+0x4c/0xe8&lt;BR /&gt;pc : [&amp;lt;80111e6c&amp;gt;] lr : [&amp;lt;80112324&amp;gt;] psr: 000f0193&lt;BR /&gt;sp : a6b6c098 ip : ffffe000 fp : 00000000&lt;BR /&gt;r10: 00000000 r9 : a6b6c000 r8 : 0000018c&lt;BR /&gt;r7 : 00000005 r6 : 0000018c r5 : 00000000 r4 : a6b6c198&lt;BR /&gt;r3 : a6b6c000 r2 : 000f0193 r1 : 00000005 r0 : 0000018c&lt;BR /&gt;Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none&lt;BR /&gt;Control: 10c53c7d Table: a6088059 DAC: 00000051&lt;BR /&gt;Process klogd (pid: 224, stack limit = 0x594c3bfb)&lt;BR /&gt;Stack: (0xa6b6c098 to 0xa6b6c000)&lt;BR /&gt;[&amp;lt;80111e6c&amp;gt;] (do_page_fault) from [&amp;lt;80112324&amp;gt;] (do_DataAbort+0x4c/0xe8)&lt;BR /&gt;[&amp;lt;80112324&amp;gt;] (do_DataAbort) from [&amp;lt;80101978&amp;gt;] (__dabt_svc+0x58/0x80)&lt;BR /&gt;Exception stack(0xa6b6c198 to 0xa6b6c1e0)&lt;BR /&gt;c180: 0000018c 00000005&lt;BR /&gt;c1a0: 000f0193 a6b6c000 a6b6c2e8 00000000 0000018c 00000005 0000018c a6b6c000&lt;BR /&gt;c1c0: 00000000 00000000 ffffe000 a6b6c1e8 80112324 80111e6c 000f0193 ffffffff&lt;BR /&gt;[&amp;lt;80101978&amp;gt;] (__dabt_svc) from [&amp;lt;80111e6c&amp;gt;] (do_page_fault+0x30/0x36c)&lt;BR /&gt;[&amp;lt;80111e6c&amp;gt;] (do_page_fault) from [&amp;lt;80112324&amp;gt;] (do_DataAbort+0x4c/0xe8)&lt;BR /&gt;[&amp;lt;80112324&amp;gt;] (do_DataAbort) from [&amp;lt;80101978&amp;gt;] (__dabt_svc+0x58/0x80)&lt;BR /&gt;Exception stack(0xa6b6c2e8 to 0xa6b6c330)&lt;BR /&gt;c2e0: 0000018c 00000005 000f0193 a6b6c000 a6b6c438 00000000&lt;BR /&gt;c300: 0000018c 00000005 0000018c a6b6c000 00000000 00000000 ffffe000 a6b6c338&lt;BR /&gt;c320: 80112324 80111e6c 000f0193 ffffffff&lt;BR /&gt;[&amp;lt;80101978&amp;gt;] (__dabt_svc) from [&amp;lt;80111e6c&amp;gt;] (do_page_fault+0x30/0x36c)&lt;BR /&gt;[&amp;lt;80111e6c&amp;gt;] (do_page_fault) from [&amp;lt;80112324&amp;gt;] (do_DataAbort+0x4c/0xe8)&lt;BR /&gt;[&amp;lt;80112324&amp;gt;] (do_DataAbort) from [&amp;lt;80101978&amp;gt;] (__dabt_svc+0x58/0x80)&lt;BR /&gt;Exception stack(0xa6b6c438 to 0xa6b6c480)&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;bf80: 81008f9c a6b6c048 a6b6c000 00000000 00000000 80112324 a6b6a000 00000067&lt;BR /&gt;bfa0: 00000000 80101000 000a8845 00000000 00000002 000a87f8 000003ff 000003fe&lt;BR /&gt;bfc0: 000a8845 00000000 000a87f8 00000067 00000000 00000000 00000000 00000000&lt;BR /&gt;bfe0: 000a8300 7e8f3cd4 0004864c 76e8b55c 600c0010 00000002 00000000 00000000&lt;BR /&gt;[&amp;lt;80152a4c&amp;gt;] (autoremove_wake_function) from [&amp;lt;80151f78&amp;gt;] (__wake_up_common+0x78/0x134)&lt;BR /&gt;[&amp;lt;80151f78&amp;gt;] (__wake_up_common) from [&amp;lt;80152660&amp;gt;] (__wake_up_common_lock+0x7c/0x158)&lt;BR /&gt;[&amp;lt;80152660&amp;gt;] (__wake_up_common_lock) from [&amp;lt;80152750&amp;gt;] (__wake_up+0x14/0x1c)&lt;BR /&gt;[&amp;lt;80152750&amp;gt;] (__wake_up) from [&amp;lt;80197e30&amp;gt;] (irq_work_run_list+0x6c/0xa0)&lt;BR /&gt;[&amp;lt;80197e30&amp;gt;] (irq_work_run_list) from [&amp;lt;8017264c&amp;gt;] (update_process_times+0x4c/0x60)&lt;BR /&gt;[&amp;lt;8017264c&amp;gt;] (update_process_times) from [&amp;lt;80181dac&amp;gt;] (tick_sched_timer+0x54/0xb0)&lt;BR /&gt;[&amp;lt;80181dac&amp;gt;] (tick_sched_timer) from [&amp;lt;8017315c&amp;gt;] (__hrtimer_run_queues.constprop.4+0x148/0x1f0)&lt;BR /&gt;[&amp;lt;8017315c&amp;gt;] (__hrtimer_run_queues.constprop.4) from [&amp;lt;80173878&amp;gt;] (hrtimer_interrupt+0xcc/0x2f0)&lt;BR /&gt;[&amp;lt;80173878&amp;gt;] (hrtimer_interrupt) from [&amp;lt;807ee074&amp;gt;] (mxc_timer_interrupt+0x34/0x3c)&lt;BR /&gt;[&amp;lt;807ee074&amp;gt;] (mxc_timer_interrupt) from [&amp;lt;8015d054&amp;gt;] (__handle_irq_event_percpu+0x50/0x128)&lt;BR /&gt;[&amp;lt;8015d054&amp;gt;] (__handle_irq_event_percpu) from [&amp;lt;8015d158&amp;gt;] (handle_irq_event_percpu+0x2c/0x7c)&lt;BR /&gt;[&amp;lt;8015d158&amp;gt;] (handle_irq_event_percpu) from [&amp;lt;8015d1f4&amp;gt;] (handle_irq_event+0x4c/0x84)&lt;BR /&gt;[&amp;lt;8015d1f4&amp;gt;] (handle_irq_event) from [&amp;lt;8016075c&amp;gt;] (handle_fasteoi_irq+0xb8/0x194)&lt;BR /&gt;[&amp;lt;8016075c&amp;gt;] (handle_fasteoi_irq) from [&amp;lt;8015c2d4&amp;gt;] (generic_handle_irq+0x24/0x34)&lt;BR /&gt;[&amp;lt;8015c2d4&amp;gt;] (generic_handle_irq) from [&amp;lt;8015c9d8&amp;gt;] (__handle_domain_irq+0x70/0xdc)&lt;BR /&gt;[&amp;lt;8015c9d8&amp;gt;] (__handle_domain_irq) from [&amp;lt;80426550&amp;gt;] (gic_handle_irq+0x4c/0x80)&lt;BR /&gt;[&amp;lt;80426550&amp;gt;] (gic_handle_irq) from [&amp;lt;80101a0c&amp;gt;] (__irq_svc+0x6c/0xa8)&lt;BR /&gt;Exception stack(0xa6b6bea0 to 0xa6b6bee8)&lt;BR /&gt;bea0: 00000001 80d76fc8 00000003 00000003 a6390980 0000000b 600f0193 a6b6a000&lt;BR /&gt;bec0: 7f000000 ffffe000 a6390980 0000000b 00000007 a6b6bef0 801291e0 801291e4&lt;BR /&gt;bee0: 800f0113 ffffffff&lt;BR /&gt;[&amp;lt;80101a0c&amp;gt;] (__irq_svc) from [&amp;lt;801291e4&amp;gt;] (do_exit+0xd4/0xb18)&lt;BR /&gt;[&amp;lt;801291e4&amp;gt;] (do_exit) from [&amp;lt;8010b9dc&amp;gt;] (die+0x170/0x274)&lt;BR /&gt;[&amp;lt;8010b9dc&amp;gt;] (die) from [&amp;lt;801124f0&amp;gt;] (__do_kernel_fault.part.0+0x64/0x74)&lt;BR /&gt;[&amp;lt;801124f0&amp;gt;] (__do_kernel_fault.part.0) from [&amp;lt;801121a8&amp;gt;] (do_bad_area+0x0/0x84)&lt;BR /&gt;[&amp;lt;801121a8&amp;gt;] (do_bad_area) from [&amp;lt;00000051&amp;gt;] (0x51)&lt;BR /&gt;Code: e5942010 e284300c e594100c e5812004 (e5821000)&lt;BR /&gt;---[ end trace 802dce8a39c2e1b2 ]---&lt;BR /&gt;Kernel panic - not syncing: Fatal exception in interrupt&lt;BR /&gt;---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have stuck with this problem for a few days, Any help would be really appreciated.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asma&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 00:25:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7d-crashes/m-p/1133394#M160947</guid>
      <dc:creator>asmaa</dc:creator>
      <dc:date>2020-09-02T00:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: imx7d crashes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7d-crashes/m-p/1133583#M160964</link>
      <description>&lt;P&gt;Hi Asma&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for that error one can run ddr test and put new calibration coefficients found from test&lt;/P&gt;
&lt;P&gt;to uboot dcd header&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-6-7-DDR-Stress-Test-Tool/ta-p/1108221" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-6-7-DDR-Stress-Test-Tool/ta-p/1108221&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx7dsabresd/imximage.cfg?h=imx_v2019.04_4.19.35_1.1.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx7dsabresd/imximage.cfg?h=imx_v2019.04_4.19.35_1.1.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 03:47:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7d-crashes/m-p/1133583#M160964</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-09-02T03:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: imx7d crashes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7d-crashes/m-p/1134670#M161015</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Every other peripheral and hardware are working correctly for ou board. why do you think DDR is a problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asma&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 22:13:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7d-crashes/m-p/1134670#M161015</guid>
      <dc:creator>asmaa</dc:creator>
      <dc:date>2020-09-02T22:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx7d crashes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7d-crashes/m-p/1134754#M161025</link>
      <description>&lt;P&gt;Hi Asma&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;without running ddr test &amp;amp; rebuild image some memory regions may be faulty,&lt;/P&gt;
&lt;P&gt;so for new board recommended first to run ddr test and rebuild image with new&lt;/P&gt;
&lt;P&gt;ddr coefficients found from test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 03:25:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7d-crashes/m-p/1134754#M161025</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-09-03T03:25:50Z</dc:date>
    </item>
  </channel>
</rss>

