[OpenAFS] kmod rpm versions?

Jason Edgecombe jwedgeco@uncc.edu
Fri, 7 Aug 2015 10:13:46 -0400


--001a1134946caae33b051cb93fbb
Content-Type: text/plain; charset=UTF-8

Hi John,

kmod's are fun like that.  Each kmod RPM is linked to a specific tuple of
kernel and openafs version. Installing a kmod for an older kernel version
will try to install the older kernel and fail as you are seeing. You need
to find/compile and install the
kmod-openafs-1.6.13-1.2.6.32_573.30.3.el6.x86_64 RPM to work with your
current kernel. If you're fine with having a compiler and kernel headers on
the machine, then you can use dkms instead of kmod, but that's your choice.

To have openafs work, You must have either dkms or kmod with a matched
kernel version.

I forgot to mention that you can use pre-compiled modules with dkms, but
you might as well compile your own kmod RPM's at that point.

Jason

---------------------------------------------------------------------------
Jason Edgecombe | Linux Administrator
UNC Charlotte | The William States Lee College of Engineering
9201 University City Blvd. | Charlotte, NC 28223-0001
Phone: 704-687-1943
jwedgeco@uncc.edu | http://engr.uncc.edu |  Facebook
---------------------------------------------------------------------------
If you are not the intended recipient of this transmission or a person
responsible for delivering it to the intended recipient, any disclosure,
copying, distribution, or other use of any of the information in this
transmission is strictly prohibited. If you have received this transmission
in error, please notify me immediately by reply e-mail or by telephone at
704-687-1943.  Thank you.

On Fri, Aug 7, 2015 at 10:04 AM, John Hascall <john@iastate.edu> wrote:

> I am a BSD refugee who is new to AFS on RHEL, so please excuse this
> question if it is dumb.
>
> I installed a new RHEL6 box and the kernel version is:
>
> 2.6.32-573.el6.x86_64
>
> so the kmod rpm refuses to install:
>
> (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
>
>
> 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
>
> How do I proceed from here?
>
> Thanks,
> John
>

--001a1134946caae33b051cb93fbb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif">Hi John,<br><br>kmod&#39;s are fun like that.=C2=A0 Eac=
h kmod RPM is linked to a specific tuple of kernel and openafs version. Ins=
talling a kmod for an older kernel version will try to install the older ke=
rnel and fail as you are seeing. You need to find/compile and install the k=
mod-openafs-1.6.13-1.2.6.32_573.30.3.el6.x86_64 RPM to work with your curre=
nt kernel. If you&#39;re fine with having a compiler and kernel headers on =
the machine, then you can use dkms instead of kmod, but that&#39;s your cho=
ice.<br><br></div><div class=3D"gmail_default" style=3D"font-family:arial,h=
elvetica,sans-serif">To have openafs work, You must have either dkms or kmo=
d with a matched kernel version.<br><br></div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif">I forgot to mention that y=
ou can use pre-compiled modules with dkms, but you might as well compile yo=
ur own kmod RPM&#39;s at that point.<br><br></div><div class=3D"gmail_defau=
lt" style=3D"font-family:arial,helvetica,sans-serif">Jason<br></div></div><=
div class=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"gmail_signat=
ure"><div dir=3D"ltr">-----------------------------------------------------=
----------------------<br>
Jason Edgecombe | Linux Administrator<br>
UNC Charlotte | The William States Lee College of Engineering<br>
9201 University City Blvd. | Charlotte, NC 28223-0001<br>
Phone: <a href=3D"tel:704-687-1943" value=3D"+17046871943" target=3D"_blank=
">704-687-1943</a><br>
<a href=3D"mailto:jwedgeco@uncc.edu" target=3D"_blank">jwedgeco@uncc.edu</a=
> | <a href=3D"http://engr.uncc.edu" target=3D"_blank">http://engr.uncc.edu=
</a> | =C2=A0Facebook<br>
---------------------------------------------------------------------------=
<br>
If you are not the intended recipient of this transmission or a person=20
responsible for delivering it to the intended recipient, any disclosure,
 copying, distribution, or other use of any of the information in this=20
transmission is strictly prohibited. If you have received this=20
transmission in error, please notify me immediately by reply e-mail or=20
by telephone at<br>
<a href=3D"tel:704-687-1943" value=3D"+17046871943" target=3D"_blank">704-6=
87-1943</a>.=C2=A0 Thank you.</div></div></div>
<br><div class=3D"gmail_quote">On Fri, Aug 7, 2015 at 10:04 AM, John Hascal=
l <span dir=3D"ltr">&lt;<a href=3D"mailto:john@iastate.edu" target=3D"_blan=
k">john@iastate.edu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana=
,sans-serif">I am a BSD refugee who is new to AFS on RHEL, so please excuse=
 this question if it is dumb.<br><br>I installed a new RHEL6 box and the ke=
rnel version is:<br><br><div style=3D"margin-left:40px">2.6.32-573.el6.x86_=
64<br></div><br></div><div class=3D"gmail_default" style=3D"font-family:ver=
dana,sans-serif">so the kmod rpm refuses to install:<br><br><div style=3D"m=
argin-left:40px">(2/2): kmod-openafs-1.6.13-1.2.6.32_504.30.3.el6.x86_64. |=
 320 kB=C2=A0=C2=A0=C2=A0=C2=A0 00:00<br>----------------------------------=
----------------------------------------------<br>Total=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 927 kB/s |=C2=A0 29 MB=C2=A0=C2=A0=C2=A0=C2=A0 00:32<br>Running r=
pm_check_debug<br>Running Transaction Test<br><br><br></div><div style=3D"m=
argin-left:80px">Transaction Check Error:<br></div><div style=3D"margin-lef=
t:40px">=C2=A0 package kernel-2.6.32-573.el6.x86_64 (which is newer than ke=
rnel-2.6.32-504.30.3.el6.x86_64) is already installed<br></div><br></div><d=
iv class=3D"gmail_default" style=3D"font-family:verdana,sans-serif">How do =
I proceed from here?<br><br></div><div class=3D"gmail_default" style=3D"fon=
t-family:verdana,sans-serif">Thanks,<br></div><div class=3D"gmail_default" =
style=3D"font-family:verdana,sans-serif">John<br></div></div>
</blockquote></div><br></div>

--001a1134946caae33b051cb93fbb--