On Fri, Jan 30, 2009 at 12:35 PM, Ian Kent &lt;<a href="mailto:raven@themaw.net">raven@themaw.net</a>&gt; wrote:<br>&gt;<br>[...]<br>&gt; &gt;<br>&gt; &gt; So, following the instructions here:<br>&gt; &gt; <a href="http://wiki.centos.org/HowTos/Custom_Kernel">http://wiki.centos.org/HowTos/Custom_Kernel</a>, &nbsp;I did the following:<br>
&gt; &gt;<br>&gt; &gt; 1. Added the patch ( unionfs-2.4_for_2.6.18-RHEL5.diff ) to<br>&gt; &gt; ~/rpmbuild/SOURCES, and referenced it in<br>&gt; &gt; ~/rpmbuild/SPECS/kernel-2.6.spec .<br>&gt; &gt;<br>&gt; &gt; 2.Turned off the KABI check and provided a new buildid in the<br>
&gt; &gt; kernel-2.6.spec in ~/rpmbuild/SPECS<br>&gt; &gt;<br>&gt; &gt; 3. Build using rpmbuild -bb --target=`uname -m` --with baseonly<br>&gt; &gt; kernel-2.6.spec<br>&gt;<br>&gt; Right, but I didn&#39;t seem to be able to disable the kabichk either on the<br>
&gt; command line or in the spec file itself, a bit odd.<br>&gt;<br><br>For disabling the kabi check, I followed the instructions given in CentOS HowTo verbatim:<br><a href="http://wiki.centos.org/HowTos/Custom_Kernel">http://wiki.centos.org/HowTos/Custom_Kernel</a>, Section 3 (Modifying the kernel spec file) .<br>
<br><br><br>&gt; But, lets not forget that if you use these rpms later some time and you<br>&gt; have another third party module on the machine that relies on this kabi<br>&gt; function then it will break and you will probably have forgotten the<br>
&gt; kabi issue by then, caught!!! It&#39;s best to at least maintain the kabi in<br>&gt; the RHEL kernel if possible.<br><br>Correct.<br>Even if I try to spin a custom kernel ( and thereby forgo the kabi ), it may well not work !<br>
<br>Is it possible to apply the unionfs patch to RHEL kernel, without breaking the ABI - I guess not !<br><br>&gt; &gt;<br>&gt; &gt; and the build went fine. I haven&#39;t yet tried the new kernel and<br>&gt; &gt; module, but Erez mentioned in one of the messages about XATTR support<br>
&gt; &gt; in unionfs thus:<br>&gt; &gt;<br>&gt; &gt; <a href="http://www.fsl.cs.sunysb.edu/pipermail/unionfs/2008-May/005849.html">http://www.fsl.cs.sunysb.edu/pipermail/unionfs/2008-May/005849.html</a><br>&gt; &gt;<br>&gt; &gt; &gt;Andy, there&#39;s no xattr support in unionfs for 2.6.18 (the VFS was<br>
&gt; &gt; lacking<br>&gt; &gt; &gt;some vital support, I don&#39;t recommend it). &nbsp;So plz turn off<br>&gt; &gt; &gt;CONFIG_UNION_FS_XATTR.<br>&gt; &gt;<br>&gt; &gt; However, Without the CONFIG_UNION_FS_XATTR=y insertion into spec file,<br>
&gt; &gt; the build fails !!<br>&gt; &gt;<br>&gt; &gt; Hence I&#39;m wondering whether will this workaround work ? And do we have<br>&gt; &gt; a solution to this issue already, which I may have missed ?<br>&gt;<br>&gt; Have to wait a while and see if I can build it I guess.<br>
&gt;<br>&gt; Ian<br>&gt;<br><br>Tried the new kernel... its kernel panic ! <br>I sensed that unionfs design is in conflict with the VFS layer, is that issue resolved ?<br><br><br><br>