<br><div class="gmail_quote">2011/1/16 Vladimir Sokolovsky <span dir="ltr"><<a href="mailto:vlad@dev.mellanox.co.il">vlad@dev.mellanox.co.il</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 01/14/2011 09:56 AM, Dark Charlot wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear experts,<br>
<br>
First I don't know if I am posting in the right mailing list, if not,<br>
please apologize and let me know.<br>
<br>
Here is my problem:<br>
I am running a mandriva cluster ( Mandriva 2010.0 kernel 2.6.31.12), with a<br>
bunch of mellanox cards. I struggled during one week but finally I was able<br>
to install OFED 1.5.1 on my running kernel 2.6.31.12 (linux kernel provided<br>
by the mandriva distribution) and now it works very well and fast !<br>
<br>
Recently I upgraded a part of my cluster with the latest stable kernel<br>
2.6.32.27 downloaded from <a href="http://www.kernel.org" target="_blank">http://www.kernel.org</a>.<br>
<br>
So far, I am not able to build the ofa_kernel from OFED 1.5.1 package for<br>
the kernel 2.6.32.27.<br>
<br>
When I tried to rebuild the RPM, it stops with the following message :<br>
<br>
-------------------------------------------------------------------------------------------------------------------------------------------------<br>
rpm -ivh ofa_kernel-1.5.1-OFED.1.5.1..src.rpm<br>
<br>
cd rpmbuild/SPECS<br>
<br>
rpmbuild -vv -bb ofa_kernel.spec --define 'configure_options --with-core-mod<br>
--with-user_mad-mod --with-user_access-mod --with-addr_trans-mod<br>
--with-mthca-mod --with-mlx4-mod --with-mlx4_en-mod --with-cxgb3-mod<br>
--with-nes-mod ' --define 'build_kernel_ib 1' --define<br>
'build_kernel_ib_devel 1' --define 'KVERSION 2.6.32.27' --define 'K_SRC<br>
/net/direct/rhdata/jcl/linux-2.6.32.27' --define 'network_dir<br>
/etc/sysconfig/network-scripts' --define '_prefix /usr' --define<br>
'__arch_install_post %{nil}'<br>
....<br>
....<br>
</blockquote></div>
snip<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
-------------------------------------------------------------------------------------------------------------------------------------------------<br>
<br>
According to the output, there are some unresolved symbols which I don't<br>
understand.... It looks like I get this unresolved symbols, **only** if I am<br>
using a linux kernel that I manually compiled. If I used a kernel provided<br>
by my distribution, these unresolved symbols vanished....<br>
What I am doing wrong ? Is there specifics options to set when we compile<br>
the linux kernel from sources ?<br>
<br>
Thanks in advance for your help.<br>
<br>
Jean-Charles.<br>
<br>
</blockquote>
<br></div>
Hi Jean-Charles,<br>
First, this is the right mailing list.<br>
Please send me the full compilation log.<br>
<font color="#888888"><br></font></blockquote><div><br> Hi Vladimir, <br><br> You'll find in attachment the compilation log file.<br><br> I used the following command to generate the log file:<br><br>cd rpmbuild/SPECS<br>
rpmbuild -vv -bb ofa_kernel.spec --define 'configure_options --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mthca-mod --with-mlx4-mod --with-mlx4_en-mod --with-cxgb3-mod --with-nes-mod ' --define 'build_kernel_ib 1' --define 'build_kernel_ib_devel 1' --define 'KVERSION 2.6.32.27' --define 'K_SRC /net/direct/rhdata/jcl/linux-2.6.32.27' --define 'network_dir /etc/sysconfig/network-scripts' --define '_prefix /usr' --define '__arch_install_post %{nil}' > log.txt 2>&1<br>
<br>thank you in advance for your help.<br> Jean-Charles <br></div></div><br>