Difference between revisions of "BuildingCentOSXfsKernelModules"
m |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 23: | Line 23: | ||
scp -p /usr/src/redhat/RPMS/x86_64/*xfs*78.0.8*rpm ndpfmgr@stal:/project/quattor/www/html/mirror/nikhef/ | scp -p /usr/src/redhat/RPMS/x86_64/*xfs*78.0.8*rpm ndpfmgr@stal:/project/quattor/www/html/mirror/nikhef/ | ||
+ | or in reverse ''from'' stal: | ||
+ | |||
+ | scp -p root@hooikoorts:/usr/src/redhat/RPMS/i686/\*xfs\*78.0.8\*rpm . | ||
== i686 == | == i686 == | ||
Line 36: | Line 39: | ||
rpmbuild -ba --define 'kvariants "hugemem"' --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 | rpmbuild -ba --define 'kvariants "xenU"' --define 'kversion 2.6.9-78.0.8.EL' --target=i686 kmod-xfs.spec | ||
+ | |||
+ | and copy over to the repository: | ||
+ | |||
+ | scp -p /usr/src/redhat/RPMS/i686/*xfs*78.0.8*rpm ndpfmgr@stal:/project/quattor/www/html/mirror/nikhef/ | ||
+ | |||
+ | or in reverse ''from'' stal: | ||
+ | |||
+ | scp -p root@hooikist:/usr/src/redhat/RPMS/i686/\*xfs\*78.0.8\*rpm . | ||
+ | |||
+ | |||
+ | = The mvSatalinux kernel module for the Thumpers = | ||
+ | |||
+ | The Thumpers require the mvSatalinux kernel module. We have to build this module ourselves (x86_64 only!). | ||
+ | |||
+ | cd /usr/src/redhat/SPECS/ | ||
+ | |||
+ | Then edit the file mvSatalinux_3.6.3_2.spec and adjust the definition of kernel_type to match the new kernel, e.g.: | ||
+ | |||
+ | %define kernel_type 78.0.13.EL | ||
+ | |||
+ | Then build the rpm and copy it to the software repository: | ||
+ | rpmbuild -ba mvSatalinux_3.6.3_2.spec | ||
+ | scp ../RPMS/x86_64/mvSatalinux-2.6.9-78.0.13.ELsmp-3.6.3_2-1ndpf2.x86_64.rpm ndpfmgr@stal:www/html/mirror/nikhef/ |
Latest revision as of 13:31, 3 February 2009
The XFS Kernel Module for CentOS installation
The XFS kernel module (kmod-xfs) form the CentOS PLUS repository may sometimes be missing -- the plus part sometimes does not get built or is built later. We then have to build it ourselves like described below.
Please replace 78.0.8.EL with the actual kernel version you want, and build on a host with the proper architecture (although not necessarily the actual kernel version you're building towards).
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/
or in reverse from stal:
scp -p root@hooikoorts:/usr/src/redhat/RPMS/i686/\*xfs\*78.0.8\*rpm .
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
and copy over to the repository:
scp -p /usr/src/redhat/RPMS/i686/*xfs*78.0.8*rpm ndpfmgr@stal:/project/quattor/www/html/mirror/nikhef/
or in reverse from stal:
scp -p root@hooikist:/usr/src/redhat/RPMS/i686/\*xfs\*78.0.8\*rpm .
The mvSatalinux kernel module for the Thumpers
The Thumpers require the mvSatalinux kernel module. We have to build this module ourselves (x86_64 only!).
cd /usr/src/redhat/SPECS/
Then edit the file mvSatalinux_3.6.3_2.spec and adjust the definition of kernel_type to match the new kernel, e.g.:
%define kernel_type 78.0.13.EL
Then build the rpm and copy it to the software repository:
rpmbuild -ba mvSatalinux_3.6.3_2.spec scp ../RPMS/x86_64/mvSatalinux-2.6.9-78.0.13.ELsmp-3.6.3_2-1ndpf2.x86_64.rpm ndpfmgr@stal:www/html/mirror/nikhef/