[ewg] Re: Will SLES 10 sp1 be supported in OFED 1.2

Erez Zilber erezz at voltaire.com
Wed Mar 28 09:56:55 PDT 2007


Erez Zilber wrote:
>
> Michael S. Tsirkin wrote:
> >> --- ofa_kernel-1.2/configure.orig    2007-03-21 13:45:41.000000000
> +0200
> >> +++ ofa_kernel-1.2/configure 2007-03-21 14:27:20.000000000 +0200
> >> @@ -202,7 +202,15 @@ get_backport_dir()
> >>                  echo 2.6.15
> >>          ;;
> >>          2.6.16.*-*-*)
> >> -                echo 2.6.16_sles10
> >> +                sp=$(grep PATCHLEVEL /etc/SuSE-release | cut -d" "
> -f3)
> >> +                case ${sp} in
> >> +                    1)
> >> +                        echo 2.6.16_sles10_sp1
> >> +                    ;;
> >> +                    *)
> >> +                        echo 2.6.16_sles10
> >> +                    ;;
> >> +                esac
> >>          ;;
> >>          2.6.16*)
> >>                  echo 2.6.16
> >>
> >>      b) This patch is based on a patch by Preggna S
> (http://lists.openfabrics.org/pipermail/ewg/2007-February/002573.html):
> >>
> >
> > This approach breaks non-native builds.
> > We need to limit ourselves to testing the kernel version.
> >
>
> No problem. BTW - what do you mean by saying "non-native builds", and
> why does this approach break them?
>
> > I expect we can for now say that linux-2.6.16.X-*-* is sles10
> > for X < 37 and sp1 for X>= 37.
> >
>
> Here's a patch according to what you (Michael) suggest. If it's ok,
> can Vlad apply the 2 patches and the other fixes that I mentioned?
>
> --- ofa_kernel-1.2/configure.orig       2007-03-21 13:45:41.000000000
> +0200
> +++ ofa_kernel-1.2/configure    2007-03-25 11:24:00.000000000 +0200
> @@ -202,7 +202,12 @@ get_backport_dir()
>                  echo 2.6.15
>          ;;
>          2.6.16.*-*-*)
> -                echo 2.6.16_sles10
> +                minor=$(echo $KVERSION | cut -d"." -f4 | cut -d"-" -f1)
> +                if [ $minor -lt 37 ]; then
> +                        echo 2.6.16_sles10
> +                else
> +                        echo 2.6.16_sles10_sp1
> +                fi
>          ;;
>          2.6.16*)
>                  echo 2.6.16
>  
>
>
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>
Vlad,

Can you apply these patches?

Thanks,
Erez




More information about the ewg mailing list