<?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: Error: Unable to handle kernel paging request at virtual address in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2091365#M236931</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Regarding the troubleshooting steps:&lt;/P&gt;&lt;P&gt;1. the virtual address changes! Everytime I reboot the board, and the problem occurs, the virtual address is never the same (when it doesn't work, because sometimes the kernel works!).&lt;/P&gt;&lt;P&gt;2. I didn't update any driver, I used the kernel version provided by NXP 6.12.y. I'm currently disabling all the drivers that I don't need in the menuconfig.&lt;/P&gt;&lt;P&gt;3. I set a bootarg (&lt;SPAN&gt; &lt;STRONG&gt;mem=256M&lt;/STRONG&gt;&lt;/SPAN&gt;) in U-boot environment to let the kernel recognize the RAM size, otherwise it set 2GB by default. I don't know if it is the right way, please tell me.&lt;/P&gt;&lt;P&gt;5. The error changes.&lt;/P&gt;&lt;P&gt;6. Please, can you tell me how it has to be?&lt;/P&gt;&lt;P&gt;7,8 need to be examined.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;</description>
    <pubDate>Mon, 05 May 2025 10:40:41 GMT</pubDate>
    <dc:creator>Bob_NXP_user</dc:creator>
    <dc:date>2025-05-05T10:40:41Z</dc:date>
    <item>
      <title>Error: Unable to handle kernel paging request at virtual address</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2088501#M236770</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I'm tryng to debug my Linux OS for a custom iMX93 board. I'm able to start the OS but sometimes I get the following error while booting:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="immagine (8).jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/335285i42BB19E1214451FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="immagine (8).jpg" alt="immagine (8).jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the weird fact is that this happens randomly! Sometimes I don't have problems at all, other times it hangs with this error and in different "locations" of the log! I understand that this error means that it cannot initialize a driver, comparing the error log with the correct one I'm able to discover which driver is not working. I'm wondering if could be a problem linked to the RAM settings. In particular when the OS starts, I notice that the RAM memory is not correctly recognized by the kernel (2 GB while I have only 256 MB):&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bob_NXP_user_2-1745850859171.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/335286i859124CA40A2F6A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bob_NXP_user_2-1745850859171.jpeg" alt="Bob_NXP_user_2-1745850859171.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me to understand what's going on?&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 14:36:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2088501#M236770</guid>
      <dc:creator>Bob_NXP_user</dc:creator>
      <dc:date>2025-04-28T14:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Unable to handle kernel paging request at virtual address</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2090365#M236853</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-huuid="1834114119074842055"&gt;The "Unable to handle kernel paging request at virtual address" error, often accompanied by a kernel panic, &lt;MARK class="QVRyCf"&gt;typically indicates a problem with memory access or mapping during kernel operations&lt;/MARK&gt;. &lt;/SPAN&gt;&lt;SPAN data-huuid="1834114119074843994"&gt;This error can be caused by issues with device drivers, incorrect RAM settings, or even kernel bugs.&lt;SPAN class="pjBG2e" data-cid="3e53adec-d85f-49e6-9d5c-614de8f223c6"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;DIV class="rPeykc" data-hveid="CAMQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQo_EKegQIAxAB"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;DIV class="rPeykc pyPiTc" data-hveid="CAoQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQo_EKegQIChAB"&gt;&lt;SPAN data-huuid="27347542538244604"&gt;Possible Causes and Solutions: &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;UL data-hveid="CCUQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQm_YKegQIJRAB"&gt;
