[ewg] Re: [PATCH ofed-1.4.1] NFS-RDMA: rnfs-utils not installed on RHEL5.1
Steve Wise
swise at opengridcomputing.com
Thu Apr 9 14:33:30 PDT 2009
Jon Mason wrote:
> On Thu, Apr 09, 2009 at 04:16:41PM -0500, Steve Wise wrote:
>
>> Jon Mason wrote:
>>
>>> Since the RHEL5.1 kernel is 2.6.18-53.el5, it will fail the install.pl
>>> check for NFS-RDMA compatible kernel version. As all RHEL5 versions
>>> have been backported, the check is no longer necessary and can be
>>> removed.
>>>
>>> Signed-Off-By: Jon Mason <jon at opengridcomputing.com>
>>> ---
>>>
>>> diff --git a/install.pl b/install.pl
>>> index f5cb31d..51aaa63 100755
>>> --- a/install.pl
>>> +++ b/install.pl
>>> @@ -1733,13 +1733,9 @@ sub set_availability
>>> $packages_info{'rnfs-utils-debuginfo'}{'available'} = 1;
>>> }
>>> elsif ($kernel =~ m/el5/) {
>>> - my $minor = (split '-', $kernel)[1];
>>> - $minor =~ s/(\.el5).*//;
>>> - if ($minor > 53) {
>>> - $kernel_modules_info{'nfsrdma'}{'available'} = 1;
>>> - $packages_info{'rnfs-utils'}{'available'} = 1;
>>> - $packages_info{'rnfs-utils-debuginfo'}{'available'} = 1;
>>> - }
>>> + $kernel_modules_info{'nfsrdma'}{'available'} = 1;
>>> + $packages_info{'rnfs-utils'}{'available'} = 1;
>>> + $packages_info{'rnfs-utils-debuginfo'}{'available'} = 1;
>>> }
>>>
>>>
>> I would change this to allow >= 53 only. There is a RHEL5 initial
>> release that was older than 53. And nfsrdma isn't backported to that
>> kernel.
>>
>
> The kernel in RHEL5.1 is 2.6.18-53.el. Is there a RHEL5.0? If so,
> there are no backports in kernel_patches/backport for it specifically,
> and thus it might now work at all.
>
>
It uses the 2.6.18_FC6 backport. See ofed_scripts/get_backport_dir.sh.
You need the >= 53.
Steve.
More information about the ewg
mailing list