[ofa-general] [PATCH] LNXI Fixed ofed_scripts configure to selectsp4 patches for SLES9 kernel with minor versions equalor greater than 305
Vladimir Sokolovsky
vlad at dev.mellanox.co.il
Sun Dec 30 01:07:47 PST 2007
git://git.openfabrics.org/ofed_1_2/linux-2.6.git
- its my git tree,
David can't commit his patches to this tree (he does not have permissions)...
So, probably he have a clone of my tree somewhere.
Regards,
Vladimir
Moshe Kazir wrote:
> He wrote ->
>
>> commit 3db835ee0edb792b120ba10c8066e3d4409de2d7
>>
>> git://git.openfabrics.org/ofed_1_2/linux-2.6.git
>
> Moshe
> ____________________________________________________________
> Moshe Katzir | +972-9971-8639 (o) | +972-52-860-6042 (m)
>
> Voltaire - The Grid Backbone
>
> www.voltaire.com
>
>
>
> -----Original Message-----
> From: general-bounces at lists.openfabrics.org
> [mailto:general-bounces at lists.openfabrics.org] On Behalf Of Vladimir
> Sokolovsky
> Sent: Sunday, December 30, 2007 9:37 AM
> To: David B. Anderson
> Cc: general at lists.openfabrics.org
> Subject: Re: [ofa-general] [PATCH] LNXI Fixed ofed_scripts configure to
> selectsp4 patches for SLES9 kernel with minor versions equalor greater
> than 305
>
> Hi David,
> Where can I get your patches?
>
> Regards,
> Vladimir
>
> David B. Anderson wrote:
>> Hi Vladimir,
>>
>> The four patches named below are what I'm using to get the OFED 1.2.5
>> kernel to build for SLES9 SP4.
>>
>> commit 3db835ee0edb792b120ba10c8066e3d4409de2d7
>>
>> git://git.openfabrics.org/ofed_1_2/linux-2.6.git
>>
>>
>> The patches are:
>>
>> [PATCH 1/4] LNXI changed ofed_scripts configure to select sp4 patches
>>
>> [PATCH 2/4] LNXI created backport patch addr_8802_to_2_6_5-7_308
>>
>> [PATCH 3/4] LNXI fixed backport/2.6.5_sles9_sp4/rds_to_2_6_9.patch
>>
>> [PATCH 4/4] LNXI fixed backport/2.6.5_sles9_sp4/cxg3_to_2_6_20.patch
>>
>>
>> I've tested these on my cluster.
>>
>> Note: I changed your patch to the ofed_scripts/configure script, so
>> that even if the SLES9
>>
>> kernel is greater than 309 it will not revert to using SP3 patches.
>>
>>
>> David
>>
>>
>> Vladimir Sokolovsky wrote:
>>> David B. Anderson wrote:
>>>> I've all of these patches plus the following patch
>>>>
>>>> kernel_patches/backport/2.6.5_sles9_sp4/cxgb3_remove_eeh.patch
>>>>
>>>> My current git repo is
>>>> git://git.openfabrics.org/ofed_1_2/linux-2.6.git
>>>> commit: 6974c285e6fb06264f570f9cf919865bab66c9e6
>>>>
>>>> My patch that I posted before fixes the kernel configure script so
>>>> that it applies 2.6.5_sles9_sp4 patches for the SP4 release kernel
>>>> of
>>>> 2.6.5-7.308 and above. The configure patch from
>>>> FED_1.2.5_sles9_sp4_configure.diff has 2.6.5-7.305* as the only
>>>> valid
>>>> SP4 kernel which is incorrect. I get the same compiler error as
> before.
>>>>
>>>>
>>>> Moshe Kazir wrote:
>>>>> See patches in the attached message.
>>>>>
>>>>> It was applied by Vlad.
>>>>>
>>>>> Moshe
>>>>>
>>>>> ____________________________________________________________
>>>>> Moshe Katzir | +972-9971-8639 (o) | +972-52-860-6042 (m)
>>>>>
>>>>> Voltaire - The Grid Backbone
>>>>>
>>>>> www.voltaire.com
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: general-bounces at lists.openfabrics.org
>>>>> [mailto:general-bounces at lists.openfabrics.org] On Behalf Of David
> B.
>>>>> Anderson
>>>>> Sent: Saturday, December 15, 2007 3:31 AM
>>>>> To: general at lists.openfabrics.org; vlad at mellanox.co.il
>>>>> Subject: [ofa-general] [PATCH] LNXI Fixed ofed_scripts configure to
>
>>>>> select sp4 patches for SLES9 kernel with minor versions equal or
>>>>> greater than 305
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I've created the following patch for OFED 1.2.5.4 to have the
>>>>> kernel for
>>>>>
>>>>> SLES9 SP4 recognized (2.6.5-7.308).
>>>>>
>>>>> Even with the patch I then had two back port patches not apply
>>>>> cleanly (cxg3_to_2_6_20.patch, rds_to_2_6_9.patch). I hand patched
>>>>> them but now I'm getting the following compiler errors:
>>>>>
>>>>> In file included from
>>>>> /usr/src/linux-2.6.5-7.308/include/linux/module.h:10,
>>>>> from
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/kernel_addons
>>>>> /back
>>>>>
>>>>> port/2.6.5_sles9_sp4/include/linux/module.h:4,
>>>>> from
>>>>> /usr/src/linux-2.6.5-7.308/include/linux/device.h:21,
>>>>> from
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/kernel_addons
>>>>> /back
>>>>>
>>>>> port/2.6.5_sles9_sp4/include/linux/device.h:4,
>>>>> from
>>>>> /usr/src/linux-2.6.5-7.308/include/linux/netdevice.h:38,
>>>>> from
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/kernel_addons
>>>>> /back
>>>>>
>>>>> port/2.6.5_sles9_sp4/include/linux/netdevice.h:4,
>>>>> from
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/drivers/infin
>>>>> iband
>>>>>
>>>>> /core/addr.c:32:
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/kernel_addons
>>>>> /back
>>>>>
>>>>> port/2.6.5_sles9_sp4/include/linux/sched.h:8: warning: static
>>>>> declaration for `wait_for_completion_timeout' follows non-static
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/drivers/infin
>>>>> iband
>>>>>
>>>>> /core/addr.c:67: warning: initialization from incompatible pointer
>>>>> type
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/drivers/infin
>>>>> iband
>>>>>
>>>>> /core/addr.c: In function `addr_resolve_remote':
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/drivers/infin
>>>>> iband
>>>>>
>>>>> /core/addr.c:192: error: structure has no member named `idev'
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/drivers/infin
>>>>> iband
>>>>>
>>>>> /core/addr.c:193: error: structure has no member named `idev'
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/drivers/infin
>>>>> iband
>>>>>
>>>>> /core/addr.c:197: error: structure has no member named `idev'
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/drivers/infin
>>>>> iband
>>>>>
>>>>> /core/addr.c: At top level:
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/kernel_addons
>>>>> /back
>>>>>
>>>>> port/2.6.5_sles9_sp4/include/linux/device.h:48: warning:
>>>>> `class_create' defined but not used
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/kernel_addons
>>>>> /back
>>>>>
>>>>> port/2.6.5_sles9_sp4/include/linux/device.h:82: warning:
>>>>> `class_destroy' defined but not used
>>>>> /home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/kernel_addons
>>>>> /back
>>>>>
>>>>> port/2.6.5_sles9_sp4/include/linux/device.h:108: warning:
>>>>> `class_device_create' defined but not used
>>>>> make[6]: ***
>>>>> [/home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/drivers/infi
>>>>> niban
>>>>>
>>>>> d/core/addr.o] Error 1
>>>>> make[5]: ***
>>>>> [/home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/drivers/infi
>>>>> niban
>>>>>
>>>>> d/core] Error 2
>>>>> make[4]: ***
>>>>> [/home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default/drivers/infi
>>>>> niban
>>>>>
>>>>> d] Error 2
>>>>> make[3]: ***
>>>>> [_module_/home/danderson/rpmbuild/BUILD/ofa_kernel/obj/default]
>>>>> Error 2
>>>>> make[2]: *** [modules] Error 2
>>>>> make[1]: *** [modules] Error 2
>>>>> make[1]: Leaving directory
>>>>> `/usr/src/linux-2.6.5-7.308-obj/x86_64/default'
>>>>> make: *** [kernel] Error 2
>>>>>
>>>>> Does anyone have OFED 1.2.5.4 building for SLES 9 SP4?
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> -------------------------------------------------------------------
>>>>> -----
>>>>>
>>>>>
>>>>> Subject:
>>>>> [ofa-general] OFED-1.2.5 backport patches for SLES9 SP4
>>>>> From:
>>>>> "Moshe Kazir" <moshek at voltaire.com>
>>>>> Date:
>>>>> Sun, 25 Nov 2007 09:59:26 +0200
>>>>> To:
>>>>> "Vladimir Sokolovsky" <vlad at mellanox.co.il>,
>>>>> <general at lists.openfabrics.org>
>>>>>
>>>>> To:
>>>>> "Vladimir Sokolovsky" <vlad at mellanox.co.il>,
>>>>> <general at lists.openfabrics.org>
>>>>>
>>>>>
>>>>> The attached files do the work.
>>>>>
>>>>> OFED_1.2.5_sles9_sp4_configure.diff include the changes in the
>>>>> configure file.
>>>>> OFED_1.2.5_sles9_sp4_backport.diff include the canges requiered in
>
>>>>> the kernel_patche and kernel_addons directories.
>>>>>
>>>>> Moshe
>>>>> ____________________________________________________________
>>>>> Moshe Katzir | +972-9971-8639 (o) | +972-52-860-6042 (m)
>>>>>
>>>>> Voltaire - The Grid Backbone
>>>>>
>>>>> www.voltaire.com
>>>>>
>>> Hi David,
>>> Please try the latest OFED-1.2.5.4-20071219-0824.tgz build on your
>>> SLES9SP4.
>>>
>>> http://www.openfabrics.org/builds/connectx/OFED-1.2.5.4-20071219-0824
>>> .tgz
>>>
>>>
>>> Thanks,
>>> Vladimir
>>>
>>
>
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit
> http://openib.org/mailman/listinfo/openib-general
>
More information about the general
mailing list