Did you build the LKM by giving the ARCH=um option too ?<br><br>Cheers,<br>  - G<br><br><br><div class="gmail_quote">On Sat, Sep 17, 2011 at 4:22 PM, Lakshmipathi.G <span dir="ltr">&lt;<a href="mailto:lakshmipathi.g@gmail.com">lakshmipathi.g@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi -<div>I build a custom kernel module on my host machine FC12 2.6.32.26-175.fc12.x86_64.</div><div><br></div><div>Download the src rpm of this kernel and built it as mention here <a href="http://wiki.centos.org/HowTos/I_need_the_Kernel_Source#head-a8dae925eec15786df9f6f8c918eff16bf67be0d" target="_blank">http://wiki.centos.org/HowTos/I_need_the_Kernel_Source#head-a8dae925eec15786df9f6f8c918eff16bf67be0d</a></div>


<div><br></div><div>Now from this src I have created a uml kernel &amp; logged into it. Then copied my custom module from host machine into uml.</div><div><br></div><div>insmod says </div><div><div># insmod myfs.ko</div>

<div>
myfs: version magic &#39;2.6.32.26-175.fc12.x86_64 SMP mod_unload &#39; should be &#39;2.6.32.26 mod_unload &#39;</div><div>insmod: error inserting &#39;myfs.ko&#39;: -1 Invalid module format</div><div><br></div><div>Any one tried using UML with Fedora and adding custom modules with it?</div>


<div><br></div></div><font color="#888888"><div><br clear="all"><div><br></div>-- <br>----<br>Cheers,<br>Lakshmipathi.G<br>FOSS Programmer.<br><a href="http://www.giis.co.in" target="_blank">www.giis.co.in</a><br>
</div>
</font><br>_______________________________________________<br>
india mailing list<br>
<a href="mailto:india@lists.fedoraproject.org">india@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/india" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/india</a><br></blockquote></div><br>