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

Vladimir Sokolovsky vlad at mellanox.co.il
Thu Mar 29 08:33:06 PDT 2007


On Wed, 2007-03-28 at 18:56 +0200, Erez Zilber wrote:
> 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
> 
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


Hi Erez,
Your patches are applied.
Also, kernel_addons/backport/2.6.16_sles10_sp1/include/linux/skbuff.h
fixed: (Removed #define gso_size tso_size).

Please try OFED-1.2-20070329-0757.tgz on SLES10 SP1.
Thanks,


-- 
Vladimir Sokolovsky <vlad at mellanox.co.il>
Mellanox Technologies Ltd.



More information about the ewg mailing list