[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:16:41 PDT 2009
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.
Steve.
>
> # mvapich, mvapich2 and openmpi
>
More information about the ewg
mailing list