[LCGDM-162] build the afs modules for pnfs kernels (>2.6.38) in a SLC way Created: 01/Jul/11 Updated: 29/Jul/11 Resolved: 29/Jul/11 Status: Project: Component/s: Affects Version/s: Fix Version/s: Security Level: Closed LCGDM Development NFS None Type: Reporter: Resolution: Labels: Remaining Estimate: Time Spent: Original Estimate: Bug Ricardo Brito Da Rocha Fixed None Not Specified Milestone: NFS0.3 None Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines) Priority: Assignee: Votes: Major Ricardo Brito Da Rocha 0 Not Specified Not Specified Description We need to provide, in addition to the kernel rpms, also the additional modules that are required for external users to quickly try our service out. Namely... we need the AFS module. Comments Comment by Ricardo Brito Da Rocha [ 01/Jul/11 ] Current openafs version in SL5 (slc5-os repo) seems to be 1.4.12. http://linuxsoft.cern.ch/cern/updates/slc5X/x86_64/RPMS/ We should target this version for now. Comment by Ricardo Brito Da Rocha [ 01/Jul/11 ] Some possible instructions here: http://openafs-wiki.stanford.edu/AFSLore/RpmClientInstallationWithDKMS/ Tried: # wget http://dl.openafs.org/dl/openafs/1.4.12/openafsrepository-rhel-1.4.12-1.noarch.rpm # rpm -ivh openafs-repository-rhel-1.4.12-1.noarch.rpm which required: # vim /etc/yum.repos.d/openafs.repo ... baseurl=http://dl.openafs.org/dl/openafs/1.4.12/rhel5/$basearch/ ... but it complains 'missing dependency: openafs-kmod-common'. Comment by Ricardo Brito Da Rocha [ 14/Jul/11 ] Hard, hard... Right now it the option followed is to take the SLC5 src rpm, like: http://linuxsoft.cern.ch/cern/slc5X/updates/SRPMS/openafs-1.4.14-0.cern.src.rpm and try to rebuild it, but it requires not only the kernel-headers, but also the kernel source (kernel-devel). This is not trivial to generate from the standard kernel make rpm, and a first naive patch seems to fail to put all required files inside. Need to investigate better what is in the EL5 kernel spec file and try to do the same to get a similar kernel-devel rpm. Comment by Ricardo Brito Da Rocha [ 29/Jul/11 ] Done. Much simpler using the elrepo mainline kernel rpms as a base - needed to enable NFS4.1 and rebuild, but that's ok as it gives nice -devel and -headers rpms which then work to rebuild openafs from the src rpm. This need will go away after this request is fulfilled and we get NFS4.1 enabled in the elrepo kernel-ml package. The only issue is that version 1.4.14.x will not work with kernels >=2.6.38, so we had to move to 1.6.xpre releases (which seem to work fine). The whole procedure is [documented here|Dpm/Dev/Recipes/KernelAndPNFS]. Generated at Sun Mar 06 04:12:51 CET 2016 using JIRA 6.4.9#64024sha1:1f1084e06c9893c77549621edbccfecfaa68be5d.