[openfabrics-ewg] SLERT pointer for iser testing

Erez Zilber erezz at voltaire.com
Tue Dec 26 23:11:20 PST 2006


Erez Zilber wrote:
> Alex,
>
> Can you use the patch below to solve the problem with iSER? It is a very simple fix.
>
> diff -u OFED-1.1/build_env.sh OFED-1.1-fix-for-SLERT/build_env.sh
> --- OFED-1.1/build_env.sh	2006-10-19 16:18:25.000000000 +0200
> +++ OFED-1.1-fix-for-SLERT/build_env.sh	2006-12-25 15:35:03.000000000 +0200
> @@ -131,7 +131,7 @@
>  IB_KERNEL_PACKAGES="$BASIC_IB_KERNEL_PACKAGES $KERNEL_TECHNOLOGY_PREVIEW ib_sdp ib_srp" #ib_rds 
>  
>  case ${K_VER} in
> -    2.6.16.21-0.8-smp)
> +    2.6.16.21*)
>      # Currently ISER is supported only on SLES10
>      IB_KERNEL_PACKAGES="$IB_KERNEL_PACKAGES ib_iser"
>      ;;
> @@ -1458,10 +1458,10 @@
>                              OPENIB_PACKAGES=$(echo "$OPENIB_PACKAGES kernel-ib" | tr -s ' ' '\n' | sort -n | uniq)
>                      ;;
>                      ib_iser)
> -                        # Currently ISER is supported only on SLES10 RC1
> +                        # Currently ISER is supported only on SLES10
>                          # 2.6.[1-9][6-9]*)
>                          case ${K_VER} in
> -                        2.6.16.21-0.8-smp)
> +                        2.6.16.21*)
>                              OPENIB_KERNEL_PACKAGES=$(echo "$OPENIB_KERNEL_PACKAGES ib_verbs ${ll_driver} ib_iser" | tr -s ' ' '\n' | sort -n | uniq)
>                              OPENIB_PACKAGES=$(echo "$OPENIB_PACKAGES kernel-ib" | tr -s ' ' '\n' | sort -n | uniq)
>                          ;;
>
> Thanks,
> Erez
>
> Alex Tsariounov wrote:
>   
>> Hi again,
>>
>> I found the problem.  The OFED build-env.sh script which sets up the
>> build environment for the OFED build only wants to build ISER for a
>> SLES10 kernel.
>>
>> Unfortunately, the test for this tests for the kernel version of
>> 2.6.16-0.8-smp from uname -r.
>>
>> This has two problems: 1/ The slert kernel has a different uname -r, and
>> 2/ The updated SLES10 kernel (security updates from NCC) also has a
>> different uname -r.
>>
>> The effect of this is that the ISER module will not get built for either
>> SLERT or an updated SLES10 kernel.
>>
>> So that explains why the ib_iser module is not in the kernel-ib rpm.
>>
>> If you rebuild OFED 1.1, you can build iser, but make sure to edit the
>> build-env.sh script prior to remove the stringent test case.
>>
>> The build-env.sh script should probably use a different method for
>> determining if it's running on SLES10, one that would include both
>> updates to SLES10 and SLERT.
>>
>> Thanks,
>> Alex
>>
>>     

Michael, Vlad,

The patch above fixes a bug in OFED 1.1 installation scripts. iSER could
be installed only on a specific kernel version of SLES 10. The patch
allows it to be installed on any SLES 10 version (i.e SLERT and future
service packs).

This patch was accepted by Novell. Can you add it to OFED 1.1?

Thanks,
Erez






More information about the ewg mailing list