BuildingCentOSXfsKernelModules
From PDP/Grid Wiki
Revision as of 10:20, 17 December 2008 by Davidg@nikhef.nl (talk | contribs)
The XFS Kernel Module
The XFS kernel module (kmod-xfs) form the CentOS PLUS repository may sometimes be missing -- the plus part
x86_64
rpm -i http://stal.nikhef.nl/centos/4.7/updates/x86_64/RPMS/kernel{-,-largesmp-,-xenU-,-smp-}devel-2.6.9-78.0.8.EL.x86_64.rpm rpm -i http://spiegel.nikhef.nl/mirror/centos/4.7/extras/SRPMS/xfs-kmod-0.4-1.el4.2.6.9_55.EL.src.rpm
and then
cd /usr/src/redhat/SPECS/ rpmbuild -ba --define 'kvariants ""' --define 'kversion 2.6.9-78.0.8.EL' --target=x86_64 kmod-xfs.spec rpmbuild -ba --define 'kvariants "smp"' --define 'kversion 2.6.9-78.0.8.EL' --target=x86_64 kmod-xfs.spec rpmbuild -ba --define 'kvariants "xenU"' --define 'kversion 2.6.9-78.0.8.EL' --target=x86_64 kmod-xfs.spec rpmbuild -ba --define 'kvariants "largesmp"' --define 'kversion 2.6.9-78.0.8.EL' --target=x86_64 kmod-xfs.spec
and copy over to the repository:
scp -p /usr/src/redhat/RPMS/x86_64/*xfs*78.0.8*rpm ndpfmgr@stal:/project/quattor/www/html/mirror/nikhef/
i686
rpm -i http://stal.nikhef.nl/centos/4.7/updates/i386/RPMS/kernel{-,-hugemem-,-xenU-,-smp-}devel-2.6.9-78.0.8.EL.i686.rpm rpm -i http://spiegel.nikhef.nl/mirror/centos/4.7/extras/SRPMS/xfs-kmod-0.4-1.el4.2.6.9_55.EL.src.rpm
and then
cd /usr/src/redhat/SPECS/ rpmbuild -ba --define 'kvariants ""' --define 'kversion 2.6.9-78.0.8.EL' --target=i686 kmod-xfs.spec rpmbuild -ba --define 'kvariants "smp"' --define 'kversion 2.6.9-78.0.8.EL' --target=i686 kmod-xfs.spec rpmbuild -ba --define 'kvariants "hugemem"' --define 'kversion 2.6.9-78.0.8.EL' --target=i686 kmod-xfs.spec rpmbuild -ba --define 'kvariants "xenU"' --define 'kversion 2.6.9-78.0.8.EL' --target=i686 kmod-xfs.spec