[OpenAFS] kmod rpm versions?
John Hascall
john@iastate.edu
Fri, 7 Aug 2015 12:53:17 -0500
--001a113ce89e925e08051cbc4f59
Content-Type: text/plain; charset=UTF-8
Success!
So that this is documented should anyone else find themselves following
this path, I also seem to have needed to install these packages:
perl-devel
perl-ExtUtils-Embed
and the built modules ended up in the /root/rpmbuild/RPMS/x86_64 directory.
Thanks,
John
On Fri, Aug 7, 2015 at 10:02 AM, Stephan Wiesand <stephan.wiesand@desy.de>
wrote:
>
> > On 07 Aug 2015, at 16:04, 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?
>
> 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
>
>
--001a113ce89e925e08051cbc4f59
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:verdana,=
sans-serif">Success!<br><br>So that this is documented should anyone else f=
ind themselves following this path, I also seem to have needed to install t=
hese packages:<br><br></div><div class=3D"gmail_default" style=3D"font-fami=
ly:verdana,sans-serif;margin-left:40px">perl-devel<br></div><div class=3D"g=
mail_default" style=3D"font-family:verdana,sans-serif;margin-left:40px">per=
l-ExtUtils-Embed<br></div><div class=3D"gmail_default" style=3D"font-family=
:verdana,sans-serif"><br></div><div class=3D"gmail_default" style=3D"font-f=
amily:verdana,sans-serif">and the built modules ended up in the /root/rpmbu=
ild/RPMS/x86_64 directory.<br></div><div class=3D"gmail_default" style=3D"f=
ont-family:verdana,sans-serif"><br></div><div class=3D"gmail_default" style=
=3D"font-family:verdana,sans-serif">Thanks,<br></div><div class=3D"gmail_de=
fault" style=3D"font-family:verdana,sans-serif">John<br></div></div><div cl=
ass=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Aug 7, 2015 at 1=
0:02 AM, Stephan Wiesand <span dir=3D"ltr"><<a href=3D"mailto:stephan.wi=
esand@desy.de" target=3D"_blank">stephan.wiesand@desy.de</a>></span> wro=
te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
> On 07 Aug 2015, at 16:04, John Hascall <<a href=3D"mailto:john@iast=
ate.edu">john@iastate.edu</a>> wrote:<br>
><br>
> I am a BSD refugee who is new to AFS on RHEL, so please excuse this qu=
estion if it is dumb.<br>
><br>
> I installed a new RHEL6 box and the kernel version is:<br>
><br>
> 2.6.32-573.el6.x86_64<br>
><br>
> so the kmod rpm refuses to install:<br>
><br>
> (2/2): kmod-openafs-1.6.13-1.2.6.32_504.30.3.el6.x86_64. | 320 kB=C2=
=A0 =C2=A0 =C2=A000: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=A0927 kB/s |=C2=A0 29 MB=C2=A0 =C2=A0 =C2=A000:32<br>
> Running rpm_check_debug<br>
> Running Transaction Test<br>
><br>
><br>
> Transaction Check Error:<br>
>=C2=A0 =C2=A0package 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<br>
><br>
> How do I proceed from here?<br>
<br>
</span>The kernel module for the latest EL6 kernel hasn't been built ye=
t, presumably because that kernel is not yet available in the ordinary Cent=
OS updates channel.<br>
<br>
To build yourself, make sure these are installed (probably a bit more than =
you need):<br>
<br>
rpm-build<br>
make<br>
pam-devel<br>
gcc<br>
flex<br>
bison<br>
ncurses-devel<br>
perl<br>
redhat-rpm-config<br>
autoconf<br>
automake<br>
fuse-devel<br>
krb5-devel<br>
<br>
Then rebuild the srpm:<br>
<br>
rpmbuild --rebuild --define "build_modules 1" --define "kern=
vers 2.6.32-573.el6.x86_64" <a href=3D"http://www.openafs.org/dl/opena=
fs/1.6.13/openafs-1.6.13-1.src.rpm" rel=3D"noreferrer" target=3D"_blank">ht=
tp://www.openafs.org/dl/openafs/1.6.13/openafs-1.6.13-1.src.rpm</a><br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
- Stephan<br>
<br>
</font></span></blockquote></div><br></div>
--001a113ce89e925e08051cbc4f59--