[ofa-general] el5.3 backport of 1.4(.0)

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Tue Feb 24 03:26:43 PST 2009


Stijn De Weirdt wrote:
>> Stijn De Weirdt wrote:
>>     
>>> hi all,
>>>
>>> i am preparing an upgrade from SL5.2 to SL5.3 (which are EL5 clones).
>>> one thing we would also like to look at is switching from OFED 1.3.2 to
>>> OFED 1.4. and one thing i noticed is that the necessary 5.3 backport
>>> fixes only exist in the current 1.4.1 daily snapshots.
>>> did anyone already try to backport the el5.3 backport fixes from 1.4.1
>>> to 1.4.0?
>>>
>>> many thanks,
>>>
>>> stijn
>>>
>>>   
>>>       
>> Its the same tree so backports of RHEL 5.3 from 1.4.1 should work on 1.4 too
>>
>>     
> hi tziporet,
>
> i actually already tried that, moving the following files from a recent
> 1.4.1 daily to the 1.4.0 ofa_kernel src rpm
> ofed_scripts/get_backport_dir.sh
> kernel_addons/backport/2.6.18-EL5.3/
> kernel_addons/backport/2.6.18-EL5.3/
>
> but rebuilding this gave the following error:
> (i have to say that the kernel i used was 2.6.18-128.1.1 instead the
> original el5.3 2.6.18-128)
>
>         /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/kernel_patches/backport/2.6.18-EL5.3/mlx4_en_0099_no_multiqueue.patch
> patching file drivers/net/mlx4/en_netdev.c
> Reversed (or previously applied) patch detected!  Assume -R? [n]
> Apply anyway? [n]
> Skipping patch.
> 2 out of 2 hunks ignored -- saving rejects to file
> drivers/net/mlx4/en_netdev.c.rej
> patching file drivers/net/mlx4/en_tx.c
> Reversed (or previously applied) patch detected!  Assume -R? [n]
> Apply anyway? [n]
> Skipping patch.
> 4 out of 4 hunks ignored -- saving rejects to file
> drivers/net/mlx4/en_tx.c.rej
> patching file drivers/net/mlx4/mlx4_en.h
> Reversed (or previously applied) patch detected!  Assume -R? [n]
> Apply anyway? [n]
> Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file
> drivers/net/mlx4/mlx4_en.h.rej
> Failed to apply
> patch: /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/kernel_patches/backport/2.6.18-EL5.3/mlx4_en_0099_no_multiqueue.patch
>
> it is also a patch file that doesn't exist in the el5.2 backport, so i
> was thinking that this was a patch for 1.4.1, not 1.4.0, that's why i
> asked it here.
>
> anyway, many thanks for looking into this!
>
> stijn
>
>   
Hi Stijn,

You have, probably, copied RHEL 5.3 backports into ofa_kernel-1.4 
directory where the patches (RHEL5.0) already were applied.

In any case, it is better to take the latest ofa_kernel src rpm instead 
of updating source rpm coming from OFED-1.4.
The difference is RHEL5.3 support and some bug fixes (see git log).

Regards,
Vladimir



More information about the general mailing list