[ewg] ofed 1.5.1 with kernel 2.6.32.27

Dark Charlot jcldc13 at gmail.com
Mon Jan 17 00:29:44 PST 2011


2011/1/16 Vladimir Sokolovsky <vlad at dev.mellanox.co.il>

> On 01/14/2011 09:56 AM, Dark Charlot wrote:
>
>>  Dear experts,
>>
>>  First I don't know if I am posting in the right mailing list, if not,
>> please apologize and let me know.
>>
>> Here is my problem:
>> I am running a mandriva cluster ( Mandriva 2010.0 kernel 2.6.31.12), with
>> a
>> bunch of mellanox cards. I struggled during one week but finally I was
>> able
>> to install OFED 1.5.1 on my running kernel  2.6.31.12 (linux kernel
>> provided
>> by the mandriva distribution) and now it works very well and fast !
>>
>> Recently I upgraded a part of my cluster with the latest stable kernel
>> 2.6.32.27 downloaded from http://www.kernel.org.
>>
>> So far, I am not able to build the ofa_kernel from OFED 1.5.1 package for
>> the kernel 2.6.32.27.
>>
>> When I tried to rebuild the RPM, it stops with the following message :
>>
>>
>> -------------------------------------------------------------------------------------------------------------------------------------------------
>> rpm -ivh ofa_kernel-1.5.1-OFED.1.5.1..src.rpm
>>
>> cd rpmbuild/SPECS
>>
>> 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}'
>> ....
>> ....
>>
> snip
>
> -------------------------------------------------------------------------------------------------------------------------------------------------
>>
>>  According to the output, there are some unresolved symbols which I don't
>> understand.... It looks like I get this unresolved symbols, **only** if I
>> am
>> using a linux kernel that I manually compiled. If I used a kernel provided
>> by my distribution, these unresolved symbols vanished....
>> What I am doing wrong ? Is there specifics options to set when we compile
>> the linux kernel from sources ?
>>
>>  Thanks in advance for your help.
>>
>>    Jean-Charles.
>>
>>
> Hi Jean-Charles,
> First, this is the right mailing list.
> Please send me the full compilation log.
>
>
  Hi Vladimir,

  You'll find in attachment the compilation log file.

 I used the following command to generate the log file:

cd rpmbuild/SPECS
 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

thank you in advance for your help.
    Jean-Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20110117/310aa041/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.txt.gz
Type: application/x-gzip
Size: 20566 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20110117/310aa041/attachment.bin>


More information about the ewg mailing list