[OpenAFS] kmod rpm versions?

2015-08-07 Thread John Hascall
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

Re: [OpenAFS] kmod rpm versions?

2015-08-07 Thread Brandon Allbery
On Fri, 2015-08-07 at 09:04 -0500, John Hascall wrote: I installed a new RHEL6 box and the kernel version is: 2.6.32-573.el6.x86_64 Prebuilt kernel modules aren't always available. If you install dkms-openafs instead of a kmod-openafs then the system will (try to) rebuild the kernel module

Re: [OpenAFS] kmod rpm versions?

2015-08-07 Thread Jason Edgecombe
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

Re: [OpenAFS] kmod rpm versions?

2015-08-07 Thread John Hascall
Thanks, I will give that a whirl. John On Fri, Aug 7, 2015 at 10:02 AM, Stephan Wiesand stephan.wies...@desy.de wrote: On 07 Aug 2015, at 16:04, John Hascall j...@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

Re: [OpenAFS] kmod rpm versions?

2015-08-07 Thread John Hascall
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

Re: [OpenAFS] kmod rpm versions?

2015-08-07 Thread Stephan Wiesand
On 07 Aug 2015, at 16:04, John Hascall j...@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):

Re: [OpenAFS] kmod rpm versions?

2015-08-07 Thread Jonathan Billings
On Fri, Aug 7, 2015 at 1:53 PM, John Hascall j...@iastate.edu wrote: and the built modules ended up in the /root/rpmbuild/RPMS/x86_64 directory. Just as a side note, you do not need to, and most likely should not build RPMs as root. They build fine as an unprivileged user. There have been