<?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: vmalloc: allocation failure: 4407240 bytes in LS1021ATWR Board in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/vmalloc-allocation-failure-4407240-bytes-in-LS1021ATWR-Board/m-p/450476#M494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vignesh, did you ever find the answer to this question? &amp;nbsp;I am having the same issue with the wl driver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2016 15:32:41 GMT</pubDate>
    <dc:creator>johnbalian</dc:creator>
    <dc:date>2016-12-28T15:32:41Z</dc:date>
    <item>
      <title>vmalloc: allocation failure: 4407240 bytes in LS1021ATWR Board</title>
      <link>https://community.nxp.com/t5/Layerscape/vmalloc-allocation-failure-4407240-bytes-in-LS1021ATWR-Board/m-p/450472#M490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting vmalloc() failure while trying to insert the module in the kernel. When I checked the vmalloc size, there is enough space for loading the module. Someone help me to resolve this issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is the log when inserting the module,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@ls1021atwr:/lib# insmod wl.ko &lt;/P&gt;&lt;P&gt;vmap allocation for size 4411392 failed: use vmalloc=&amp;lt;size&amp;gt; to increase size.&lt;/P&gt;&lt;P&gt;vmalloc: allocation failure: 4407240 bytes&lt;/P&gt;&lt;P&gt;insmod: page allocation failure: order:0, mode:0xd0&lt;/P&gt;&lt;P&gt;CPU: 1 PID: 1213 Comm: insmod Tainted: P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; O 3.12.37-rt51+ls1+gf488de6 #1&lt;/P&gt;&lt;P&gt;[&amp;lt;800107c9&amp;gt;] (unwind_backtrace+0x1/0x88) from [&amp;lt;8000e4e7&amp;gt;] (show_stack+0xb/0xc)&lt;/P&gt;&lt;P&gt;[&amp;lt;8000e4e7&amp;gt;] (show_stack+0xb/0xc) from [&amp;lt;8030492d&amp;gt;] (dump_stack+0x4d/0x60)&lt;/P&gt;&lt;P&gt;[&amp;lt;8030492d&amp;gt;] (dump_stack+0x4d/0x60) from [&amp;lt;8005c4fb&amp;gt;] (warn_alloc_failed+0x8f/0xb0)&lt;/P&gt;&lt;P&gt;[&amp;lt;8005c4fb&amp;gt;] (warn_alloc_failed+0x8f/0xb0) from [&amp;lt;80074bef&amp;gt;] (__vmalloc_node_range+0x113/0x134)&lt;/P&gt;&lt;P&gt;[&amp;lt;80074bef&amp;gt;] (__vmalloc_node_range+0x113/0x134) from [&amp;lt;8000eb4f&amp;gt;] (module_alloc+0x27/0x34)&lt;/P&gt;&lt;P&gt;[&amp;lt;8000eb4f&amp;gt;] (module_alloc+0x27/0x34) from [&amp;lt;8004af3b&amp;gt;] (module_alloc_update_bounds+0x9/0x42)&lt;/P&gt;&lt;P&gt;[&amp;lt;8004af3b&amp;gt;] (module_alloc_update_bounds+0x9/0x42) from [&amp;lt;8004b433&amp;gt;] (layout_and_allocate+0x4bb/0x56c)&lt;/P&gt;&lt;P&gt;[&amp;lt;8004b433&amp;gt;] (layout_and_allocate+0x4bb/0x56c) from [&amp;lt;8004b54b&amp;gt;] (load_module+0x67/0x9cc)&lt;/P&gt;&lt;P&gt;[&amp;lt;8004b54b&amp;gt;] (load_module+0x67/0x9cc) from [&amp;lt;8004bf63&amp;gt;] (SyS_finit_module+0x35/0x3e)&lt;/P&gt;&lt;P&gt;[&amp;lt;8004bf63&amp;gt;] (SyS_finit_module+0x35/0x3e) from [&amp;lt;8000c141&amp;gt;] (ret_fast_syscall+0x1/0x44)&lt;/P&gt;&lt;P&gt;Mem-info:&lt;/P&gt;&lt;P&gt;DMA per-cpu:&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 0: hi:&amp;nbsp; 186, btch:&amp;nbsp; 31 usd: 122&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 1: hi:&amp;nbsp; 186, btch:&amp;nbsp; 31 usd:&amp;nbsp; 35&lt;/P&gt;&lt;P&gt;active_anon:981 inactive_anon:40 isolated_anon:0&lt;/P&gt;&lt;P&gt; active_file:2835 inactive_file:1727 isolated_file:0&lt;/P&gt;&lt;P&gt; unevictable:0 dirty:0 writeback:0 unstable:0&lt;/P&gt;&lt;P&gt; free:226520 slab_reclaimable:872 slab_unreclaimable:1300&lt;/P&gt;&lt;P&gt; mapped:583 shmem:69 pagetables:42 bounce:0&lt;/P&gt;&lt;P&gt; free_cma:0&lt;/P&gt;&lt;P&gt;DMA free:906080kB min:4064kB low:5080kB high:6096kB active_anon:3924kB inactive_anon:160kB active_file:11340kB inactive_file:6908kB unevictableo&lt;/P&gt;&lt;P&gt;lowmem_reserve[]: 0 0 0 0&lt;/P&gt;&lt;P&gt;DMA: 42*4kB (M) 8*8kB (UM) 9*16kB (UEM) 5*32kB (UEM) 3*64kB (UEM) 1*128kB (E) 6*256kB (UEM) 1*512kB (U) 2*1024kB (UM) 2*2048kB (UM) 219*4096kB B&lt;/P&gt;&lt;P&gt;4634 total pagecache pages&lt;/P&gt;&lt;P&gt;0 pages in swap cache&lt;/P&gt;&lt;P&gt;Swap cache stats: add 0, delete 0, find 0/0&lt;/P&gt;&lt;P&gt;Free swap&amp;nbsp; = 0kB&lt;/P&gt;&lt;P&gt;Total swap = 0kB&lt;/P&gt;&lt;P&gt;393216 pages of RAM&lt;/P&gt;&lt;P&gt;353699 free pages&lt;/P&gt;&lt;P&gt;7167 reserved pages&lt;/P&gt;&lt;P&gt;1514 slab pages&lt;/P&gt;&lt;P&gt;266830 pages shared&lt;/P&gt;&lt;P&gt;0 pages swap cached&lt;/P&gt;&lt;P&gt;insmod: ERROR: could not insert module wl.ko: Cannot allocate memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;size of Vmalloc () is ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;cat /proc/meminfo | grep -i vmalloc&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;VmallocTotal:&amp;nbsp;&amp;nbsp;&amp;nbsp; 1024000 kB&lt;/P&gt;&lt;P&gt;VmallocUsed:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 142156 kB&lt;/P&gt;&lt;P&gt;VmallocChunk:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 879548 kB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even-though enough space is there, what could be the reason for this issue and how can I resolve&amp;nbsp; it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help is appreciated. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 12:38:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/vmalloc-allocation-failure-4407240-bytes-in-LS1021ATWR-Board/m-p/450472#M490</guid>
      <dc:creator>vigneshr</dc:creator>
      <dc:date>2015-07-27T12:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: vmalloc: allocation failure: 4407240 bytes in LS1021ATWR Board</title>
      <link>https://community.nxp.com/t5/Layerscape/vmalloc-allocation-failure-4407240-bytes-in-LS1021ATWR-Board/m-p/450473#M491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could someone help me ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 04:38:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/vmalloc-allocation-failure-4407240-bytes-in-LS1021ATWR-Board/m-p/450473#M491</guid>
      <dc:creator>vigneshr</dc:creator>
      <dc:date>2015-07-28T04:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: vmalloc: allocation failure: 4407240 bytes in LS1021ATWR Board</title>
      <link>https://community.nxp.com/t5/Layerscape/vmalloc-allocation-failure-4407240-bytes-in-LS1021ATWR-Board/m-p/450474#M492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vignesh, are you perhaps mistakenly trying&lt;/P&gt;&lt;P&gt;to allocate a huge chunk of memory during&lt;/P&gt;&lt;P&gt;module init ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 14:01:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/vmalloc-allocation-failure-4407240-bytes-in-LS1021ATWR-Board/m-p/450474#M492</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2015-07-28T14:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: vmalloc: allocation failure: 4407240 bytes in LS1021ATWR Board</title>
      <link>https://community.nxp.com/t5/Layerscape/vmalloc-allocation-failure-4407240-bytes-in-LS1021ATWR-Board/m-p/450475#M493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Sinan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 14:10:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/vmalloc-allocation-failure-4407240-bytes-in-LS1021ATWR-Board/m-p/450475#M493</guid>
      <dc:creator>vigneshr</dc:creator>
      <dc:date>2015-07-28T14:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: vmalloc: allocation failure: 4407240 bytes in LS1021ATWR Board</title>
      <link>https://community.nxp.com/t5/Layerscape/vmalloc-allocation-failure-4407240-bytes-in-LS1021ATWR-Board/m-p/450476#M494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vignesh, did you ever find the answer to this question? &amp;nbsp;I am having the same issue with the wl driver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 15:32:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/vmalloc-allocation-failure-4407240-bytes-in-LS1021ATWR-Board/m-p/450476#M494</guid>
      <dc:creator>johnbalian</dc:creator>
      <dc:date>2016-12-28T15:32:41Z</dc:date>
    </item>
  </channel>
</rss>

