[ewg] Re: [ofa-general] build failure on nightly tarball -- bonding

Moni Shoua monisonlists at gmail.com
Sun Mar 4 07:44:14 PST 2007


Vladimir Sokolovsky wrote:
> Moni Shoua wrote:
>> Vladimir Sokolovsky wrote:
>>  
>>> Moni Shoua wrote:
>>>    
>>>> Moni Shoua wrote:
>>>>  
>>>>      
>>>>> Andrew Friedley wrote:
>>>>>           
>>>>>> The chelsio build errors from yesterday appear to be gone, though now
>>>>>> I'm seeing errors building the IB bonding code with the 3/2 alpha
>>>>>> tarball -- error below.  I'm wondering, is there a way to selectively
>>>>>> avoid building things like this that seem to be optional, as a
>>>>>> tarball
>>>>>> user?
>>>>>>
>>>>>> Andrew
>>>>>>                 
>>>>> For the error messages.... It seems to me that the problem is one
>>>>> that I have already fixed.
>>>>> The corrected source RPM is in my home dir.
>>>>>             
>>>> Hi Vlad,
>>>>
>>>> 1. Is there a way to tell OFED build/install not to compile bonding?
>>>>         
>>> Yes, see build_env.sh:
>>>
>>> 216 # Add bonding support for RH4.0U3 and SLES10
>>> 217 case ${K_VER} in
>>> 218     2.6.16.*-*-*|2.6.9-34.EL*)
>>> 219         IB_ALL_PACKAGES="$IB_ALL_PACKAGES ib-bonding"
>>> 220     ;;
>>> 221 esac
>>> ...
>>> 2049                     ib_bonding)
>>> 2050                         # Add bonding support for RH4.0U3 and
>>> SLES10
>>> 2051                         case ${K_VER} in
>>> 2052                             2.6.16.*-*-*|2.6.9-34.EL*)
>>> 2053                                 EXTRA_PACKAGES=$(echo
>>> "$EXTRA_PACKAGES ib-bonding" | tr -s ' ' '\n' | sort -n | uniq)
>>> 2054                             ;;
>>> 2055                             *)
>>> 2056                                 warn_echo "ib-bonding is not
>>> supported on this kernel"
>>> 2057                             ;;
>>> 2058                         esac
>>> 2059                     ;;
>>>
>>>     
>> So I understand that ib-bonding will compile and install if kernel is
>> in the list
>> of supported kernels. Am I right?
>> Isn't there a a flag in ofed.conf (or something like that)?
>>   
> ib-bonding can be installed on server with kernel 2.6.16.*-*-* or
> 2.6.9-34.EL*.
> If you will put "ib_bonding=y" in ofed.conf and your kernel is not
> 2.6.16.*-*-* or 2.6.9-34.EL* then you will get the following warning:
> "ib-bonding is not supported on this kernel" and it will not be
> compiled/installed.
> 
> Regards,
> Vladimir
> 
> 
> 
> 
> 
OK, thanks.
BTW you can add the kernel of RHEL5 to the list. 





More information about the ewg mailing list