[OpenAFS] kmod rpm versions?

Stephan Wiesand stephan.wiesand@desy.de
Fri, 7 Aug 2015 17:02:37 +0200


> On 07 Aug 2015, at 16:04, John Hascall <john@iastate.edu> wrote:
>=20
> I am a BSD refugee who is new to AFS on RHEL, so please excuse this =
question if it is dumb.
>=20
> I installed a new RHEL6 box and the kernel version is:
>=20
> 2.6.32-573.el6.x86_64
>=20
> so the kmod rpm refuses to install:
>=20
> (2/2): kmod-openafs-1.6.13-1.2.6.32_504.30.3.el6.x86_64. | 320 kB     =
00:00
> =
--------------------------------------------------------------------------=
------
> Total                                           927 kB/s |  29 MB     =
00:32
> Running rpm_check_debug
> Running Transaction Test
>=20
>=20
> Transaction Check Error:
>   package kernel-2.6.32-573.el6.x86_64 (which is newer than =
kernel-2.6.32-504.30.3.el6.x86_64) is already installed
>=20
> How do I proceed from here?

The kernel module for the latest EL6 kernel hasn't been built yet, =
presumably because that kernel is not yet available in the ordinary =
CentOS updates channel.

To build yourself, make sure these are installed (probably a bit more =
than you need):

rpm-build
make
pam-devel
gcc
flex
bison
ncurses-devel
perl
redhat-rpm-config
autoconf
automake
fuse-devel
krb5-devel

Then rebuild the srpm:

rpmbuild --rebuild --define "build_modules 1" --define "kernvers =
2.6.32-573.el6.x86_64" =
http://www.openafs.org/dl/openafs/1.6.13/openafs-1.6.13-1.src.rpm

- Stephan