<?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 Writing a kernel module for Xeon Phi in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Writing-a-kernel-module-for-Xeon-Phi/m-p/1018609#M37170</link>
    <description>&lt;P&gt;Hello, I have written a simple kernel-space memory allocator module for Xeon Phi, but I have yet to figure out how it builds.&lt;/P&gt;

&lt;P&gt;It should compile from the host, but there is no Xeon Phi-specific build /lib/modules/ folder.&lt;/P&gt;

&lt;P&gt;I copied one from the ramfs in running Xeon Phi (2.6.38.8+mpss3.4.2), but then there is no 'build' folder initialized.&lt;/P&gt;

&lt;P&gt;Is there any documentation or an article to guide me through?&lt;/P&gt;</description>
    <pubDate>Wed, 09 Sep 2015 06:53:00 GMT</pubDate>
    <dc:creator>Jun_Hyun_S_</dc:creator>
    <dc:date>2015-09-09T06:53:00Z</dc:date>
    <item>
      <title>Writing a kernel module for Xeon Phi</title>
      <link>https://community.intel.com/t5/Software-Archive/Writing-a-kernel-module-for-Xeon-Phi/m-p/1018609#M37170</link>
      <description>&lt;P&gt;Hello, I have written a simple kernel-space memory allocator module for Xeon Phi, but I have yet to figure out how it builds.&lt;/P&gt;

&lt;P&gt;It should compile from the host, but there is no Xeon Phi-specific build /lib/modules/ folder.&lt;/P&gt;

&lt;P&gt;I copied one from the ramfs in running Xeon Phi (2.6.38.8+mpss3.4.2), but then there is no 'build' folder initialized.&lt;/P&gt;

&lt;P&gt;Is there any documentation or an article to guide me through?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 06:53:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Writing-a-kernel-module-for-Xeon-Phi/m-p/1018609#M37170</guid>
      <dc:creator>Jun_Hyun_S_</dc:creator>
      <dc:date>2015-09-09T06:53:00Z</dc:date>
    </item>
    <item>
      <title>Nevermind, I found a nice,</title>
      <link>https://community.intel.com/t5/Software-Archive/Writing-a-kernel-module-for-Xeon-Phi/m-p/1018610#M37171</link>
      <description>&lt;P&gt;Nevermind, I found a nice, succinct solution by Mr. Powers from Intel here:&amp;nbsp;https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/505659&lt;/P&gt;

&lt;P&gt;The sequence of commands works, except that I had to prefix CROSS_COMPILE with the full path (/usr/linux-k1om-4.7/bin/) and fuse.ko somehow didn't make it to the module build path: /lib/modules/2.6.38.8+mpss3.4.2/, and an error showed upon 'sudo make modules install'. I had to copy fuse.ko from the kernel build directory. Other than that, everything worked like a charm.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 15:58:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Writing-a-kernel-module-for-Xeon-Phi/m-p/1018610#M37171</guid>
      <dc:creator>Jun_Hyun_S_</dc:creator>
      <dc:date>2015-09-11T15:58:03Z</dc:date>
    </item>
  </channel>
</rss>