&lt;LI&gt;&lt;SPAN data-huuid="27347542538245239"&gt;&lt;STRONG&gt;Incorrect RAM Settings:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="27347542538246816"&gt;The kernel might not be correctly recognizing or mapping the physical RAM.&lt;SPAN class="pjBG2e" data-cid="1598773b-347c-4fdc-a3f3-1201ebddf39f"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="1598773b-347c-4fdc-a3f3-1201ebddf39f" data-uuids="27347542538245239,27347542538246816"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CBIQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIEhAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;SPAN data-huuid="27347542538245874"&gt;&lt;STRONG&gt;Device Driver Issues:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="27347542538247451"&gt;A faulty or incompatible device driver could be trying to access memory incorrectly, triggering the error.&lt;SPAN class="pjBG2e" data-cid="acc1b582-10f0-40d0-9adb-3224ba2486f9"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="acc1b582-10f0-40d0-9adb-3224ba2486f9" data-uuids="27347542538245874,27347542538247451"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CCEQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIIRAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN data-huuid="27347542538246509"&gt;&lt;STRONG&gt;Kernel Bugs:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="27347542538248086"&gt;In some cases, the error might be due to a bug in the kernel itself, especially if the error occurs randomly or consistently at different virtual addresses.&lt;SPAN class="pjBG2e" data-cid="1fae5e35-ee53-4c34-b82e-ae6b578f4a0c"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="1fae5e35-ee53-4c34-b82e-ae6b578f4a0c" data-uuids="27347542538246509,27347542538248086"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CB8QAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIHxAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN data-huuid="27347542538247144"&gt;&lt;STRONG&gt;DMA Problems:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="27347542538244625"&gt;DMA (Direct Memory Access) issues can also lead to paging errors, particularly if the DMA engine attempts to access a memory region that's not properly mapped.&lt;SPAN class="pjBG2e" data-cid="b32809ec-f0d6-4486-a007-3938c2824114"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="b32809ec-f0d6-4486-a007-3938c2824114" data-uuids="27347542538247144,27347542538244625"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CBkQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIGRAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CB4QAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIHhAB"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN data-huuid="27347542538244318"&gt;&lt;STRONG&gt;Memory Corruption:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="27347542538245895"&gt;If there's memory corruption within the kernel, it can cause issues with paging.&lt;SPAN class="pjBG2e" data-cid="b744fc1a-196f-4c6c-980a-d5aedddc40e0"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV id="_SGUSaP2dDIGbi-gPpMaz4AE_14"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;DIV class="rPeykc pyPiTc" data-hveid="CCsQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQo_EKegQIKxAB"&gt;&lt;SPAN data-huuid="4955296001830821868"&gt;Troubleshooting Steps: &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;OL data-hveid="CF4QAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQnPYKegQIXhAB"&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad"&gt;&lt;SPAN&gt;&lt;STRONG&gt;1. &lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830821503"&gt;&lt;STRONG&gt;Identify the Specific Virtual Address:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc"&gt;&lt;SPAN data-huuid="4955296001830820016"&gt;The error message will include a virtual address where the problem is occurring. &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830818529"&gt;This address can help pinpoint the potentially problematic driver or memory region.&lt;SPAN class="pjBG2e" data-cid="ce51a242-8f5f-4c6c-bedc-3ca76f13f293"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="ce51a242-8f5f-4c6c-bedc-3ca76f13f293" data-uuids="4955296001830821503,4955296001830820016,4955296001830818529"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CFQQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIVBAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="vM0jzc"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad"&gt;&lt;SPAN&gt;&lt;STRONG&gt;2. &lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830819651"&gt;&lt;STRONG&gt;Check Driver Compatibility:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc"&gt;&lt;SPAN data-huuid="4955296001830818164"&gt;If you recently installed or updated a driver, try rolling back to a previous version to see if that resolves the issue.&lt;SPAN class="pjBG2e" data-cid="f8a2b20f-bb1b-4c92-8eeb-cb7f8ad6e83c"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="f8a2b20f-bb1b-4c92-8eeb-cb7f8ad6e83c" data-uuids="4955296001830819651,4955296001830818164"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CFcQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIVxAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="vM0jzc"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad"&gt;&lt;SPAN&gt;&lt;STRONG&gt;3. &lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830819286"&gt;&lt;STRONG&gt;Verify RAM Settings:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc"&gt;&lt;SPAN data-huuid="4955296001830817799"&gt;Ensure the RAM is correctly recognized by the kernel, and try different RAM settings if possible.&lt;SPAN class="pjBG2e" data-cid="e7c5031f-ae8c-434e-a29f-641f86928ba5"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="e7c5031f-ae8c-434e-a29f-641f86928ba5" data-uuids="4955296001830819286,4955296001830817799"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CEQQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIRBAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="vM0jzc"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad"&gt;&lt;SPAN&gt;&lt;STRONG&gt;4. &lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830818921"&gt;&lt;STRONG&gt;Enable Kernel Debugging:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc"&gt;&lt;SPAN data-huuid="4955296001830821530"&gt;If possible, enable kernel debugging options to gather more information about the error, particularly related to MMU and VMA structures.&lt;SPAN class="pjBG2e" data-cid="5b78b7e3-1b0f-45fd-9dfc-ed891a94db8e"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="5b78b7e3-1b0f-45fd-9dfc-ed891a94db8e" data-uuids="4955296001830818921,4955296001830821530"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CD4QAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIPhAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="vM0jzc"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad"&gt;&lt;SPAN&gt;&lt;STRONG&gt;5. &lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830818556"&gt;&lt;STRONG&gt;Check for Kernel Bugs:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc"&gt;&lt;SPAN data-huuid="4955296001830821165"&gt;If the error is reproducible, it could be a kernel bug. &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830819678"&gt;Consult the kernel's documentation or relevant forums for known issues.&lt;SPAN class="pjBG2e" data-cid="9d9d4eeb-9df3-4b08-b9e4-1bab9301208c"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="9d9d4eeb-9df3-4b08-b9e4-1bab9301208c" data-uuids="4955296001830818556,4955296001830821165,4955296001830819678"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CFYQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIVhAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="vM0jzc"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad"&gt;&lt;SPAN&gt;&lt;STRONG&gt;6. &lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830820800"&gt;&lt;STRONG&gt;Examine DMA Usage:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc"&gt;&lt;SPAN data-huuid="4955296001830819313"&gt;If your system uses DMA, investigate how memory is allocated and mapped for DMA operations. &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830817826"&gt;Incorrect memory allocation can lead to paging errors.&lt;SPAN class="pjBG2e" data-cid="25d55507-cb3d-4e08-9c7d-fa16b6e92872"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="25d55507-cb3d-4e08-9c7d-fa16b6e92872" data-uuids="4955296001830820800,4955296001830819313,4955296001830817826"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CFEQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIURAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="vM0jzc"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad"&gt;&lt;SPAN&gt;&lt;STRONG&gt;7. &lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830818948"&gt;&lt;STRONG&gt;Consider Stack Overflow:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc"&gt;&lt;SPAN data-huuid="4955296001830821557"&gt;If the error occurs during a specific kernel function, check for potential stack overflow issues.&lt;SPAN class="pjBG2e" data-cid="66f16f28-789f-431b-956b-77d053624153"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="66f16f28-789f-431b-956b-77d053624153" data-uuids="4955296001830818948,4955296001830821557"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CEEQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIQRAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="K3KsMc"&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad"&gt;&lt;SPAN&gt;&lt;STRONG&gt;8. &lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830818583"&gt;&lt;STRONG&gt;Monitor Memory Usage:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc"&gt;&lt;SPAN data-huuid="4955296001830821192"&gt;If the system runs out of memory, it can also cause paging errors. &lt;/SPAN&gt;&lt;SPAN data-huuid="4955296001830819705"&gt;Ensure you have sufficient memory available.&lt;SPAN class="pjBG2e" data-cid="8f97465f-5f3b-4f53-9a88-0f327bb905fd"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="8f97465f-5f3b-4f53-9a88-0f327bb905fd" data-uuids="4955296001830818583,4955296001830821192,4955296001830819705"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CEMQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQ3fYKegQIQxAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV data-crb-p=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="vM0jzc"&gt;Regards&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV data-crb-p=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;DIV class="rPeykc pyPiTc" data-hveid="CGMQAQ" data-ved="2ahUKEwj94cOPq4CNAxWBzQIHHSTjDBwQo_EKegQIYxAB"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Apr 2025 18:02:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2090365#M236853</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-04-30T18:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Unable to handle kernel paging request at virtual address</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2091365#M236931</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Regarding the troubleshooting steps:&lt;/P&gt;&lt;P&gt;1. the virtual address changes! Everytime I reboot the board, and the problem occurs, the virtual address is never the same (when it doesn't work, because sometimes the kernel works!).&lt;/P&gt;&lt;P&gt;2. I didn't update any driver, I used the kernel version provided by NXP 6.12.y. I'm currently disabling all the drivers that I don't need in the menuconfig.&lt;/P&gt;&lt;P&gt;3. I set a bootarg (&lt;SPAN&gt; &lt;STRONG&gt;mem=256M&lt;/STRONG&gt;&lt;/SPAN&gt;) in U-boot environment to let the kernel recognize the RAM size, otherwise it set 2GB by default. I don't know if it is the right way, please tell me.&lt;/P&gt;&lt;P&gt;5. The error changes.&lt;/P&gt;&lt;P&gt;6. Please, can you tell me how it has to be?&lt;/P&gt;&lt;P&gt;7,8 need to be examined.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 10:40:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2091365#M236931</guid>
      <dc:creator>Bob_NXP_user</dc:creator>
      <dc:date>2025-05-05T10:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Unable to handle kernel paging request at virtual address</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2091456#M236937</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;A1. Erase yocto and restart building again.&lt;/P&gt;
&lt;P&gt;A2, try to check the CMEM variable in uboot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 13:21:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2091456#M236937</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-05-05T13:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Unable to handle kernel paging request at virtual address</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2092139#M236968</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Already done various builds, I still get the same random problem. Furthermore I didn't find the cmem variable.&lt;/P&gt;&lt;P&gt;Do you have any other suggestion regarding the possible cause of this weird behavior?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 11:39:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2092139#M236968</guid>
      <dc:creator>Bob_NXP_user</dc:creator>
      <dc:date>2025-05-06T11:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Unable to handle kernel paging request at virtual address</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2270485#M243115</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234070"&gt;@Bob_NXP_user&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are working with a &lt;STRONG&gt;custom i.MX8M Plus DDR4 board&lt;/STRONG&gt; that includes &lt;STRONG&gt;32 MB QSPI NOR flash&lt;/STRONG&gt;.&lt;BR /&gt;Our objective is to boot &lt;STRONG&gt;U-Boot, Linux kernel, device tree, and initramfs (rootfs.img)&lt;/STRONG&gt; entirely from &lt;STRONG&gt;QSPI flash&lt;/STRONG&gt;, without using SD/eMMC.&lt;/P&gt;&lt;P&gt;We are able to &lt;STRONG&gt;successfully boot up to U-Boot (flash.bin)&lt;/STRONG&gt; from QSPI flash.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-----Flash Layout and Image Sizes----------------&lt;/P&gt;&lt;P&gt;QSPI flash size: 32 MB&lt;/P&gt;&lt;P&gt;flash.bin (U-Boot + SPL) ~2.4 MB&lt;BR /&gt;Image.gz (Kernel) ~15 MB&lt;BR /&gt;imx8mp-evk.dtb ~85 KB&lt;BR /&gt;rootfs.img ~12.6 MB&lt;/P&gt;&lt;P&gt;----QSPI Offset Layout----------&lt;BR /&gt;flash.bin @ 0x00000000&lt;BR /&gt;Image.gz @ 0x0024D000&lt;BR /&gt;imx8mp-evk.dtb @ 0x010A6B00&lt;BR /&gt;rootfs.img @ 0x010BB800&lt;/P&gt;&lt;H3&gt;U-Boot Environment Setup&lt;/H3&gt;&lt;P&gt;After booting into U-Boot from QSPI, we configure the following environment variables to load the kernel, device tree, and initramfs from flash:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;sf probe 0&lt;BR /&gt;setenv loadaddr 0x40480000 // kernel&lt;BR /&gt;setenv fdt_addr 0x43000000 //dtb&lt;BR /&gt;setenv initrd_addr 0x43800000 //rootfs (minimal initramfs)&lt;BR /&gt;setenv kernel_comp_addr_r 0x50000000&lt;BR /&gt;setenv kernel_comp_size 0x04000000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reading Images from QSPI Flash&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sf read ${loadaddr} 0x0024D000 0x00E59A6F&lt;BR /&gt;sf read ${fdt_addr} 0x010A6B00 0x00014BBA&lt;BR /&gt;sf read ${initrd_addr} 0x010BB800 0x00C04DB0&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Boot Command&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;setenv bootargs console=${console},${baudrate} earlycon=${earlycon},${baudrate} rdinit=/dev&lt;/P&gt;&lt;P&gt;booti ${loadaddr} ${initrd_addr} ${fdt_addr}&lt;/P&gt;&lt;H3&gt;Issue Observed&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The kernel &lt;STRONG&gt;starts executing&lt;/STRONG&gt; but &lt;STRONG&gt;hangs at “Starting kernel …”&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Please refer to the attached kernel boot log&lt;STRONG&gt; (kernel_bootlog1)&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When using the following boot arguments:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;setenv bootargs setenv bootargs "console=ttymxc1,115200 earlycon root=/dev/ram0 rw rdinit=/sbin/init loglevel=8"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The kernel progresses further but &lt;STRONG&gt;hangs midway during boot&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Please refer to the attached kernel boot log&lt;STRONG&gt; (kernel_bootlog2)&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Attached the &lt;STRONG&gt;kernel DTS&lt;/STRONG&gt; and &lt;STRONG&gt;kernel defconfig&lt;/STRONG&gt; for reference.&lt;BR /&gt;Kindly let us know if any modifications are required.&lt;/P&gt;&lt;P&gt;Also getting same error like you&amp;nbsp;&lt;STRONG&gt;Unable to handle kernel paging request at virtual address.&amp;nbsp;&lt;/STRONG&gt;can you please give any suggistions to resolve it and successful kernel boot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;Are there any &lt;STRONG&gt;recommended changes required in the kernel DTS&lt;/STRONG&gt; for booting initramfs entirely from QSPI on a &lt;STRONG&gt;custom i.MX8M Plus DDR4 board&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;Are there any &lt;STRONG&gt;additional boot arguments&lt;/STRONG&gt; recommended by NXP for initramfs-based boot on i.MX8MP from QSPI flash?&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;What could be the possible reason for the kernel not booting correctly?&lt;BR /&gt;We followed the same procedure that works successfully on the i.MX8MP LPDDR4&amp;nbsp; EVK, where the kernel and root filesystem boot properly from QSPI flash.&lt;BR /&gt;The only differences in our setup are the &lt;STRONG&gt;flash.bin&lt;/STRONG&gt; and &lt;STRONG&gt;device tree&lt;/STRONG&gt;, which were modified according to the DDR configuration of our custom board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 12:03:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-Unable-to-handle-kernel-paging-request-at-virtual-address/m-p/2270485#M243115</guid>
      <dc:creator>NXP_USER_05</dc:creator>
      <dc:date>2025-12-31T12:03:27Z</dc:date>
    </item>
  </channel>
</rss>

